Home
Softono

Ntfy Webpush

Open source MIT JavaScript
14
Stars
3
Forks
5
Issues
1
Watchers
3 years
Last Commit

 About Ntfy Webpush

β˜οΈπŸ”” webpush notification support for ntfy

Platforms

Web Self-hosted

Languages

JavaScript

Need Help Installing Ntfy Webpush?

We provide expert installation service for this software. Our team will install, configure, and secure Ntfy Webpush on your server. plans start at just $30.

Ntfy Webpush

View on GitHub

ntfy-webpush

Brining webpush notifications to ntfy <https://github.com/dschep/ntfy>_.

.. image:: screenshot.png

Quick start


::

    sudo pip install ntfy-webpush
    ntfy-webpush

Then follow the directions.

Config Options
  • subscription_info - A PushSubscription <https://developer.mozilla.org/en-US/docs/Web/API/PushSubscription>_ Object
  • private_key - the path to private key file or anything else that works with pywebpush <https://github.com/web-push-libs/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