Webhook testing and debugging tool built with Cloudflare Durable Objects, demonstrating the power of edge computing with persistent SQLite storage and real-time WebSocket updates.
Webhookflare — Inspect Webhooks in Real Time
A webhook testing tool where each endpoint is a Durable Object with SQLite storage and live WebSocket updates.
About Webhookflare
Webhookflare generates unique webhook URLs for testing. Point a third-party service (Stripe, GitHub, Shopify) at your endpoint, and every incoming request appears in the browser in real time. You see the HTTP method, headers, body, query parameters, and Cloudflare geolocation metadata for each request.
Each webhook endpoint is its own Durable Object instance with a SQLite database that stores the 100 most recent requests. When a new request arrives, the Durable Object captures it, writes it to SQLite, and broadcasts it to all connected browser tabs over WebSockets. Open the same webhook in two tabs and both update simultaneously.
The frontend is a single HTML page using Alpine.js for reactivity and Shiki for syntax highlighting of JSON, XML, and HTML payloads. No build step required.
Frameworks & Technologies Used
- Backend: Cloudflare Workers with Durable Objects (one DO per webhook endpoint)
- Storage: SQLite in Durable Objects (persistent request history)
- Real-time: WebSockets (live request broadcasting)
- Frontend: Alpine.js, Tailwind CSS, Shiki (no-build SPA)
Why Cloudflare for This Project?
- Durable Objects with SQLite: Each webhook is a Durable Object with its own SQLite database. Request history persists across restarts and deploys. No external database to provision or connect.
- WebSocket Broadcasting: Durable Objects manage WebSocket connections natively. When a webhook receives a request, it broadcasts to all viewers with zero additional infrastructure.
- Edge-Native Capture: Webhook requests hit the nearest Cloudflare data center. The
request.cfobject provides geolocation (country, city, region) and network metadata automatically, enriching every captured request.