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

Open Source

38785 readers
136 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 💸💰.

all 9 comments
sorted by: hot top controversial new old
[–] [email protected] 3 points 2 years ago (1 children)

I have only discovered ntfy.sh a month ago and it's absolutely amazing. Does exactly what it says, it's amazingly easy to use. So far I've used it to get notifications from my Pi, a Jenkins server I'm running on a VM and to control a NodeMCU module at home. It's absolutely awesome, thank you so much!

[–] [email protected] 0 points 2 years ago (1 children)

Thank you for the kind words. I love hearing feedback like this. Tell your friends about ntfy, and if ou have concise examples to contribute to https://docs.ntfy.sh/examples/, that'd be awesome as well. Sound like you have some cool use cases there!

[–] [email protected] 1 points 2 years ago

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
[–] [email protected] 2 points 2 years ago (1 children)

Thank you so much for making this. When I get the time, I plan on using unifiedpush to do message notifications from lemmy, and allow subscribing to them with jerboa.

[–] [email protected] 1 points 2 years ago (1 children)

Sorry I just saw this. I chuckled a little bit when you said "when you get the time", given that you literally have a back lock as high as the Empire State building ;-)

I'm sure there are other volunteers who can help. I'll reach out to the Unified Push guys.

[–] [email protected] 2 points 2 years ago