# BML Telegram Status Bot ## Alert BML Online/Down for maintanace on Telegram ## Getting started. ### Requirements `curl` `jq` `screen` - Install with whatever package manager you use. - Make SURE they are installed before continuing! ### Clone repo and Configure ``` git clone https://git.shihaam.dev/shihaam/bml-status-tg-bot.git cd bml-status-tg-bot chmod +x run-bml-status-tg-bot.sh cp env.sample .env ``` - Edit the contents of .env to your config (`nano .env`) ### Execute the script ``` ./run-bml-status-tg-bot.sh ``` - This will run the script inside a screen called "bml-status-tg-bot" - Access screen with `screen -R bml-status-tg-bot` ### Auto start - Add a cronjob at reboot `crontab -e` ``` @reboot /bin/bash /path/to/run-bml-status-tg-bot.sh ``` ## Bugs - [You tell me :)](https://git.shihaam.dev/shihaam/bml-status-tg-bot/issues/new)