Self-hosted notification relay
Every signalfrom your homelab.One feed.
Scripts, servers, CI jobs and AI agents send a single HTTP request. NERV keeps the feed, and pushes what matters to your phone.
Source code coming soon
01 — FLOW
From a one-liner to your lock screen.
01
Send
Any process with an App Key posts JSON to /api/v1/notify. curl, bash, Node, Python — or an agent following the integration guide.
02
Stream
Notifications land in a live feed. Filter by app, priority or tag, search everything, mark as read across devices in real time.
03
Push
NERV is a PWA. Add it to your home screen and get Web Push on iOS and Android — no app store, no third-party relay.
02 — API
One request. No SDK.
Bearer key, JSON body, clear errors. Every limit is documented, and the docs are written to be read by agents too.
$ curl -X POST https://nerv.example/api/v1/notify \
-H "Authorization: Bearer $NERV_KEY" \
-d '{"title":"Disk 91%","message":"pve-01","priority":4}'
// 201 Created
{ "id": "3f0c9e…", "createdAt": "2026-12-01T19:20:04Z" }
$ - message
- required · up to 4,096 chars
- title
- optional · defaults to the app name
- priority
- 1 silent → 5 critical
- format
- text or safe Markdown
- tags
- up to 10, to filter the feed
- url
- opened when the push is tapped
P1
logged, never pushed
P2
low
P3
normal
P4
needs attention
P5
critical · always pushed
03 — INTERFACE
A monitoring console, not an inbox.
Dark, dense, mobile first. A status bar with the last 24 hours, a live indicator, and priorities you can read from across the room.
uptime·1 min ago⚠ P5
nas.lan is DOWN
No response for 3 consecutive checks.
#nas#outage
proxmox·18 min ago⚠ P4
Disk usage 91% on pve-01
local-lvm is almost full. Consider pruning old snapshots.
#storage
backup·4 h ago
Nightly backup completed
42 GB copied in 12m04s. Next run at 03:00.
#backup
04 — FEATURES
Small surface. Sharp tools.
01
Live feed
Server-Sent Events over Postgres LISTEN/NOTIFY. Counters stay in sync across every open tab and device.
02
Burst control
More than five pushes a minute from one app collapse into a single summary. Critical ones always get through.
03
Per-app keys
One key per source, stored hashed, shown once. Rotate it and NERV tells you which scripts still use the old one.
04
Safe Markdown
Tables, code blocks, links. No raw HTML, and images are never loaded — nothing can track you through a notification.
05
Search & filters
Prefix full-text search, priority and tag filters, per-app views. Every filter lives in the URL.
06
Multi-user
Invite links, reset links, strict isolation between accounts. No SMTP server to run.
07
Retention
Keep 7 days or forever. A daily housekeeping job prunes the rest.
08
Bilingual
English and French, per user. Push summaries speak your language too.
05 — SECURITY
Exposed to the internet. Built like it.
- Hidden sign-in
- The login page only exists at a secret path. Everything else answers a bare 404 — there is no public auth endpoint at all.
- Brute-force guard
- Per-account and per-IP backoff, from 1 minute up to an hour, behind a proxy-aware client IP.
- Hashed secrets
- App keys and invite/reset tokens are random 256-bit values, stored as SHA-256 only.
- Isolation
- Every query is scoped to its owner. Admins manage accounts, never read other people's notifications.
- Sessions & devices
- Signing out or revoking a session removes that device's push subscription at the database level.
06 — SELF-HOSTED
Your server. Your data.
Next.js, Postgres and Docker Compose behind Traefik. No external service in the loop except the browser's own push network.
- Next.js
- PostgreSQL
- Drizzle
- better-auth
- Web Push
- Docker
- Traefik