18 lines
384 B
Markdown
18 lines
384 B
Markdown
|
|
# sagaphone-backend
|
||
|
|
|
||
|
|
FastAPI backend for Sagaphone: generates the family tree, calls the Haiku API
|
||
|
|
for narration, streams Piper TTS audio to the frontend.
|
||
|
|
|
||
|
|
## Dev
|
||
|
|
|
||
|
|
```bash
|
||
|
|
uv sync
|
||
|
|
uv run uvicorn app.main:app --reload
|
||
|
|
uv run pytest
|
||
|
|
uv run ruff check .
|
||
|
|
uv run pyright
|
||
|
|
```
|
||
|
|
|
||
|
|
See `secrets.toml.example` for required config — copy to `secrets.toml`
|
||
|
|
(git-ignored) and fill in real values.
|