this post was submitted on 21 Jun 2023
11 points (100.0% liked)

Open Source

31095 readers
378 users here now

All about open source! Feel free to ask questions, and share news, and interesting stuff!

Useful Links

Rules

Related Communities

Community icon from opensource.org, but we are not affiliated with them.

founded 5 years ago
MODERATORS
 

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.

If you'd like to become a sponsor, I would be humbled to accept your donation via GitHub Sponsors or Liberapay 💸💰.

you are viewing a single comment's thread
view the rest of the comments

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