go-webpush — notification demo

Self-hosted Web Push · no Firebase · GET /vapid/public-key is the only setup. This page registers a real browser subscription and sends a test push through this service.

1 · Subscribe this browser

Not subscribed yet.

2 · Send a test push

Register a subscription first.

Subscription

Copy the id — that is what POST /v1/send targets (or use user_ids / scopes).

API surface

EndpointPurpose
GET /vapid/public-keyVAPID key for pushManager.subscribe
POST /v1/subscriptionsRegister a subscription
GET /v1/subscriptionsList (?user_id=&scope=)
DELETE /v1/subscriptions/{id}Unregister
POST /v1/sendEncrypt + deliver (targets: ids / user_ids / scopes)
GET /api/statusService + store + subscription count

Full integration guide (backoffice, abandoned carts, other services): docs/webpush-usage.md. The service worker this demo uses is served at /sw.js — copy it into your app's origin.