Skip to content

It is a Simple Telegram Bot, which will listen to GitHub Webhook and inform via Telegram

License

Notifications You must be signed in to change notification settings

gautamajay52/GitHub-Webhook-Bot

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

GitHub-Webhook-Bot 🤖 Hits

Simple Telegram Bot, which will listen to GitHub Webhook and inform via Telegram

Setting Up Config ✍

  1. Go to src/helper.h ---> Here
  2. Edit your Bot Token.
  3. Edit your ID.
  4. Add your PORT.
  5. Add your forwading url in webhook section of your repo.
    https://your-forwading-url/github
  6. Set your webhook(Only if you wanted to receive /start command feedback)
    curl "https://api.telegram.org/bot<BOT_TOKEN>/setWebhook?url=https://your-forwading-url/telegram"

To Build and Run: 🏃‍♂

# cloning repo
git clone https://github.com/gautamajay52/GitHub-Webhook-Bot
cd GitHub-Webhook-Bot

# Installing Requirements
sudo apt-get install libboost-all-dev

# To Build
g++ src/main.cpp -lpthread -lboost_system -lz -o git.out

# To Run
./git.out

Easy 👌

Deploy

Credits: 🌎

About

It is a Simple Telegram Bot, which will listen to GitHub Webhook and inform via Telegram

Topics

Resources

License

Stars

Watchers

Forks