this post was submitted on 01 Jul 2023
54 points (92.2% liked)

Selfhosted

40397 readers
647 users here now

A place to share alternatives to popular online services that can be self-hosted without giving up privacy or locking you into a service you don't control.

Rules:

  1. Be civil: we're here to support and learn from one another. Insults won't be tolerated. Flame wars are frowned upon.

  2. No spam posting.

  3. Posts have to be centered around self-hosting. There are other communities for discussing hardware or home computing. If it's not obvious why your post topic revolves around selfhosting, please include details to make it clear.

  4. Don't duplicate the full text of your blog or github here. Just post the link for folks to click.

  5. Submission headline should match the article title (don’t cherry-pick information from the title to fit your agenda).

  6. No trolling.

Resources:

Any issues on the community? Report it using the report flag.

Questions? DM the mods!

founded 2 years ago
MODERATORS
 

cross-posted from: https://discuss.ntfy.sh/post/30818

Hello friends πŸ‘‹, it's that time again. A new ntfy release has landed. This one is pretty cool!

For those who don't know, ntfy is a a tool that lets you send push notifications to your phone from any script or server using a simple HTTP PUT/POST requests. It's 100% open source and self-hostable, and has an Android app and a web app. You can use ntfy like this (more in the docs). This will send a notification to your phone:

curl -d "Backup on $(hostname) complete" ntfy.sh/mytopic

I host free and open version on ntfy.sh, but you can host your own of course.

πŸ”₯ What's new? With this release, the ntfy web app now contains a progressive web app (PWA) with Web Push support, which means you'll be able to install the ntfy web app on your desktop or phone similar to a native app (even on iOS! πŸ₯³). Installing the PWA gives ntfy web its own launcher, a standalone window, push notifications, and an app badge with the unread notification count. Note that this needs to be configured for selfhosted servers!

On top of that, this release also brings dark mode πŸ§›πŸŒ™ to the web app.

πŸ™ A huge thanks for this release goes to @nimbleghost, for basically implementing the Web Push / PWA and dark mode feature by himself. I'm really grateful for your contributions.

❀️ If you like ntfy, please consider sponsoring us via GitHub Sponsors or Liberapay, or buying a paid plan via the web app. Contrary to "popular" belief, I am not swimming in money due to the paid plans. 😬

Detailed release notes: https://docs.ntfy.sh/releases/

Other links:

Public topics:

you are viewing a single comment's thread
view the rest of the comments
[–] Heastes 2 points 1 year ago* (last edited 1 year ago)

It's a nice way to send notifications to your phone about all sorts of things. Due to the fact that it just needs a simple curl command to trigger a notification, it's incredibly flexible.

Haven't used ntfy, but since it's fairly similar to gotify, which I have run for a while, these might give you an idea:

  • uptime monitoring service like uptime kuma, so I get a notification to my phone when a service or server goes down
  • sonarr/radarr to notify me when a new episode of a TV show or movie gets grabbed
  • monitoring script that kept an eye on my disk-space on a fairly small VPS
  • octoprint to send low-priority notifications when a 3D print is finished and high-priority notifications when a print failed

Basically, if you have any services/scripts that just run silently in the background and do their thing, but you want to be notified when something specific happens, applications like ntfy or gotify come in pretty handy. And since all you need to trigger a notification is a simple curl command, it's easy to integrate with all sorts of stuff.

//edit: their website also has a list of integrations which might give you some ideas: https://docs.ntfy.sh/integrations/