Remix.run Logo
kayson 4 days ago

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

rahimnathwani 4 days ago | parent [-]

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.

crtasm 4 days ago | parent | next [-]

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

kayson 4 days ago | parent | prev | next [-]

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

subscribed 4 days ago | parent | prev | next [-]

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.

oulipo 4 days ago | parent | prev [-]

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

rahimnathwani 4 days ago | parent [-]

I didn't know what you meant by Capacitor, but I now understand it's a modern replacement for Apache Cordova: https://capacitorjs.com/

oulipo 4 days ago | parent [-]

Yes exactly, it's an easy way to build a web-based app and run it on iOS and Android, accessing the native API through a javascript bridge. There's also NativeScript in that space