Hey folks,
ntfy (pronounce: notify) is a simple HTTP-based pub-sub notification service. You can use it to send push notifications to your phone via HTTP PUT/POST.
You can use it like this (see the docs for dozens more features):
curl -d "Backup successful" ntfy.sh/mytopic
Feel free to ask anything about ntfy here or on the Discord/Matrix.
- ntfy website: https://ntfy.sh/
- ntfy web app: https://ntfy.sh/app
- ntfy docs (all the things!!): https://ntfy.sh/docs
- GitHub (server): https://github.com/binwiederhier/ntfy (⭐ it if you like it)
- GitHub (Android): https://github.com/binwiederhier/ntfy-android
- GitHub (iOS): https://github.com/binwiederhier/ntfy-ios
- Google Play: https://play.google.com/store/apps/details?id=io.heckel.ntfy (⭐ it if you like it)
- F-Droid: https://f-droid.org/en/packages/io.heckel.ntfy/
- Discord: https://discord.com/invite/cT7ECsZj9w
- App Store: https://apps.apple.com/us/app/ntfy/id1625396347 (⭐ it if you like it)
- Matrix (main room): https://matrix.to/#/#ntfy:matrix.org
- Matrix (space): https://matrix.to/#/#ntfy-space:matrix.org
- Lemmy: https://discuss.ntfy.sh
If you’d like to become a sponsor, I would be humbled to accept your donation via GitHub Sponsors or Liberapay 💸💰.
I noticed it’s missing some Arduino examples, so I’ll look into adding some if you’d like.
This doesn’t exactly fit in your examples page, but here’s an one liner I used last night to notify me when the DNS changes I made to my domain have propagated:
while true; do ping -c 1 example.com | grep $IP && curl -d "DNS changes have propagated" https://ntfy.sh/mynotifications && break; sleep 1m; done
Very concise. Neat.