How niccoxx/kde-ollama-gui works
Pastura is a native Linux Qt client for Ollama. The main workflow is choosing an installed model, composing a message (optionally with attachments), and receiving a streamed response; users can then manage saved conversations. The README also documents model-library and server-management features, plus appearance, language, and system-tray options. The implementation is a single large module, so distinct responsibilities share its path. Edges reflect documented behavior; the excerpts do not show most internal wiring.
Main entry points: pastura.py Chat Window
Components 19
Chat and History
- Chat Window
pastura.py - Message Composer
pastura.py - Attachments
pastura.py - Streaming Chat
pastura.py - Conversation Actions
pastura.py - Chat History
pastura.py - Chat Files
pastura.py
Models and Ollama
- Model Picker
pastura.py - Model Manager
pastura.py - Model Library
pastura.py - Ollama Client
pastura.py - Ollama Server
- Ollama Model Library
Preferences and Display
- Settings
pastura.py - Theme and Accent
pastura.py - Language
pastura.py
Desktop Integration
- Server Startup
pastura.py - System Tray
pastura.py
Other components
- User
Connections 23
- User → Chat Window: uses
README.md - Chat Window → Message Composer: composes in
README.md - Message Composer → Attachments: adds files
README.md - Chat Window → Streaming Chat: sends chat
README.md - Streaming Chat → Ollama Client: streams through
README.md - Ollama Client → Ollama Server: requests
README.md - Chat Window → Model Picker: selects model
README.md - Model Picker → Ollama Client: loads models
README.md - Chat Window → Conversation Actions: manages chats
README.md - Conversation Actions → Chat History: updates
README.md - Chat History → Chat Files: reads and writes
README.md - Chat Window → Model Manager: opens
README.md - Model Manager → Ollama Client: manages models
README.md - Model Manager → Model Library: browses
README.md - Model Library → Ollama Model Library: searches
README.md - Model Library → Ollama Client: downloads models
README.md - User → Settings: configures
README.md - Settings → Theme and Accent: sets appearance
README.md - Settings → Language: sets language
README.md - Settings → Ollama Client: configures server
README.md - User → Server Startup: starts server
README.md - Server Startup → Ollama Server: starts
README.md - User → System Tray: uses
README.md