Interactive CLI to scaffold fullstack Litestar projects with modular choices.
- Interactive prompts — guided setup with questionary
- Database support — PostgreSQL, MySQL, or SQLite via AdvancedAlchemy
- Memory stores — Redis or Valkey for caching / background tasks
- Plugin system — modular plugins that add functionality:
- AdvancedAlchemy — SQLAlchemy ORM integration with models, services, and dependencies
- Litestar SAQ — background task queue powered by SAQ (requires a memory store)
- Litestar Vite — frontend asset bundling with Vite
- Litestar Granian — high-performance Granian ASGI server
- Docker — optional Dockerfile and
docker-compose.infra.ymlfor local development - Post-generation setup — automatic
git init,uv sync, Docker infrastructure startup, and import sorting
- Python 3.13+
- uv (used for dependency management in generated projects)
uvx litestar-startOr install globally:
uv tool install litestar-startRun the CLI and follow the interactive prompts:
litestar-startYou will be asked to:
- Enter a project name
- Select a database (PostgreSQL, SQLite, MySQL, or None)
- Select a memory store (Redis, Valkey, or None)
- Choose plugins (based on your database/store choices)
- Configure Docker options
- Confirm and generate
The generated project includes a working Litestar application with your selected options pre-configured.
git clone https://github.com/Harshal6927/litestar-start.git
cd litestar-start
uv syncRun tests:
pytestRun linters:
make lintMIT