How nsnguyendev/mivis-public works
Project type and purpose
• This is a monorepo (managed by Turborepo + pnpm) containing multiple “apps” and shared “packages.”
• The flagship “assistant” app is a full-stack desktop application built with Tauri (Rust backend + SvelteKit frontend) that provides Vietnamese voice/text AI assistant features (STT → AI → TTS).
File structure
• Root: contains monorepo config (pnpm-workspace.yaml, turbo.json), lint/build configs, and high-level directories:
• /apps – consumer applications (assistant, docs site, web site)
• /packages – reusable modules (stt, tts, ui, configs)
• apps/assistant
• src-tauri/ – Tauri backend (Rust): IPC handlers, sidecar invocations, workflow logger
• src/ – SvelteKit frontend: UI components, routes, static assets
• packages/stt
• Python STT service (Whisper/PhoWhisper) run as a sidecar
• packages/tts
• Node-based client + Docker Compose for VietTTS service
• Other packages: shared UI components, TypeScript/ESLint configs
README for additional insights
• High-level flow: Voice/Text input → STT (Python sidecar) → xAI Grok (external API) → TTS (Docker service) → audio output/UI.
• External integrations planned: PC control (Node.js), web search (Tavily), Gmail/Discord/Spotify APIs.
• Target platform: Windows 11, uses Conda (Python), Docker, Rust, Node.js.
Elements
• Clear rectangular nodes for each component (UI, Backend, STT Sidecar, TTS Service, External API).
• Blue rectangles for in-process components (UI / Backend)
• Green for sidecars/services (STT, TTS)
• Orange for external systems (xAI API, future Gmail/Discord/Spotify)