Phoenix-rat / GitLogs-Public

Better Logging For github's Webhook System

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

GitLogs

Git Logs is a Simple Github Webhook logger for Discord

but wait you may be thinking "Doesn't discord already have a webhook thing for Github?"
Yes! But... It doesn't send everything that Github's Webhook gives. So this posts those cool things!

Setting Up

To set this project up Install Nodejs 16 and Git once you got those installed follow the steps under

  1. Edit example.env and fill in the details
  2. Run the commands below
git clone https://github.com/CattoLogs/GitLogs-Public
cd GitLogs-Public
npm i
node .
  1. Go to https://github.com/USERNAME/REPO_NAME/settings/hooks
  2. Add a New webhook and the URL should be http(s)://domain/ip.com/github
  3. Set a Secret (MAKE SURE ITS THE SAME AS IN THE .ENV)
  4. Click send me everything (or pick what you would like)

Then you should be done :D It should start sending the embeds :)

ToDo

  • Better Embeds
  • More Events
  • Console Logging
  • Whitelist/Blacklist events JSON file

About

Better Logging For github's Webhook System

License:MIT License


Languages

Language:JavaScript 99.1%Language:Shell 0.9%