LitePush Tester

End-to-end web-push dogfooding: subscribe → receive → click → unsubscribe.

Before you start

This page must be served from the exact https origin you registered as your project's domain (the server enforces the Origin on /v1/subscribe). localhost only works against a local API (wrangler dev); the hosted SDK always talks to api.litepush.dev, so for production testing deploy this to your registered domain (e.g. a *.pages.dev you set as the project origin). On iOS you must Add to Home Screen and open the installed app before subscribing.

1 · Configure

2 · Environment

3 · Actions

4 · Send yourself a test push

Once subscribed, trigger a broadcast from your server/terminal (the API key is secret — never put it in a browser). Replace lpk_live_… with your project's key:


        

It fans out via the queue — the notification should arrive within a few seconds. Tapping it fires a clicked event; dismissing fires dismissed (visible in your dashboard analytics).

Log