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

Programming

29278 readers
92 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 6 comments
sorted by: hot top controversial new old
[–] andioop@piefed.social 2 points 1 day ago

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!

[–] bricked@feddit.org 21 points 2 days ago* (last edited 2 days 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 1 day ago* (last edited 1 day 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 3 points 2 days ago

+1 for ntfy.sh

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

I like to use gotify for things like this

[–] alanceil@feddit.org 1 points 2 days 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.