dschep / ntfy-webpush

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

Home Page:https://dschep.github.io/ntfy-webpush/

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

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_

About

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

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

License:MIT License


Languages

Language:JavaScript 51.5%Language:Python 43.3%Language:CSS 3.0%Language:HTML 2.1%