Project
Building on the codebase? This page is for you. Shipping videos via the public API? Start at the Introduction.
.env or real API keys.manim-vid/
client/ # Next.js — UI, docs, settings, Better Auth, Prisma
main.py # FastAPI video worker (VPS)
worker.py # generation pipeline
prompts/ # live LLM prompts
remotion-src/ # Remotion compositions
schema/ # Pydantic models (VideoRequest, etc.)Web and worker are separate deploys. Vercel Root Directory = client. Python stays on a GPU/CPU box that can render.
cd client
bun install
cp .env.example .env
bunx prisma generate && bunx prisma db push
bun run devapp/docs/prisma/schema.prismaclient/DEPLOY.mduv sync
uv run uvicorn main:app --host 0.0.0.0 --port 8000
# client/.env → NEXT_PUBLIC_CHALKBOARD_API_URL=http://127.0.0.1:8000db push and mention it in the PR.