HeadlinesBriefing favicon HeadlinesBriefing.com

Self-hosted Web Push via Cloudflare Worker for iOS

Hacker News •
×

A push endpoint you own, in one Cloudflare Worker. Notifications shouldn't be buried in Telegram or Discord—shipping a native app is another option, but requires a server to maintain. Cloudflare Workers and a KV namespace eliminate hosting headaches. Your keys stay in your Worker, and payloads are encrypted to the device. No third-party dashboards. iOS has supported this natively since 18.4, with no App Store fees. Send pushes via HTTP calls from any agent, CI, or shell alias. Example:

bash

curl -X POST https://push.example.com/push/send -H 'authorization: Bearer $KUKUROO_SEND_TOKEN' -d '{"notification":{"title":"Task W13 finished","body":"W14 is unblocked","navigate":"https://push.example.com/"}}'

Setup takes under a minute: npx kukuroo init my-push deploys the Worker, generates keys, and provisions storage. Open the URL on your iPhone’s Safari, add to Home Screen, and tap the icon. 50 devices per send on Cloudflare’s free plan; $5/month scales to 10,000 devices.

Prerequisites: iOS 18.4+, Safari, and a Cloudflare account. Kukuroo integrates with existing Workers or runs standalone. No Docker or binaries required.