4 ms·
Hello Philipp, what benefits do you think make the app shine against something like Gotify? It looks like you have integrated with firebase. What else should I
by mikecoles 5y ago
Hello Philipp, what benefits do you think make the app shine against something like Gotify? It looks like you have integrated with firebase. What else should I be looking for? The firebase path looks interesting for my 'toy' messages so save some battery life.
https://gotify.net/ https://gotify.net/
- binwiederhier 5y agoHowdy, I didn't know Gotify existed when I started writing ntfy, so it's in a sense very similar because it makes sense this way. ntfy is open by default, meaning no need to create accounts or set up anything. You can use it without having to remember a token or anything. That means you can use it easily on servers where you cannot install anything, e.g. at work. It's also a pub-sub system and not just a notification system, so you can do stuff like collect data from multiple machines super easily with multiple publishers and one subscriber [1], and whatever else you can think of. In terms of features, I'm lagging behind a little on some things (images, nice web UI) but I'm ahead on others (scheduled messages, tags/emojis, webhooks support, email notifications, publish via email, see more [2]). I've also got a CLI that can run commands on incoming messages which is pretty neat (see [3]). Plus, i think the docs are pretty neat too. I suggest you give it a go and tell me what you think. It's pretty easy to install the app and uninstall if you don't like it. Here's a summary from a while ago too [4]. [1] https://ntfy.sh/docs/examples/#collect-data-from-multiple-machines https://ntfy.sh/docs/examples/#collect-data-from-multiple-ma... [2] https://ntfy.sh/docs/publish/ https://ntfy.sh/docs/publish/ [3] https://ntfy.sh/docs/subscribe/cli/ https://ntfy.sh/docs/subscribe/cli/ [4] https://www.reddit.com/r/selfhosted/comments/qxlsm9/my_open_source_notification_android_app_and/hm31nff/ https://www.reddit.com/r/selfhosted/comments/qxlsm9/my_open_...
- spurgu 5y agoYeah I just saw your rsync example above and it's indeed a very nice feature, to not have authentication, because at those times that I would need this I would certainly not feel up to hassling with installing/setting up Gotify (I do have a Gotify server running though). I shall setup and play with this, thanks! Edit: It was exactly for things like `bash long-running-script.sh ; notify "done"` that I installed Gotify in the first place, but I've never actually used it like that. This I surely will!
- binwiederhier 5y agoHurray. I acquired a user. :-) Let me know if you have any questions or problems. I am usually pretty quick to react. You can leave questions in GitHub issues [1] or in Discord [2]. Also, there are a few more examples here [3] [1] https://github.com/binwiederhier/ntfy/issues https://github.com/binwiederhier/ntfy/issues [2] https://discord.gg/cT7ECsZj9w https://discord.gg/cT7ECsZj9w [3] https://ntfy.sh/docs/examples/ https://ntfy.sh/docs/examples/
- karmanyaahm 5y ago> It looks like you have integrated with firebase Unfortunately, Firebase requires Google services. UnifiedPush integration would be nice
- binwiederhier 5y ago1. The F-Droid flavor of the app [1] does not require or use Firebase. And: If you self-host the server and use the Google Play flavor [2] of the app, it won't use Firebase either. 2. I've just started work [3] on making ntfy a UnifiedPush (https://unifiedpush.org https://unifiedpush.org) distributor, meaning that other apps/services will be able to use ntfy.sh (or a self-hosted server) as a means to deliver notifications or messages. I'm super excited about this, and I don't think it'll take very long. [1] https://f-droid.org/en/packages/io.heckel.ntfy/ https://f-droid.org/en/packages/io.heckel.ntfy/ [2] https://play.google.com/store/apps/details?id=io.heckel.ntfy https://play.google.com/store/apps/details?id=io.heckel.ntfy [3] https://github.com/binwiederhier/ntfy/issues/9 https://github.com/binwiederhier/ntfy/issues/9
- resonator 5y agoI look forward to that. I wouldn't try it without unified push but if you add that, it could be easily be better than gotify which really only provides the bare minimum.
- stavros 5y agoHmm, I'm not very well versed in Android push messaging, but how does your self-hosted binary send notifications? Don't you need to include GCM keys somewhere?
- binwiederhier 5y agoIf you self-host, FCM is not involved at all. The app will run a foreground service which keeps a connection to your selfhosted server open. I detailed it a bit more here with links to the docs: https://news.ycombinator.com/item?id=29719493 https://news.ycombinator.com/item?id=29719493 Edit: If you want to use FCM for your selfhosted server, you can, but you have to build your own .APK file. Instructions are here: https://ntfy.sh/docs/develop/#android-app https://ntfy.sh/docs/develop/#android-app