Quickstart
Run Bellcast locally in a few minutes, send your first notification, and open the inbox.
Install
git clone https://github.com/pawanhirumina/bellcast.git
cd bellcast
pnpm installConfigure
For local development you can skip Supabase entirely by using the file-backed store. Create apps/web/.env.local:
BELLCAST_DEV_STORE=1
BELLCAST_API_KEY=dev-keyWithout BELLCAST_DEV_STORE the app expects SUPABASE_URL, SUPABASE_SERVICE_ROLE_KEY and BELLCAST_API_KEY. See self-hosting for the full environment table.
Run
pnpm devOpen http://localhost:3000. Enter the API key when asked — for the dev store that is dev-key. You can also deep-link straight into a signed-in session with http://localhost:3000/connect#key=dev-key.
Send a message
Bellcast has no public notification server — the API lives in your own deployment. Examples below use https://your-instance.example.com; replace it with your own URL. While developing locally that is http://localhost:3000.
curl -X POST https://your-instance.example.com/api/v1/publish/alerts \
-H "X-API-Key: YOUR_API_KEY" \
-H "Title: Backup finished" \
-H "Priority: high" \
-d "All files were copied."The message appears in the inbox immediately. A JSON response confirms the stored message:
{
"message": {
"id": "5f4c…",
"seq": 1,
"topic": "alerts",
"title": "Backup finished",
"body": "All files were copied.",
"priority": 4,
"tags": [],
"created_at": "2026-01-01T12:00:00.000Z"
}
}Next steps
- Authentication — how the key and session cookie work.
- Publishing — every header and the JSON body format.
- Self-hosting — deploy your own instance.
- Desktop app — native notifications from the tray.