Skip to content

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

License

Notifications You must be signed in to change notification settings

STD-DEEPANSHU/GitGram

Repository files navigation

ɢɪᴛɢʀᴀᴍ

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

ᴅᴇᴩʟᴏʏ ᴏɴ ɢɪᴛᴩᴏᴅ 🚀:

Gitpod ready-to-code

ᴛʀʏ ᴏɴ ɢɪᴛᴩᴏᴅ:

  1. Login to Gitpod.
  2. Open this in Gitpod.
  3. After workspace build, dependencies will be installed.
  4. Follow step 2 and 3 in Setup section.

ᴄʀᴇᴅɪᴛs 💖

ForTheBadge made-with-python

sᴜᴩᴩᴏʀᴛ 🎑



About

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

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published