A lightweight engine that executes custom commands, scripts, and forwards webhooks based on YAML rules when webhook requests arrive. Single binary, cross-platform, open source.
Everything you need to automate server-side workflows from webhook events.
/webhook/{filename} routes directly to a specific config for precise matching.eq ne contains regex.block prevents concurrency, always runs every time, cooldown for rate limiting.{{.body.ref}}, {{.header.X}}, and pass_args.{{.raw_body}} support.From automated deployments to service integration, HookRun turns webhook events into actions.
From HTTP request to action execution in four steps.
Purpose-built for webhook automation. Secure, lightweight, and fully under your control.
Purpose-built for webhook scenarios. See how HookRun stacks up.
| HookRun | adnanh/webhook | n8n | Huginn | |
|---|---|---|---|---|
| Deploy Size | ~3MB single file, zero deps | ~7MB single file, zero deps | Docker + SQLite / PostgreSQL | Docker + MySQL / PostgreSQL |
| Execution Policy | block / always / cooldown — 3 modes |
No concurrency control | Partial (retry / wait) | Scenario-based triggers |
| Hot Reload | Auto-watches directory, zero-config | -hotreload flag, single file |
Restart required | Restart required |
| Authentication | Token + HMAC + IP whitelist | Token + HMAC | Basic / Header / JWT / IP | Devise + OAuth |
| Routing | /webhook/{filename} targeted routing |
/hooks/{id} flat routing |
Workflow engine | Scenario graph (agent links) |
| Process Management | Built-in CLI daemon (start/stop/status) | Requires external systemd, etc. | Docker container management | Docker container management |
| Config Format | YAML (readable, comments supported) | JSON / YAML | Visual editor / JSON | JSON (agent config) |
| Relay | Built-in multi-target + dynamic registry + tag matching | No relay support | Requires HTTP node workflow | Manual scenario proxy |
| Retry | Built-in exponential backoff + jitter | No retry support | Retry on Fail node | Partial (scenario-level) |
| Health Check | Built-in /health endpoint |
No built-in endpoint | Has health check | Has health check |
| License | MIT, full freedom | MIT, full freedom | Fair-code (SUL), restrictions | MIT, full freedom |
From download to running webhook server in three steps.
More installation options (Docker, systemd, source build) and advanced usage → Full Quick Start Guide
HookRun is the right tool if you need a simple, reliable bridge between webhooks and server actions.
Common questions about HookRun.
/hooks/{id} routing.hookrun reload.Explore configuration parameters, CLI commands, deployment strategies, and more.
Browse Documentation