Telegram bot written in Bash+curl to send notifications
I have some cron jobs running and I want to be informed about the outcomes, changes and fails. Before this bot existed, I used Prowl to send notifications to my phone. Alternative or similar solutions I had a look at are ...
- Growl
- Pushover
- terminal-notifier
- alerter
- cocoaDialog
- Hammerspoon
- imessage
- libnotify | lnotify | linotify
- osascript -e "display ..."
But I wanted to have a solution that works on my computer and phone and doesn't require installing additional apps. And this is where Telegram comes into the game, because I'm on Telegram anyway the whole day.
This is a public repository but a private tool that I only share just in case someone needs a starting point. Get inspired and adapt the code to your needs. USE AT OWN RISK.