`minimal_chatbot` is a lightweight full-stack AI chat app. The backend talks to Ollama, while the frontend focuses on a clean chat experience with room for local-first experimentation.
I wanted a very small AI chat stack that I could understand completely from top to bottom. Instead of depending on a large hosted platform, this project is centered on local model access through Ollama and a UI that stays intentionally minimal.
- A FastAPI service for chat, health checks, and NDJSON streaming.
- A Svelte frontend with chat state management and message handling.
- Hooks for voice input and streamed model output.
- FastAPI backend exposing
`/chat`, `/stream`, and health routes.
- Ollama integration for local model inference.
- Svelte frontend with composables for chat and speech recognition.
- A login-aware interface flow instead of a bare textarea demo.
The most useful part of this project is how clearly it separates concerns. Model access, streaming, UI state, and input handling are all small enough to reason about independently, which makes it a good base for later experimentation.
The project keeps the architecture small on purpose. It is a good foundation for testing interface ideas around local model interaction.