Webhook development CLI and hosted relay
Tofu
Tofu is a webhook development CLI for local testing.
Give Stripe, GitHub, Resend, and other providers one stable URL, then forward, inspect, watch, and replay every webhook from your terminal.
$ tofu login$ tofu hooks create stripe --name "Stripe"$ tofu hooks url stripe$ tofu targets set local "http://127.0.0.1:3000/api/webhooks/stripe" --hook stripe$ tofu watch stripe15:31:02 evt_01JABC POST received
15:31:03 local success 200 124ms
15:31:04 replay ready
Core workflow
Keep provider webhook settings still while your local setup moves.
Create one provider URL
Give Stripe, GitHub, Prodigi, Resend, or any provider a stable Tofu hook URL.
Point it at local code
Set a localhost target and change it whenever your app moves without touching the provider.
Watch delivery live
Keep `tofu watch` open for received events, target responses, timings, and failures.
Replay the exact request
Send the stored raw webhook body back through the same targets when you need another run.
What is Tofu?
A hosted webhook relay with a terminal-first workflow.
Tofu sits between webhook providers and your development environment. It accepts provider requests quickly, stores the raw event, forwards it to your chosen target, and lets you replay it after changing your handler.
Stable provider URLs
A hook keeps the public URL steady while your local target changes underneath.
Forward to local targets
Route incoming webhooks to localhost, tunnels, staging URLs, or another developer.
Watch live events
SSE-powered watch mode streams event and delivery updates straight into the CLI.
Replay deliveries
Retry the latest event or a specific stored event without asking the provider to send it again.
Shared workspace history
Hooks, targets, events, and deliveries live in the workspace so teammates inspect the same trail.
Raw body preservation
Tofu stores and forwards the original body bytes and signature headers for signed webhooks.
Free
£0/month
One workspace, 3 hooks, 500 events a month, 7 days of event retention, and manual replay.
Pro
Planned£10/month
More hooks, multiple targets, 50k events a month, 30 days of retention, manual replay, and live watch.
- Free plan for one workspace, 3 hooks, and manual replay.
- Pro adds higher limits, multiple targets, longer retention, and live watch.
- Team workspaces can come later without complicating the first hosted flow.
From first hook to replay