[HN Gopher] Show HN: A tool to send push notifications to your p...
___________________________________________________________________
Show HN: A tool to send push notifications to your phone, written
in Go
Author : binwiederhier
Score : 27 points
Date : 2021-12-28 16:55 UTC (6 hours ago)
(HTM) web link (github.com)
(TXT) w3m dump (github.com)
| vladharbuz wrote:
| I'm very curious if anyone knows of any software that does the
| opposite, i.e. running an arbitrary command on my computer when I
| tap a button on my phone.
| alvarlagerlof wrote:
| This would use FCM controlled by you, correct?
| binwiederhier wrote:
| Hey folks, I've been working on this for a couple of months. It's
| a tool and service that lets you send push notifications to your
| (Android) phone via simple PUT/POST requests, like so:
| curl -d "hi there" ntfy.sh/mytopic
|
| It's open source and easily self-hostable. It has tons of
| features (though I'm still working on many), and there's also an
| Android app.
|
| I'd love some feedback, and I'd love it even more if you started
| using it. I'm doing this for funsies, but I'm also running it as
| a real service/project, with uptime monitoring and all that.
| [deleted]
| mikecoles wrote:
| 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/
| karmanyaahm wrote:
| > It looks like you have integrated with firebase
|
| Unfortunately, Firebase requires Google services. UnifiedPush
| integration would be nice
| binwiederhier wrote:
| 1. 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) 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/
|
| [2] https://play.google.com/store/apps/details?id=io.heckel
| .ntfy
|
| [3] https://github.com/binwiederhier/ntfy/issues/9
| resonator wrote:
| I 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.
| binwiederhier wrote:
| Howdy, 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-ma...
|
| [2] https://ntfy.sh/docs/publish/
|
| [3] https://ntfy.sh/docs/subscribe/cli/
|
| [4] https://www.reddit.com/r/selfhosted/comments/qxlsm9/my_op
| en_...
___________________________________________________________________
(page generated 2021-12-28 23:01 UTC)