Meta - ae6rt/decap GitHub Wiki
Meta info
Where should I start to comprehend the decap source code?
Fundamentally, decap receives post-commit hooks from Git repositories and launches builds based on the hook payload information.
If you had to choose one function at the core of the decap onion and work your way out, it would be this one, the HooksHandler HTTP endpoint:
https://github.com/ae6rt/decap/blob/develop/web/resthandlers.go#L173