machhook

Tiny self-hosted webhook inbox over poche. Receive, inspect, replay. One machin binary.

GitHub Powered by poche grange (storage engine)

How it works

producer ──POST /v1/hooks──▶ machhook ──HTTP──▶ Poche ──Grange──▶ list / show / replay

Commands

machhook init
Create and expose the Poche hooks collection.
machhook serve
Accept POST /v1/hooks and persist in Poche.
machhook list
List captured hooks from Poche.
machhook show ID
Show one captured hook with full body.
machhook replay ID URL
Replay a hook body to a new destination.
machhook guide
Embedded mental model and operating loop.

Quick start

# Start poche first
poche init && poche serve 7700
# Configure and run machhook
export MACHHOOK_POCHE_URL=http://127.0.0.1:7700
export MACHHOOK_POCHE_TOKEN=<admin-token>
machhook init
machhook serve --port 8787
# Send a webhook
curl -X POST http://127.0.0.1:8787/v1/hooks -d '{"event":"test"}'
# Inspect
machhook list
machhook show <id>