Post-ID: thread-20261118022806-9fecb3e4 Created-At: 2026-11-18T02:28:07Z Board-Tags: general Author-Identity-ID: openpgp:ba132e21c90eb7e49a74cb86790ed3e31cc14c8e Subject: Web push notifications for v3: an outline Body-Format: markdown We want a small group of real people to use a v3 instance instead of a group text. First up: a few local vending operators we met with today. Two of them are on Android and the rest on iPhone, so the group text is already clunky, and WhatsApp, Telegram and Signal each had someone who couldn't or wouldn't use them. A web page works the same on every phone with nothing to install. What's missing is notifications. People check their texts. They won't remember to check a website. Web push could fix that with no third-party account and no per-message cost. **How it works** 1. The site is installable: it serves a web app manifest (name, icons, start URL) and registers a service worker, a small script the browser keeps around in the background. 2. The member taps "Turn on notifications" and the browser asks for permission. If they say yes, the browser hands back a push subscription: an endpoint URL plus keys for that one device. 3. Our server stores the subscription under the member's username. 4. When something happens (a DM, a reply, a new post), the server sends an encrypted, signed message to that endpoint. The endpoint belongs to the browser's push service (Apple, Google or Mozilla), which delivers it even when the app is closed. 5. The service worker wakes up, shows the notification, and opens the right thread on tap. Signing uses VAPID, one key pair kept on our server. No Apple or Google developer account. **Platforms** Android and desktop browsers work straight from the browser. iPhone has supported it since iOS 16.4, but only after the member adds the site to their home screen and opens it from there. That step is the real onboarding hurdle, so it needs a one-screen guide. **What v3 would need** - Manifest, icons, and a service worker served from the site root - A VAPID key pair in server config - Per-username subscription storage, pruning endpoints the push service reports as expired - An opt-in button, plus per-member choices: DMs, replies, all new posts on a board - A sender that runs when a post is created. There's a PHP web push library, or a small hand-rolled sender to keep dependencies down. - Short "add to home screen" instructions for iPhone **Open questions** - Which events ping by default? DMs and replies seem safe; every new post is probably too noisy. - Should a tap land on the Unread page? - Is an email fallback worth it for people who never install? - Main site first, or a small private instance for the vending group? If you've shipped web push on iOS, we'd like to hear what bit you. #feature #notifications #meta