HNHacker News
TopNewBestAskShowJobs

saiday

31 karma · joined July 31, 2017

submissionscomments
saiday··on Self-hosted web push Cloudflare Worker, works on iOS
unfortunately, Declarative Web Push only supports WebKit, means Android cannot use it.
saiday··on Self-hosted web push Cloudflare Worker, works on iOS
Declarative Web Push messages are end-to-end encrypted natively, even Apple cannot see the content.
saiday··on Self-hosted web push Cloudflare Worker, works on iOS
agree ++
saiday··on Self-hosted web push Cloudflare Worker, works on iOS
Sending push notifications to iOS without relying on a native app has already become a mature option. Last year Apple extended the standard Web Push with Declarative Web Push, which finally makes the whole thing make sense. (It's handled natively by WebKit rather than driven by JavaScript, which improves push reliability and privacy, much like the native push notification model.)

Kukuroo uses Cloudflare Workers so that end devices can subscribe to push notifications and relay push requests to the Worker, which signs and delivers them. I personally found it genuinely useful and full of potential, so I open sourced it: kukuroo.cc

Requirements:

Safari on iOS and macOS only (though seriously, who receives push notifications on macOS?) The web page that receives the notifications has to be added to the Home Screen A Cloudflare account. Push notifications and lightweight serverless functions are a perfect match