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
                    
if you are setting up this repo
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
                    
nuke :add-package hookspy --version 1.0.2
                    

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

  1. Sign up at hookspy.net
  2. Create an endpoint to get a unique webhook URL
  3. Generate an API key from your dashboard
  4. Point your webhook provider to your HookSpy URL
  5. Run the CLI to forward webhooks to localhost

How It Works

  1. Configure your webhook provider (Stripe, GitHub, etc.) to send webhooks to your HookSpy endpoint URL
  2. HookSpy captures and stores incoming webhooks
  3. Run the CLI on your development machine
  4. Webhooks are forwarded to your local server in real-time

License

MIT

Product 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.

Version Downloads Last Updated
1.0.2 97 1/12/2026
1.0.1 93 1/12/2026
1.0.0 95 1/12/2026