GitHub Commit Tracker (@GitHubCommitTrackerBot) is a Telegram bot that keeps you informed about the latest commits in your favorite repositories. Whether you're a developer, project manager, or tech enthusiast, this bot ensures you never miss a beat in your chosen GitHub project.
๐ Stay in the Loop with Real-time GitHub Commits! ๐
- Clone the repository:
git clone https://github.com/tkachenko0/GitHub-Commit-Tracker
- Create a virtal environment:
python3 -m venv venv
- Activate the virtual environment:
source venv/bin/activate
- Install the dependencies:
pip3 install -r requirements.txt
- Configure the properties in the
.properties
file:
TELEGRAM_TOKEN
from the BotFatherGITHUB_ACCESS_TOKEN
from GitHubDELAY_IN_SECONDS
is the time interval between each check expressed in seconds
At the end, the .properties
file should look something like this:
ACCESS_TOKEN=ghp_GGutsdfsfssadssaxcGxc8vojZUZ3qFFwN
DELAY_IN_SECONDS=3600
TELEGRAM_TOKEN=6313830165:AAEN-z0hJV8yoIiZdwwCnEuTKwzkzkORKbho
Run the bot:
python3 bot.py
Th the first step the bot will ask you the GitHub username of the user you want to track.
Then the bot will ask you the repository name.
At the end the bot will track the commits of the user in the repository and notify ech user when a new commit is made.
The organization of the project is as follows:
.
โโโ db.json # Dataset of the chat ids and the repositories to track
โโโ db.py # For the management of the dataset
โโโ .properties.py # For the storage of the private configuration properties
โโโ configs.py # For the management of the private configuration properties
โโโ requirments.txt # pip dependencies
โโโ tracker.py # For the retrieval of the commits information
โโโ bot.py # Bot implementation
This project is licensed under the MIT License.