An open API service indexing awesome lists of open source software.

https://github.com/dschep/ntfy-webpush

☁️🔔 webpush notification support for ntfy
https://github.com/dschep/ntfy-webpush

notification ntfy push-notifications webpush

Last synced: about 1 month ago
JSON representation

☁️🔔 webpush notification support for ntfy

Awesome Lists containing this project

README

        

``ntfy-webpush``
================

Brining webpush notifications to `ntfy `_.

.. image:: screenshot.png

Quick start
~~~~~~~~~~~

::

sudo pip install ntfy-webpush
ntfy-webpush

Then follow the directions.

Config Options
~~~~~~~~~~~~~~
- ``subscription_info`` - A `PushSubscription `_ Object
- ``private_key`` - the path to private key file or anything else that works with `pywebpush `_.

Example config:
~~~~~~~~~~~~~~~
.. code:: yaml

---
backends:
- ntfy_webpush
ntfy_webpush:
subscription_info:
endpoint: >-
https://updates.push.services.mozilla.com/wpush/v2/XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX
keys:
auth: xXXxXXxxxXXXXxxxXXxxXX
p256dh: >-
xXXxXXxxxXXXXxxxXXxxXxXXxXXxxxXXXXxxxXXxxXxXXxXXxxxXXXXxxxXXxxXxXXxXXxxxXXXXxxxXXxxXXXX
private_key: /home/user/.local/share/ntfy/private_key.pem

Video
~~~~~
Click the screenshot below for a video demonstrating ``ntfy-webpush`` on ChromeOS with Google Cloud
Shell.

|Video|_

.. |Video| image:: ./chromeos.png
.. _Video: https://raw.githubusercontent.com/dschep/ntfy-webpush/master/chromeos.webm