webfook
Forward webhooks to localhost
Webhooks receive requests and POST them to your local server behind the scenes, perfect for testing webhook workflows locally. Redirects send the browser to your local URL with a 302, useful for OAuth callbacks.
Install
npm install -g webfook Login
webfook login Create an endpoint
# Create a webhook
webfook create --forward=http://localhost:3000/webhook
# Or create a redirect
webfook create --forward=http://localhost:3000 --redirect Listen
webfook listen Other commands
# List endpoints
webfook list
# Delete endpoint
webfook delete <id>
# Help
webfook --help FAQ
- Is this a tunnel?
- It's a relay. Your client connects outbound to our server via WebSocket, and we forward requests through that connection. Same effect as a tunnel, but no port forwarding involved.
- Does this open ports on my machine?
- No. Your client initiates the connection outward. All traffic flows through that existing socket—no inbound ports, no firewall changes needed.
- How does it work?
- 1) Your client opens a WebSocket to our server. 2) Requests hit your public URL. 3) We forward them through the socket. 4) Your client POSTs to localhost.