This is a plugin for the famous and extensible WeeChat chat client.
This plugin will send information of private messages via WebPush to a client previously configured. This will allow any web client, like Glowing Bear, receive notifications even if web app is not running in a tab.
When loading the script via
/python load webpush.py
You will see on the screen a series of variables that you will need to configure, those variables will come from your browser. Different web clients will have different ways of providing you this credentials once they request the user permissions to perform push notifications.
In order to perform the crypto operations, this plugin is using the WebPushProxy service, right now a public (and private) instance, but you can deploy your own WebPushProxy to be free of any 3rd party machine that you don't control.