A Telegram Bot to notify you about your Github Repository Events
The easiest way to host this bot, deploy to Heroku, Change the app country to Europe (it will help to make the bot more stable).
- Add your bot to the chat where you want to send events
- Go to your GitHub Repository
- Then go to Repository Settings
- Click on Webhooks
- Then Create a new Webhook like the given pic below
- Payload Url = https://.herokuapp.com//
- Content Type = application/json
- Send me every events
- Then create a new webhook and everything's done you will receive an message from your bot in the chat that webhook successfuly added for your repo.
- Install all requirements,
pip3 install -r requirements.txt
- Copy
config.sample.py
, edit and save asconfig.py
- Run
python3 GitGram.py
- Login to Gitpod.
- Open this in Gitpod.
- After workspace build, dependencies will be installed.
- Follow step 2 and 3 in Setup section.