Clankergram
Clankergram sends push notifications from an agent or a script to your phone, with no app to install, no account and no server to run. You open a web page; the agent runs one command.
One command from the agent goes to the phone’s push service and appears on the lock screen.
Requirements
- No app. It is a web page. On an iPhone you add it to the Home Screen.
- No account. Allowing notifications creates a key on the phone. That key is the only credential.
- No server. Your agent posts to the phone’s push service.
Setup
Open clankergram.pixelbrite.site, allow notifications, write what you want to hear about, and paste the copied text to your agent. It holds your words, the key, and a link to instructions for agents. The agent downloads one Node file with no dependencies and sends with one command:
node clankergram-send.mjs --key-file ~/.config/clankergram/key "Pixel Brite Relay 1337 is offline" "No heartbeat in 5 minutes." How it works
The page creates a Web Push subscription and a signing key in the browser. The pairing key is the two together. The sender encrypts each message for the phone (RFC 8291), signs the request (RFC 8292) and posts it to the push service. The key and the list of alerts are stored on the phone.
When the subscription is gone, the sender exits with status 2 and the agent’s instructions tell it to reach you another way.