Forum OpenACS Development: Announcement: NaviServer module for Web Push
On bitbucket  is a new Tcl-only module for NaviServer (requires current tip version from bitbucket and a OpenSSL 1.1.1) implementing Web Push using the W3C Push API, which enables sending of push messages to a client via a push service (e.g. Mozilla, Google). When the client (e.g. a mobile phone) is currently not reachable the message is stored for a specified time to live (TTL) until it can be delivered as a notification.
On  is a small demo application, which is as well included in the module package. The technical details are summarized on . Note, that the basic functionality of the demo could as well be implemented browser notification API. Web Push supports delivery of notifications triggered by an application server via
third-party push servers , even when the user is not online or browsing the pushing site.
The web push package is not (yet) integrated with the OpenACS notification package, but might be already useful in particular use cases. Some requirements of webpush are different to standard OpenACS notifications (subscriptions per device and not per user, potentially multiple subscriptions of a single user for one kind of information, etc.).
all the best