Simple webhook receiver program
https://codeberg.org/grisu48/weblug
|
||
---|---|---|
cmd/weblug | ||
test | ||
.gitignore | ||
go.mod | ||
go.sum | ||
LICENSE | ||
Makefile | ||
README.md | ||
weblug.service | ||
weblug.yaml |
weblug
Simple webhook receiver program. weblug
is is a configurable webhook receiver that allows users to define custom programs and script to be executed when a webhook is triggered.
The configuration happens via a simple yaml file.
weblug
supports multiple webhooks, limitations for concurrent web hooks to be executed, background execution and running webhooks as separate user (uid
/gid
). And all of this in a tidy, easy-to-use yaml file!
Usage
To use weblug
you need to define webooks in a yaml file. See weblug.yaml for an example configuration. Then run
./weblug YAML-FILE
This starts the webserver and listens for incoming webhooks.
Note: for custom uid
/gid
webhooks, the program needs to run as root.
Build
make # Build weblug
make static # Make a static binary