?label=Discord&logo=discord&logoColor=white&color=5865F2)](https://discord.gg/M3wzFpGbzp)
Comic-book karaoke queue manager. Hosts spin up a room, guests scan a QR code and search for tracks, the crowd votes songs up the queue, and the host runs the night from a dedicated control booth.
- TanStack Start — React SSR framework with file-based routing
- TanStack Router + TanStack Query — type-safe routing and server-state management
- Supabase — PostgreSQL database with realtime subscriptions for live queue/vote sync
- Tailwind CSS v4 — styling
- dnd-kit — drag-and-drop queue reordering (host view)
- YouTube Data API v3 — song search
- Host creates a room → gets a host token, a 6-character join code, and a QR code
- Guests join via the code or QR → search YouTube for karaoke tracks → add to queue with their name
- Everyone votes; highest-voted pending song rises to the top
- Host manages playback from
/host/:code, drives the TV display at/display/:code
Create a .env file at the project root:
SUPABASE_URL=
SUPABASE_PUBLISHABLE_KEY=
SUPABASE_DB_PASSWORD=
YOUTUBE_API_KEY=npm install
npm run dev # starts on http://localhost:3000Migrations live in supabase/migrations/ and are the source of truth. supabase/schema.sql is kept as a reference snapshot only.
Requires Docker and the Supabase CLI.
npm run db:start # boot local Supabase stack
npm run db:reset # apply migrations from scratch
npm run db:lint # lint schema for issues
npm run db:test # reset + lint in one step
npm run db:stop # tear downnpx supabase link --project-ref <your-project-ref> -p "$SUPABASE_DB_PASSWORD"
npm run db:push:remote.github/workflows/supabase-db.yml— boots a local Supabase stack on every PR and main push, runsdb reset+db lint.github/workflows/supabase-db-deploy.yml— pushes migrations to hosted Supabase on merge; requires repository secretsSUPABASE_ACCESS_TOKEN,SUPABASE_PROJECT_REF,SUPABASE_DB_PASSWORD
npm run build
npm run previewThe published image is getcoral/kapow:
docker run -p 3000:3000 \
-e SUPABASE_URL=https://your-project.supabase.co \
-e SUPABASE_PUBLISHABLE_KEY=your-key \
-e YOUTUBE_API_KEY=your-key \
getcoral/kapow:latestOr build it yourself:
docker build -t kapow .Published automatically to getcoral/kapow on Docker Hub on every release via GitHub Actions.
npm run lint # Biome lint
npm run format # Biome format
npm run check # Biome lint + format together
npm test # Vitest| Route | Description |
|---|---|
/ |
Landing — create or join a room |
/room/:code |
Guest view — search songs, add to queue, vote |
/host/:code?token= |
Host control booth — manage queue, advance songs |
/display/:code |
TV display — now playing, full-screen comic mode |