Skip to content

Git-Logs/Client

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Git Logs

Rewrite of the original Github webhook logger (Git Logs).


Supported Events

See here for a list of all events.

Please see here for a list of all supported events.

More coming soon


The Stack

  • bot -> the frontend bot that allows configuration of the webhook logger
  • webserver -> the webserver that hosts the webhook logger

Self Hosting

Database

Run the following in psql to create the database:

CREATE DATABASE github;
\c github
\i schema.sql

Compiling

Fill out bot/.env and webserver/.env (see the .env.sample files there)

  • Run make selfhost to build the bot.
  • Enter the webserver folder and run make to build the webserver.

Running

You should ideally make this 2 systemd services in production.

  • Run the bot with make run (in the bot folder).
  • Run the webserver with ./webserver (in the webserver folder).

Note that a 206 status code is returned if repo_url is not added to the webhook


License

This project is licensed under the MIT License

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Contributors 4

  •  
  •  
  •  
  •