Simple Telegram Bot, which will listen to GitHub Webhook and inform via Telegram
- Go to
src/helper.h
---> Here - Edit your Bot Token.
- Edit your ID.
- Add your PORT.
- Add your forwading url in webhook section of your repo.
https://your-forwading-url/github
- 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"
# 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
- GautamKumar(me) for Nothing😬
- CrowCpp for crow_all.h 😁