This project includes a Python script for monitoring the status of nodes and sending updates to a Telegram channel.
- Python 3.8+
pipfor installing packages
- Clone the repository:
git clone https://github.com/SecretSaturn/NodeWatcherTelegramBot
cd NodeWatcherTelegramBot
- Install required packages:
pip install aiohttp python-telegram-bot python-dotenv python-dateutil
- Create a
.envfile based on the.env.example:
cp .env.example .env
Then, edit .env with your actual configuration values.
- Create a
Nodelist.txtfile based on theNodeList.txt.example:
cp NodeList.txt.example NodeList.txt
Then, edit NodeList.txt with your actual node IPs.
To run the bot, use the following command:
python main.py
Make sure your .env file is correctly set up before running the script.
This project is licensed under the Apache 2.0 License.
Contributions are welcome. Please open an issue or submit a pull request.