How nsoro-allan/llamadesk works
llamaDesk is a Tauri desktop chat client for local Ollama models. The main workflow is composing a prompt, optionally attaching files, streaming a model reply, and saving the conversation locally. The frontend also manages model discovery, settings, rendering, and history; voice transcription is provided by the registered native STT plugin. The sampled frontend is one large module, so several responsibilities share its path. Other frontend details are represented from README capabilities rather than inspected source excerpts.
Main entry points: app.js Chat interface · lib.rs Tauri application
Components 13
Chat experience
- Chat interface
src/app.js - Attachment handling
src/app.js - Reply streaming
src/app.js - Reply rendering
src/app.js - Chat history
src/app.js - Browser local storage
Models and settings
- Model picker
src/app.js - Vision capability check
src/app.js - Chat settings
src/app.js
Desktop and voice
- Tauri application
src-tauri/src/lib.rs - Whisper STT plugin
Other components
- Desktop user
- Ollama service
Connections 16
- Desktop user → Chat interface: composes chat
README.md - Chat interface → Attachment handling: adds files
README.md - Chat interface → Reply streaming: sends prompt
src/app.js - Reply streaming → Ollama service: streams chat
src/app.js - Ollama service → Reply streaming: returns tokens
README.md - Reply streaming → Reply rendering: renders reply
README.md - Chat interface → Chat history: manages chats
README.md - Chat history → Browser local storage: persists chats
src/app.js - Model picker → Ollama service: lists models
src/app.js - Vision capability check → Ollama service: checks model
README.md - Chat settings → Browser local storage: stores preferences
README.md - Chat settings → Ollama service: configures address
README.md - Desktop user → Tauri application: uses desktop app
README.md - Chat interface → Whisper STT plugin: starts listening
src/app.js - Whisper STT plugin → Chat interface: delivers transcript
src/app.js - Tauri application → Whisper STT plugin: registers plugin
src-tauri/src/lib.rs