PyForge is sold only here, on the official py-forge.com website — beware of imitations.

Back to the catalog

HookSentry CLI

#python#cli#webhooks#stripe#shopify

Never lose a webhook while your app is down for a deploy.

$39 Commercial License
Or get every tool, current and future, for $99 with the All-Access Pass

After payment you get an email with your download link within a few minutes. The link is valid for 7 days.

Digital goods. If a tool doesn't work as described, we fix it or refund you — see Terms.

Not sure? Try the free MockForge sample first.

Key features

  • Stripe, GitHub, Shopify or generic HMAC verification
  • Delivery with exponential backoff and jitter; duplicates delivered once
  • Persistent failures go to a replayable dead-letter queue; routes.json serves several providers on one port

requirements.txt — no third-party packages needed

What's in the ZIP

  • README.md — up and running in under a minute
  • hooksentry.py — complete, readable source code
  • requirements.txt — no third-party packages needed
  • test_hooksentry.py — test suite included

Why PyForge: Ready-made tools with full source code.

More details

Never lose a webhook while your app is down for a deploy. HookSentry verifies signatures, stores each event in SQLite and answers 202 immediately. - Stripe, GitHub, Shopify or generic HMAC verification - Delivery with exponential backoff and jitter; duplicates delivered once - Persistent failures go to a replayable dead-letter queue; routes.json serves several providers on one port Runs with: Python 3, zero dependencies. Does not terminate TLS.

HookSentry CLIAPIs & Testing
Read the technical deep-diveDitching SaaS Webhook Proxies: Self-Hosting HookSentry CLI for Bulletproof Ingestion
hooksentry.pybashExample usage — hooksentry.py
# Accept Stripe webhooks, verify signatures, deliver to your app with retries
export STRIPE_WEBHOOK_SECRET="whsec_..."
python3 hooksentry.py serve --target http://127.0.0.1:5000/webhook \
    --provider stripe --secret-env STRIPE_WEBHOOK_SECRET

# After the fix: replay everything in the dead-letter queue
python3 hooksentry.py replay-dlq

Quick Start

Runs on Python 3.9 or newer with the standard library only. Nothing to pip install.

1 — Run it

python hooksentry.py --help

How agents & programs use it: It uses only the Python standard library, so scripts and AI agents can run it as a subprocess without extra installs.

Why developers buy from PyForge

  • Save hours: ready-made, tested tools. Skip writing, debugging and maintaining it yourself.
  • Ready in minutes: one file, drop it in your project and run it.
  • Mostly zero-dependency: no pip install chains, no supply-chain risk.
  • Full source code: readable, auditable, yours to modify.
  • Runs locally and offline: no account, no API key, no data leaves your machine.
  • Pay once, own it: no subscription.
  • Tested before release: every tool is checked before it goes on sale.

All-Access Pass

Get every PyForge tool with the All-Access Pass

49 tools today plus every future release, lifetime commercial license, one payment of $99.

This tool: $39 · All 49 tools: $99

See the All-Access Pass