ntfy.sh | Push notifications to your phone or desktop via PUT/POST

https://ntfy.sh/

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 πŸ’ΈπŸ’°.

44 points · 15 comments · view on lemmy.world

15 Comments

Oozy@geddit.social · 4 pts · 3y (3 replies)

This is pretty cool! I'm wondering if I could use it to replace my local mail server with it. Currently I use my local mail server for ZFS alerts and backup notices.

binwiederhier@discuss.ntfy.sh · 1 pts · 3y (1 reply)

I used to use XMPP with a dedicated Google account, but when they discontinued XMPP support, ntfy was born. 😊 I tried some email tools for a while but that was never satisfactory..

There are so many things you can use it for, here are some examples: https://docs.ntfy.sh/examples/

It also integrates with everything under the sun since it's just HTTP: https://docs.ntfy.sh/integrations/

Oozy@geddit.social · 1 pts · 3y

I have set it up, very happy with it! Wish I knew earlier

conrad82@lemmy.world · 1 pts · 3y

What mail server software do you use, and was it difficult to set up?

I am considering setting up a local mail server for archiving old emails off the internet. But email sounds difficult..

Jamie@jamie.moe · 3 pts · 3y

Ntfy is great. I use it with my cron jobs to notify me of events. API is really simple on the receiving and sending side, you can even self host it.

agitated_judge@sh.itjust.works · 3 pts · 3y (2 replies)

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!

binwiederhier@discuss.ntfy.sh · 0 pts · 3y (1 reply)

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!

agitated_judge@sh.itjust.works · 1 pts · 3y

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
emc@kbin.social · 2 pts · 3y

Just installed a week ago. This service is awesome. Well-designed, versatile, and easy to use. Thank you for your hard work, binwiederhier.

4084@kbin.social · 2 pts · 3y

Thank you so much! I wanted to have something like this from a long time ago, will definetly give it a try

dessalines@lemmy.ml · 2 pts · 3y (2 replies)

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.

binwiederhier@discuss.ntfy.sh · 1 pts · 3y (1 reply)

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.

dessalines@lemmy.ml · 2 pts · 3y

No probs!

bolapara@lemmy.ml · 2 pts · 3y

Big fan of ntfy. I selfhost a server and use it for notifications for my monitoring solution and also just for general notifications of long running jobs and such. Good stuff!