tunnelhook
v0.1.3
Published
CLI tool for receiving and forwarding webhooks via TunnelHook
Maintainers
Readme
tunnelhook
A CLI tool for receiving and forwarding webhooks to your local development server.
Requirements
- Bun runtime (v1.0.0+)
Install
bun add -g tunnelhookUsage
Login
tunnelhook loginForward webhooks
tunnelhook <slug> --forward <url>For example:
tunnelhook stripe-dev --forward http://localhost:3000/webhookThis will:
- Create the endpoint
stripe-devif it doesn't exist - Register your machine as a listener
- Forward any incoming webhooks to
http://localhost:3000/webhook
Your webhook URL will be:
https://api.tunnelhook.com/hooks/stripe-devInteractive mode
tunnelhookOpens the full TUI with endpoint selection, machine setup, and live monitoring.
Options
--forward <url>-- Local URL to forward webhooks to--machine <name>-- Custom machine name (defaults to hostname)
Environment
TUNNELHOOK_SERVER_URL-- Override the server URL (defaults to production)
License
MIT
