3 ms·
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 li
by kayson 3mo 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/ https://gotify.net/
2. https://shoutrrr.nickfedor.com/v0.17.0/ https://shoutrrr.nickfedor.com/v0.17.0/
3. https://github.com/caronc/apprise https://github.com/caronc/apprise
- rahimnathwani 3mo agoRight, 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.
- oulipo 3mo agoPersonally I use FCM (Firebase push notifications) with a Capacitor plugin for push notifications, it works decently
- rahimnathwani 3mo agoI didn't know what you meant by Capacitor, but I now understand it's a modern replacement for Apache Cordova: https://capacitorjs.com/ https://capacitorjs.com/
- oulipo 3mo agoYes 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
- subscribed 3mo agoPublicly 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.
- kayson 3mo agoWho cares? Battery consumption of Gotify is negligible (it uses websockets). Same with CPU/RAM. What's the benefit of giving Google your notifications?
- crtasm 3mo agoAlso 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 https://docs.ntfy.sh/config/#firebase-fcm