A few months back, I was looking for the opposite. A way to bring notifications from my phone onto my laptop. I tend to usually keep my phone in a different room during the workday, and have to keep jumping in everytime I need something like a SMS 2FA or to just check if I have any new notifications. Whatsapp Web+TOTP take a lot of the pain away, but it would still be great to have a way to seamlessly get notifs from phone (Android if it makes building it easier) to laptop (Ideally cross-platform, but Linux). Any idea of any tools that do that?
If you do use the Google/apple push notifications, who pays the bill for those?
With Firebase, the reported battery consumption is 0% obviously. Without Firebase (i.e. with the instant delivery option) it varies depending on phone and usage. On my phone it is usually around 0-1%. Others that use it to deliver their Matrix chat messages have reported higher numbers up to 12% (though that is rare).
If you "allow background services" for the app, Android will kill it less often. Though some manufacturers are quite aggressive even with that option.
As for who pays the bills: The public server is run in EC2 ($25/month, though it could run on a much smaller instance), and the Apple developer license is $100/year. Other than that, there are no costs. Up until a month ago, i was carrying all the costs. I have recently started accepting donations, and now all the costs are carried by my awesome sponsors (see https://github.com/sponsors/binwiederhier)
More details:
https://ntfy.sh/docs/faq/#why-is-firebase-used
https://ntfy.sh/docs/faq/#how-much-battery-does-the-android-...
I just helped a friend connect his iPhone availability polling script to ntfy.sh so it could be run remotely and still notify him when the latest iPhone was available at a nearby Apple store. It worked wonderfully, and now my friend has a new iPhone!
Thanks for making and maintaining such an amazing tool!
Anyway, thank you ;-)
It's a a simple HTTP-based pub-sub notification service. It allows you to send notifications to your phone or desktop via scripts from any computer, entirely without signup or cost. It's also open source if you want to run your own.
You can use it like this (more in the docs: https://ntfy.sh/docs/):
It's 100% not-for-profit and always-just-for-fun.