Telegram bot to verify if a website is up or track an URL to be notified when it gets down.
A Telegram bot that verifies whether or not a website is up, tracks URLs and notifies when hosts have unreachable connections. https://t.me/Is_it_UPBot
cd /path/to/IsItUP/
IS_IT_UP_TOKEN
with your telegram token.
Read this great article and learn how to do it properly.
On bash:export IS_IT_UP_TOKEN=your_telegram_token
(Optional) Setup Firebase if you want to enable the track feature)
IS_IT_UP_FIREBASE_PRIVATE_KEY
,
IS_IT_UP_FIREBASE_CLIENT_EMAIL
and IS_IT_UP_FIREBASE_DATABASE_URL
with your firebase credentials (private key and client email are in the downloaded file)export [email protected]
Install node and npm
Download the dependencies
npm install
npm start
It can be done with IsItUP? bot or your own bot:
/verify https://telegram.org
or just
https://telegram.org
to verify whether a website is available or not
/track https://telegram.org
/track_delete
and then click at the URL you want to delete
/track_list
Every 5 minutes the bot will check the track list. The user will be notified when the status of an URL get changed(up->down, down->up).
You may as well invite the bot to a group
Call it by name and tell the domain you want to watch
@Is_it_UPBot https://telegram.org
PS: telegram.org is a sample (of course :D), type whatever you need.
git checkout -b my-new-feature
git commit -am 'Add some feature'
git push origin my-new-feature