hookspy 1.0.2
dotnet tool install --global hookspy --version 1.0.2
This package contains a .NET tool you can call from the shell/command line.
dotnet new tool-manifest
dotnet tool install --local hookspy --version 1.0.2
This package contains a .NET tool you can call from the shell/command line.
#tool dotnet:?package=hookspy&version=1.0.2
The NuGet Team does not provide support for this client. Please contact its maintainers for support.
nuke :add-package hookspy --version 1.0.2
The NuGet Team does not provide support for this client. Please contact its maintainers for support.
HookSpy CLI
Forward webhooks from HookSpy.net to your local development server in real-time.
Stop deploying just to test webhooks! HookSpy captures webhooks from services like Stripe, GitHub, Twilio, and more, then forwards them directly to your localhost.
Features
- Real-time webhook forwarding via SignalR
- Works with any webhook provider (Stripe, GitHub, Shopify, Twilio, etc.)
- Preserves headers, body, and HTTP method
- Colorful CLI output showing request details
- Automatic reconnection on connection loss
Installation
dotnet tool install -g hookspy
Quick Start
hookspy -e <endpoint-slug> -t http://localhost:3000/webhook -k <api-key>
Usage
hookspy --endpoint <slug> --target <local-url> --api-key <your-api-key>
Example
# Forward webhooks to your local Express server
hookspy -e abc123 -t http://localhost:3000/webhooks -k hspy_xxxx
# Forward to ASP.NET Core app
hookspy -e my-endpoint -t https://localhost:5001/api/webhooks -k hspy_xxxx
Options
| Option | Alias | Description |
|---|---|---|
--endpoint |
-e |
Your HookSpy endpoint slug |
--target |
-t |
Local URL to forward webhooks to |
--api-key |
-k |
Your HookSpy API key |
--server |
-s |
HookSpy server URL (default: https://hookspy.net) |
Getting Started
- Sign up at hookspy.net
- Create an endpoint to get a unique webhook URL
- Generate an API key from your dashboard
- Point your webhook provider to your HookSpy URL
- Run the CLI to forward webhooks to localhost
How It Works
- Configure your webhook provider (Stripe, GitHub, etc.) to send webhooks to your HookSpy endpoint URL
- HookSpy captures and stores incoming webhooks
- Run the CLI on your development machine
- Webhooks are forwarded to your local server in real-time
License
MIT
| Product | Versions Compatible and additional computed target framework versions. |
|---|---|
| .NET | net9.0 is compatible. net9.0-android was computed. net9.0-browser was computed. net9.0-ios was computed. net9.0-maccatalyst was computed. net9.0-macos was computed. net9.0-tvos was computed. net9.0-windows was computed. net10.0 was computed. net10.0-android was computed. net10.0-browser was computed. net10.0-ios was computed. net10.0-maccatalyst was computed. net10.0-macos was computed. net10.0-tvos was computed. net10.0-windows was computed. |
Compatible target framework(s)
Included target framework(s) (in package)
Learn more about Target Frameworks and .NET Standard.
This package has no dependencies.