Local development¶
Run the FastAPI backend and the Vite dev server directly — best for editing the code.
Prerequisites¶
- Python 3.11+
- Node.js 20+ (CI verifies with Node.js 24)
yt-dlpffmpeg/ffprobe
Backend¶
cd backend
python3 -m venv .venv
source .venv/bin/activate
pip install -e ".[dev]"
CVN_DB_MIGRATE_ON_STARTUP=true uvicorn app.main:app --host 127.0.0.1 --port 8000
Frontend¶
cd frontend
npm install
VITE_API_BASE_URL=http://127.0.0.1:8000 npm run dev -- --host 127.0.0.1 --port 5173
Open the console¶
Health check¶
Turn on real downloads
The dev servers start with the worker off. To perform real transfers, set the worker flags and restart the backend — see Enable real downloads.
Next steps¶
- Walk through Your first channel backup.
- Review the Runtime flags you can set locally.
- Understand the Filesystem contract before pointing the app at a real archive.