A real-time baseball scoreboard web app built with SvelteKit and Supabase. Manage live game scores from a dashboard and broadcast them via a transparent OBS overlay.
- Dashboard — Control panel to manage home/away scores, balls, strikes, outs, and inning. Team names and colors are customizable.
- OBS Overlay — Transparent "score bug" overlay at
/obs/[token]that updates in real-time via Supabase Realtime. - Authentication — Email/password login and registration via Supabase Auth.
- Auto inning advance — Recording the 3rd out automatically advances the inning half and resets the count.
- Create a project at supabase.com.
- Run the SQL in
supabase/schema.sqlin the Supabase SQL editor to create thematchestable and RLS policies.
Copy .env.example to .env and fill in your Supabase credentials:
cp .env.example .envVITE_SUPABASE_URL=https://your-project.supabase.co
VITE_SUPABASE_ANON_KEY=your-anon-key
npm install
npm run dev| Route | Description |
|---|---|
/ |
Redirects to /dashboard (authenticated) or /login |
/login |
Login / register |
/dashboard |
Protected match control panel |
/obs/[token] |
Public transparent OBS overlay |
npm run build
npm run previewTo deploy, install a SvelteKit adapter for your target environment.