this post was submitted on 12 Nov 2026
19 points (100.0% liked)

Programming

29256 readers
283 users here now

Welcome to the main community in programming.dev! Feel free to post anything relating to programming here!

Cross posting is strongly encouraged in the instance. If you feel your post or another person's post makes sense in another community cross post into it.

Hope you enjoy the instance!

Rules

Rules

  • Follow the programming.dev instance rules
  • Keep content related to programming in some way
  • If you're posting long videos try to add in some form of tldr for those who don't want to watch videos

Wormhole

Follow the wormhole through a path of communities !webdev@programming.dev



founded 3 years ago
MODERATORS
 

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 :)

top 5 comments
sorted by: hot top controversial new old
[–] bricked@feddit.org 19 points 1 day ago* (last edited 1 day ago) (2 children)

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.

[–] threelonmusketeers@sh.itjust.works 2 points 9 hours ago* (last edited 8 hours ago)

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.

[–] thirdBreakfast@lemmy.world 2 points 21 hours ago

+1 for ntfy.sh

It's been reliable for my homelab notifications for a couple of years. I (voluntarily) give them money.

[–] gaylord_fartmaster@lemmy.world 2 points 22 hours ago

I like to use gotify for things like this

[–] alanceil@feddit.org 1 points 20 hours ago

If you're already going the messenger route, try Telegram. I use telegram-send to make a bot account send a message into its channel, and I follow that channel.