I can have a script trigger a notification to other people by typing in a Facebook Messenger group chat, but my phone won’t receive a push notification since I’ve already “read” the message when the script sends it.
Any ideas for tools which can trigger a push notification from a bash script?
FOSS solutions are of course preferred, but not critical :)
UnifiedPush lets you receive Android notifications from a server. Ntfy in particular lets you create URLs that receive notifications. You can post to that URL using the ntfy CLI, Curl or the programming language of your choice.
+1 for ntfy.sh
It’s been reliable for my homelab notifications for a couple of years. I (voluntarily) give them money.
Wow, ntfy seems pretty nifty!
It looks like the URLs are public, but for my use case, this isn’t critical. Thanks!
Edit: Wow, I can’t believe how simple this was to set up.
I was looking for this myself a few months ago and set it aside to work on other projects. So glad someone else asked and got answers!
I like to use gotify for things like this
If you’re already going the messenger route, try Telegram. I use
telegram-sendto make a bot account send a message into its channel, and I follow that channel.




