Hey folks, I made a simple HTTP based pub sub service that you can use to send notifications to your phone via PUT/POST, e.g. via curl like this:
curl -d "Backup failed" ntfy.sh/mytopic
It's open source and has an Android app too. Currently you can self-host the server. The Android app only supports "ntfy.sh" so far due to some Android limitations, but if you guys are interested I can add support for self-hosted servers too.
Glad you like the idea. I don't have an iPhone, so an iOS app would be a little tricky. If it takes off, I may consider it, or maybe someone will volunteer to make one. Wanna do it?
The Android app currently works with Firebase, so no polling, and based on topics, no unique user ID either (no tracking), but the ntfy.sh API also supports polling so that'd also work.
4 comments
[ 2.5 ms ] story [ 16.6 ms ] threadAndroid app: https://play.google.com/store/apps/details?id=io.heckel.ntfy
Server GitHub: https://github.com/binwiederhier/ntfy
Android app GitHub: https://github.com/binwiederhier/ntfy-android
Man can not live by Android alone.
I have thought about doing something similar based on simple polling --- the app just checks the server every X minutes by posting a unique user ID.
The Android app currently works with Firebase, so no polling, and based on topics, no unique user ID either (no tracking), but the ntfy.sh API also supports polling so that'd also work.
Lack of expertise in iOS development is the main reason why I haven't tackled this already.
But my comment still stands, a system that only works with Android is only half a solution.