Skip to content

dschep/ntfy-webpush

Repository files navigation

ntfy-webpush

Brining webpush notifications to ntfy.

image

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_