Introduction
Bellcast is a self-hosted push notification server and client. Publish over HTTP, receive instantly on the web or in the desktop tray. Your Supabase, your key, no accounts.
What is Bellcast?
Bellcast is a single-tenant notification service you run yourself. One instance serves one owner: there are no accounts, no orgs, no billing and no third-party push provider. You publish a message to a topic with a plain HTTP request and every connected client receives it within about a second.
There is no hosted Bellcast service. You deploy the API and web app yourself, and the examples in these docs use https://your-instance.example.com as a placeholder for your deployment.
Messages are stored in your own Supabase Postgres database. The web UI, the desktop app and the API all talk to the same deployment, authenticated by a single API key.
How it works
- The web app and API run as one Next.js deployment (Vercel or any Node host).
- Messages are written to Postgres through a small set of API routes. Browsers never talk to Supabase directly and never receive a Supabase key.
- Clients hold an authenticated long-poll request open (
/api/v1/sync) and receive new messages as soon as they are published. - The desktop app is a Tauri client with its own bundled Slack-style UI. It talks to the API directly and raises native notifications while the window is hidden — it no longer loads your instance in a remote webview.
Features
- Plain HTTP publishing — curl, a cron job, CI, or any language.
- Titles, priorities, tags, click URLs and up to three action buttons.
- One API key, exchanged for an HttpOnly session cookie in the browser.
- Long-poll delivery with an incremental cursor; no websocket server to operate.
- Slack-style inbox with a channel sidebar, day dividers and hover actions.
- Light and dark themes, applied instantly and remembered per device.
- Multi-select messages and delete them in bulk with a confirmation step.
- Offline-first inbox: the web client keeps an IndexedDB cache.
- Desktop client with tray icon, autostart and native notifications.
- Automatic retention pruning through a daily Vercel cron.
What's new in 0.2.0
Version 0.2.0 is the Slack-style overhaul of the clients. It is a minor release: the schema and publish API are unchanged, but the web and desktop UIs were rebuilt.
- New app shell with a channel sidebar, top bar, message rows, composer, search and settings.
- Two themes (light and dark) with a switcher in the sidebar and on the sign-in screen.
- Message selection mode with select-all, bulk delete and a custom confirmation dialog.
- The desktop app now ships its own local UI instead of loading the remote web app, with background long-poll notifications and expanded native commands.
- The publish endpoint ignores browser-provided RFC 9218
Priorityheaders, so JSON bodies validate correctly when sent from a browser.
Requirements
- A Supabase project (free tier is fine) for Postgres.
- A host for the Next.js app — Vercel is the tested path, a Node server also works.
- Node.js 20+ and pnpm 9+ if you run or build it locally.
Ready? Follow the quickstart for a local instance, or self-hosting for a production deployment.