webhook
Go server that exposes HTTP hooks and runs configured shell commands when a request matches a hook's rules.
webhook is a Go program that serves HTTP endpoints, called hooks, and runs a configured command when a request matches the rules for that hook. Adnan Hajdarevic maintains the project under the MIT license.
The server listens on a TCP port or a Unix domain socket, can serve https with a flag, and can run behind a reverse proxy or under systemd socket activation. The README gives a GitHub push example, where a hook runs a redeploy script on a staging server. Install routes named in the README include snap, apt and FreeBSD packages, prebuilt binaries from the GitHub releases, and a build from source.
Worth knowing
A hook without a trigger rule can be called by anyone who knows its endpoint, so the README points to the hook rules for restricting it. The README lists community-made Docker images, which the project does not publish itself.
Identity
- Status
- Active
- Maintainer
- Adnan Hajdarevic1
- Maintained by
- Individual1
- First release
- 20152
Rendering and deploy
Releases
Adoption
Sources
- 2026-10-31: links, Maintainer, Maintained by, Categories, Written in, License, License model, GitHub stars, Contributors, Install with, Runs as
github.com/adnanh/webhook - 2026-10-31: First release
github.com/adnanh/webhook/releases/tag/1.0.4 - 2026-10-31: Runtime
github.com/adnanh/webhook/blob/2.8.3/go.mod - 2026-10-31: Current major version, Last release
github.com/adnanh/webhook/releases/tag/2.8.3