logoalt Hacker News

rahimnathwanitoday at 3:57 PM4 repliesview on HN

Right, but if you use ntfy.sh you can get proper mobile push notifications (instead of keeping the app running and using long polling or websockets).

If you use the public version of ntfy.sh then you don't need to do anything to set this up. If you self-host, you need your own Firebase Cloud Messaging (FCM) account and (for iOS) your own Apple Developer account so you can use APN.


Replies

subscribedtoday at 6:21 PM

Publicly hosted version is nearly useless if you'd like to use it to send notifications from your tiny workers/scripts/processes in the big datacentres - I have a minuscule worker in CF that needs to send one notification once every few days, and I *ALWAYS* get a 429. Always.

So this is good maybe if you're using it to sent from your laptop to your phone.

crtasmtoday at 6:40 PM

Also the docs point out >Using Firebase is optional and only works if you modify and build your own Android .apk. For a self-hosted instance, it's easier to just not bother with FCM.

https://docs.ntfy.sh/config/#firebase-fcm

kaysontoday at 6:32 PM

Who cares? Battery consumption of Gotify is negligible (it uses websockets). Same with CPU/RAM. What's the benefit of giving Google your notifications?

oulipotoday at 4:05 PM

Personally I use FCM (Firebase push notifications) with a Capacitor plugin for push notifications, it works decently

show 1 reply