ntfy-webpush

Web-push support for ntfy


Keywords
notification, ntfy, push-notifications, webpush
License
MIT
Install
pip install ntfy-webpush==0.1.3

Documentation

ntfy-webpush

Brining webpush notifications to ntfy.

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:

---
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