Brining webpush notifications to ntfy.
sudo pip install ntfy-webpush ntfy-webpush
Then follow the directions.
subscription_info
- A PushSubscription Objectprivate_key
- the path to private key file or anything else that works with pywebpush.
---
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
Click the screenshot below for a video demonstrating ntfy-webpush
on ChromeOS with Google Cloud
Shell.