The GitHub Star Notifier is a Python module that checks for new stars in specified repositories on GitHub and sends notifications via Telegram when someone stars a repository. It utilizes the GitHub API to retrieve star information and the Telegram Bot API for sending messages.
- Monitors specified repositories for new stars.
- Sends Telegram notifications with someone stars a repository.
- Configurable to monitor multiple repositories simultaneously.
- Runs at a regular interval (every 1 minute by default) to check for new stars.
Clone this repository
git clone https://github.com/omkarcloud/bose-starter my-bose-project
Then change into that directory, install dependencies and open vscode:
cd my-bose-project
python -m pip install -r requirements.txt
code .
Before using the GitHub Star Notifier, you need to configure the following parameters:
REPOSITORIES
: A list of repositories you want to monitor (in the format'owner/repo'
).TELEGRAM_BOT_TOKEN
: The token for your Telegram bot.TELEGRAM_CHAT_ID
: The chat ID where you want to receive the notifications.
To use the GitHub Star Notifier, follow these steps:
- Open the
config.py
file. - Configure the necessary parameters mentioned in the Configuration section.
- Run the script by executing the following command:
python github_star_notifier.py
- The notifier will start monitoring the specified repositories and send Telegram messages whenever a new star is detected.
- You can adjust the interval between (1 minute by default) star checks by changing the wait time in
config.py
.
This project is licensed under the MIT License. See the LICENSE file for more information.