Ask HN: How to send mobile notifications through a script?
I'm looking to programmatically send notifications to my phone through a script. What's the best and easiest way to achieve this? Any insights or recommendations are highly appreciated!
4 comments
I find it easier to just use Slack for random notifications that I need, even if they have nothing to do with Slack itself. Just create a new Slack channel just for those notifications, use Slack API to send them out (simple curl is enough) and make sure all guilty parties subscribe to that channel. To make your phone go beeb boob boob add @channel to your notification message.
The good thing about Slack messages is that they already work on desktop, web browser, Android and iPhone. They're also free - you're not paying per message like you would with SMS.
The good thing about Slack messages is that they already work on desktop, web browser, Android and iPhone. They're also free - you're not paying per message like you would with SMS.
Firebase has a free tier with 10 SMS messages per day. Can use their API to send the messages. https://firebase.google.com/docs/auth/limits
I can recommend ntfy.sh - easy, no sign up required if you don’t mind that somebody might read your notifications if you choose an easy to guess name.
what desktop/server platform? what programming language? what smartphone os?