hookcatch
بواسطة hookcatch
Web & Frontend Developmentموجز
Test webhooks and expose local services using HookCatch - a developer-friendly webhook testing tool.
الوصف
ما الذي تفعله هذه المهارة
HookCatch is a CLI tool for creating webhook bins and exposing localhost ports via public tunnels. It captures and inspects incoming HTTP requests, making it practical for testing third-party webhook integrations without deploying code.
It combines webhook inspection and localhost tunneling in a single CLI with JSON output designed for script automation, avoiding the need to juggle separate tools for each task.
متى تستخدمها
- Capture Stripe payment webhook payloads during local development
- Expose a local API server to GitHub for push/PR event testing
- Inspect raw request bodies from Twilio SMS callbacks
- Replay a previously captured webhook to a different endpoint
- Filter and audit webhook traffic by HTTP method or timestamp
مثال على سير العمل
User asks: capture and inspect incoming Stripe webhooks locally
- 1
Run
hookcatch bin create --name "Stripe Test" --format jsonto get a public webhook URL - 2
Configure the returned URL as the webhook endpoint in the Stripe dashboard
- 3
Trigger a Stripe event (e.g., a test payment)
- 4
Run
hookcatch bin requests <binId> --format jsonto fetch captured payloads - 5
Parse the JSON output to extract event type and relevant fields
A list of captured Stripe webhook requests with full headers, body, and metadata available for inspection or further processing
المتطلبات
- HOOKCATCH_API_KEY environment variable
- HookCatch account (free tier available at hookcatch.dev)
- PLUS+ tier subscription for private bins and extended tunnel sessions
التثبيت
clawhub install hookcatch/hookcatchشغّل أمر واجهة سطر الأوامر، أو الصق النص في Claude Code أو Cursor أو Codex أو أي وكيل برمجة تستخدمه.