Automatically check the health of avail-light nodes send the health status to the telegram bot
apt install screen
git clone https://github.com/Tnodes/Availgram.git
pip install python-telegram-bot
Edit telegram bot token using Botfather & your chatid at line 7 & 8
Lines 7 to 8 in e75eadf
Create a screen for the program to run in the background
screen -S avcheck
Then run
python check.py
CRTL + AD : close screen
To access the screen
screen -r avcheck
Contributions to the Availgram are welcome. Please ensure that your code adheres to the project's standards and submit a pull request for review.