Svelte
Backlinks (2)
1. Github: Ollama Voice Chess /roam/github/ollama_voice_chess/
Voice-controlled chess using Ollama.
https://github.com/abaj8494/ollama-voice-chess
Notes
Backend
the tech-stack used FastAPI on the back-end. usually I use Flask for everything, but the requirements of this project are asynchronous, real-time requests.
| Feature | FastAPI | Flask |
|---|---|---|
| Speed | Very fast (async, based on Starlette) | Slower (sync by default) |
| Async support | Native async/await | Requires extensions |
| Type hints | Required, powers validation | Optional |
| Auto docs | Built-in Swagger UI at /docs | Manual setup |
| Validation | Automatic via Pydantic | Manual or extensions |
| WebSockets | Built-in | Requires Flask-SocketIO |
Frontend
the front-end was refactored from one huge index.html file into a Svelte front-end served with Vite.