/GitGram

A Telegram Bot to notify you about your GitHub Repository Events on Telegram

Primary LanguagePythonGNU General Public License v3.0GPL-3.0

ɢɪᴛɢʀᴀᴍ

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).

Fill all the required variables on heroku, after that follow the steps -

  • 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.

ᴇxᴀᴍᴩʟᴇ ᴏғ ᴀɴ ᴡᴇʙʜᴏᴏᴋ 👇🏻:

ᴅᴇᴩʟᴏʏ ᴏɴ ᴠᴩs:

  • Install all requirements, pip3 install -r requirements.txt
  • Copy config.sample.py, edit and save as config.py
  • Run python3 GitGram.py

ᴄʀᴇᴅɪᴛs 💖

ForTheBadge made-with-python

sᴜᴩᴩᴏʀᴛ 🎑