rastrillo / aviso Public

Clone
git clone https://amadan.net/rastrillo/aviso

Plain git — no account needed to clone.

Download

Download this file

1// Package aviso is rastrillo's Web Push addon: the subscriptions a
2// signed-in person enrols from their browsers, the VAPID key that
3// signs for them, and a sender that moves an app's payload to those
4// devices through the browser vendors' push services.
5//
6// Two rulings bind everything here, both from rastrillo's addons
7// doctrine. The arrow points one way: aviso depends on rastrillo,
8// rastrillo never learns aviso exists. The app owns policy: aviso
9// moves bytes to devices a subject enrolled and never decides who
10// should be told what — recipient selection, payload meaning and the
11// service worker's lifecycle are the app's.
12//
13// Design: docs/superpowers/specs/2026-09-07-aviso-web-push-design.md.
14package aviso
15