logoalt Hacker News

Ntfy – open-source Push to Mobile

42 pointsby Fake4dtoday at 10:35 AM23 commentsview on HN

Comments

lone-cloudtoday at 3:09 PM

I'm a privacy focused self hoster and ntfy was not good enough for me so I created Prism with an optional Android app: https://git.lonecloud.dev/lone-cloud/prism

The difference: Your phone doesn't get notifications from your notification service directly, but from Mozilla which helps to hide your digital fingerprint of you using a separate notification provider like ntfy. Prism also allows Telegram or Signal to act as a notification distributor. In addition, I use Proton Mail which doesn't really allow custom notification services. Prism has a custom integration to work around that so your proton mail notifications don't have to touch google services.

show 1 reply
kaysontoday at 3:25 PM

I've been using Gotify [1] for a very long time and have been quite happy with it. Basically no impact on battery life. For devs - there are mature libraries like shoutrr [2] and apprise [3] that let you support multiple notification systems with no extra work.

1. https://gotify.net/

2. https://shoutrrr.nickfedor.com/v0.17.0/

3. https://github.com/caronc/apprise

show 1 reply
ozarkerDtoday at 2:43 PM

Been running ntfy in my homelab for several years. Always works great!

show 1 reply
jasonvorhetoday at 2:38 PM

Such a great, simple and reliable service. Using it for all sorts of things: nostr push notifications, link sharing between devices, grafana alert notifications.

KetoManx64today at 3:55 PM

Love this service!

I use it to send commands and URLs between my devices.

On Linux you can do `ntfy sub` and on android you can have Tasker react when a ntfy notification arrives based on its title and contents. So on just about all my devices I have a background script running that is subscribed to a "DeviceCommands" channel that checks if the Title of new messages contains the device hostname or not. If it does it triggers a script based on the contents of the body.

E.g.:

Title: Pixel8

Message: https://kagi.com

Will automatically send the URL to my browser.

Or:

Title: LivingRoomPC

Message: Shutdown

Will shut down the computer.

show 1 reply
deweytoday at 3:46 PM

Not Open Source but I’ve been using https://pushover.net/ for this use case since forever. The website still looks the same as on the day I signed up for it probably more than 10 years ago. Never had an issue and using that in all my scripts or cron jobs.

show 2 replies
Superbowl5889today at 2:49 PM

I wonder whats the difference between permisions do giant apps like whatsapp, instagram have for notification service.

cause they seem like perfectly integrated themselves into this, while ntfy has to pose itself as battery consuming application

I'm planning to using ntfy for notifications like bitwarden vault backups, if apps are updated.

show 3 replies
weinzierltoday at 3:01 PM

There used to be pushed.co which was free and pretty good but it seems to have disappeared completely. Does anyone know what happened to them?

heatmisertoday at 2:43 PM

nearly every MVP of mine adds Ntfy. Its too easy to not add.