#7070th of 110 in Backend and cloud templates
generative-ai-project-template
FastAPI and NiceGUI chat template using Ollama or LiteLLM cloud models
Run it:RackNerd ↗ (opens in a new tab)RepoCloud ↗ (opens in a new tab)Affiliate links, no effect on a rank.
- Stars
- 118
- License
- MIT
- Last commit
- Nov 2026
- Last release
- Nov 2026
- Language
- Python
114 on 28 Mar 2026118 on 21 Nov 2026
From GitHub's daily star counts.
Checked on GitHub.
Overview
A Python template with a FastAPI backend and a NiceGUI chat frontend. Models come from a local Ollama install or cloud providers through LiteLLM, configured with INFERENCE_* and EMBEDDINGS_* variables in .env. It includes a uv workspace, tests, Docker Compose, MkDocs documentation and GitHub release workflows.
Who it is for: Python developers who want a self-hosted chat app starter with Ollama
Strengths
- Switches between local Ollama and cloud providers through LiteLLM config
- Make targets cover install, run, test, Docker Compose and docs preview
- Compose stack runs backend, frontend and Ollama, with a CUDA variant
- Pre-commit hooks, Ruff, tests and release workflow are already set up
Weaknesses
- Chat only; README lists no RAG, agent or auth features
- Requires Make, Bash and uv; Windows support is not listed
- Full `make check` needs live LLM, Ollama and API services
- Pinned to Python 3.14.8, which may conflict with older dependencies
What it needs
- Python, Ollama, LiteLLM cloud providers, OpenAI, Hugging Face
- Needs uv, Make, Bash, Git, Ollama (local inference), Docker Compose 2.24+ (optional)
- GitHub template
- Docker
- env example file
What changed
From the release notes. No flag means the note does not say so, not that the upgrade is safe.
Also in Backend and cloud templates
See all 110| Rank | Project | Score |
|---|---|---|
| #68 | fastcrudAsync CRUD methods and auto-generated endpoints for FastAPI and SQLAlchemy 2.0 | 58 out of 100 |
| #69 | pyeve/evePython REST API framework on Flask with MongoDB support | 57 out of 100 |
| #71 | vercel/examplesVercel's collection of Next.js and edge example apps and reference solutions | 56 out of 100 |
| #72 | node-typescript-boilerplateFramework-free Node.js TypeScript starter with Vitest, ESLint and CI | 56 out of 100 |
| #73 | springcloudSpring Cloud microservice scaffold with RBAC, OAuth2 gateway and Nacos config | 55 out of 100 |