webhook (net/webhook) Updated: 3 weeks, 2 days ago Add to my watchlist

A lightweight incoming webhook server to run shell commands

webhook is a lightweight configurable tool written in Go, that allows you to easily create HTTP endpoints (hooks) on your server, which you can use to execute configured commands. You can also pass data from the HTTP request (such as headers, payload or query variables) to your commands. webhook also allows you to specify rules which have to be satisfied in order for the hook to be triggered.

Version: 2.8.2 License: MIT GitHub
Maintainers judaew
Categories net
Homepage https://github.com/adnanh/webhook
Platforms darwin freebsd linux
Variants -

"webhook" depends on

build (2)

Ports that depend on "webhook"

No ports


Port notes

A config must be created in
${prefix}/etc/webhook/hooks.json

An example config is
${prefix}/share/examples/webhook/hooks.json

Launch webhook as daemon with
sudo port load webhook
or
sudo launchctl load -w \
/Library/LaunchDaemons/org.macports.webhook.plist A startup item has been generated that will aid in starting webhook with launchd. It is disabled by default. Execute the following command to start it, and to cause it to launch at startup:

sudo port load webhook


Port Health:

Loading Port Health

Installations (30 days)

0

Requested Installations (30 days)

0