HookRun is a lightweight webhook action engine (~3MB single binary, zero deps) that executes custom commands and scripts based on YAML rules when webhook requests arrive. Token/HMAC/IP auth, hot reload, cross-platform. Open source under MIT.
Hi Product Hunt! š
HookRun started from a frustration I kept running into: I needed to automate simple actions when webhook events came in ā deploy on git push, restart a service on monitoring alert, trigger a script when CI finished ā but every existing tool felt like overkill.
n8n and Huginn are powerful, but they need Docker, a database, and a GB-level deployment for what's essentially "run this command when this event fires." adnanh/webhook is closer to what I wanted, but it lacked the things I actually needed in production: execution policies to prevent concurrent deploys, hot reload when editing config files, and built-in process management.
So I built HookRun.
The goal was simple: a webhook listener that's as easy to deploy as a single binary, but doesn't cut corners on security (Token + HMAC + IP whitelist) or reliability (concurrency control via block/always/cooldown policies). Everything runs from YAML files ā no database, no containers, no 50-page setup guide.
The most interesting part of the process was designing the execution policies. I noticed that a common pain point with webhook-driven deploys is "webhook storms" ā push 5 commits in a minute, trigger 5 deploys. The cooldown policy solved this elegantly: it lets you define a minimum interval between executions, which turned out to be the feature people use the most.
The whole thing is written in Go, compiles to a ~3MB binary, and runs on Linux, macOS, and Windows. MIT licensed, completely open source.
If you're managing servers and need a lightweight way to turn webhook events into actions, I'd love for you to try it out and let me know what you think. Feedback welcome!
š GitHub: https://github.com/bluvenr/hookrun
š Website: https://hookrun.virapi.com/
Report
No reviews yetBe the first to leave a review for HookRun