Persist before ACK
Never returns HTTP 200 until the payload is safely committed to durable storage. Zero data loss, even if the process crashes immediately after.
A tiny self-hosted HTTP relay. Receive HTTP. Forward HTTP.
Make delivery reliable.
http://localhost:8080/ui/Designed to reliably handle webhooks and APIs from:
The Problem
Durable delivery shouldn't require a distributed systems degree.
The typical "reliable delivery" stack:
operational overhead
separate deployment
another dependency
Everything in one binary:
one binary · embedded storage
Ready to try it? Get started in about 2 minutes
Core Features
Never returns HTTP 200 until the payload is safely committed to durable storage. Zero data loss, even if the process crashes immediately after.
Automatic retry with exponential backoff and full jitter. Handles 429 Retry-After headers. Prevents thundering herd against your destination.
Bounded retries — never retry forever. Failed requests move to DLQ automatically. Replay individual or bulk deliveries anytime via Web UI, REST API, or relay dlq.
A full admin dashboard compiled directly into the binary via go:embed. Inspect payloads, view attempt logs, replay DLQ — no Node.js, no build pipeline.
go:embedPassword-protected admin session & CSRF safeArchitectural Comparison
In-memory SDK retries die when your app restarts. Message queues add massive operational burden. Simple Relay hits the sweet spot.
| Capabilities | In-App SDK Retries (Axios/Tenacity) | Redis + Celery/BullMQ (Heavy Queues) | Simple Relay Single Binary |
|---|---|---|---|
| Survives Crash / Deploy | Lost in memory | Durable | Commits to disk before ACK |
| External Infra Required | None | Redis + Workers + DB | Zero |
| Inbound Webhook Persist | No | Custom code required | HMAC verify or custom verify |
| Ultra-Fast Webhook ACK | Risk timeouts | Fast ACK | Low-latency ACK after persistence · Benchmarks |
| Dead Letter Queue & Replay | No | Requires setup | Built-in UI & Replay API |
| Client Abort Awareness | Hard to coordinate | Async disconnect blind | Immediate upstream cancel |
| Embedded Dashboard | No | Extra web container | Built-in UI |
Use Cases
Receive webhooks from Stripe, GitHub, Shopify — verify HMAC signatures, persist raw bytes, return 200 OK immediately. Deliver asynchronously via Worker Pool.
Proxy outbound calls to external APIs. Relay handles timeouts, 429 rate limits, and 5xx retries transparently. Sync and async modes — no retry code in your application.
Two HTTP calls. That's the entire learning curve.
curl -X POST \
http://localhost:8080/api/v1/webhook/stripe \
-H "Stripe-Signature: t=123,v1=abc..." \
-d '{"event": "payment.succeeded"}'Verified & committed to SQLite WAL before return. Delivered to internal app in background.
curl -X POST \
http://localhost:8080/api/v1/proxy/line-notify \
-H "X-Relay-Max-Retries: 5" \
-H "Idempotency-Key: req_98234" \
-d '{"message": "Order #4092 shipped"}'Transparent proxy with exponential backoff and jitter. Aborts upstream if client drops.
Simple Relay is fully self-hosted. Every payload, every retry log, every DLQ entry lives in your database on your infrastructure. Free and open source.