How s0udiz/aimagery works
Project type and purpose
• This is a desktop application built with Tauri (Rust) for the backend and a Svelte/Vite-powered frontend.
• Its purpose is to let users generate and view images by invoking models hosted on Replicate.com.
File-structure snapshot and architectural clues
• Top-level:
• src/ → Svelte application (app.html, app.css), component library (src/lib), page routes (src/routes), context stores
• schemas/, components.json, llms-small.txt → JSON schemas and static configuration for models
• vite.config.js, svelte.config.js, tsconfig.json → build and type-checking setup
• Key patterns:
• Component-driven UI in Svelte (src/lib/components/ui)
• IPC boundary between frontend and Rust via tauri.invoke calls
• External HTTP integration with Replicate via Rust