Notebook

SLUICE a self-hosted inbox for webhooks

Book · page
Book 3 · p. 47
Owner
Ines Okafor
Release
0.9.2 · 14 Oct 2026

No.1

Aim: catch every webhook, keep it, pass it on.

your service localhost:3000 upstream downstream 1 2 3 4 5 6
  1. 1webhooks come in herethe public URL
  2. 2screened at the doorHMAC-SHA256 verified;
    older than 5 min -> rejected
  3. 3Sluicethe gateone static binary, about 11 MB
  4. 4every delivery keptone SQLite file · 30 days by default
  5. 5passed on to my service-> localhost:8081 3000 I.O.
  6. 6sight glass = web UIport 8081 · search by path, header or body text
Fig. 1 — Sluice drawn as a sluice: longitudinal section through the channel. Not to scale.
  1. 1.1

    Observed: Sluice gives webhooks a public URL, stores every delivery, then forwards it to a local or internal service.

  2. 1.2

    One static binary, about 11 MB. Built for Linux, macOS and Windows, on amd64 and arm64 (table 2.2).

  3. 1.3

    Storage: a single SQLite file. Also to run: Redis Postgres a queue nothing I.O.

  4. 1.4

    No hosted service. No account. No telemetry.

  5. 1.5

    Origin, 2023: Ines Okafor started it after losing a weekend of payment webhooks.

1.6 Install, start, replay (printout, taped in)

$ curl -fsSL https://sluice.example/install.sh | sh$ sluice serve --forward http://localhost:3000$ sluice replay <delivery-id>

Resultto run it: one binary + one SQLite file

No.2

Readings, version 0.9.2

Table 2.1 — values as read (unit in its own column)

No.QuantityValueUnitConditions / remarks
2.1binary size~11MBone static binary
2.2throughput1,800deliveries/s2-vCPU VM; project’s own benchmark
2.3retry window, max72hfailed forwards; exponential backoff
2.4signature max age72 5minHMAC-SHA256; older ones rejected
2.5retention, default30dayschange with --retain
2.6web UI port8081—search by path, header, body text
2.7storage1SQLite fileno Redis, no Postgres, no queue
2.8contributors41—written in Go; MIT licence

Table 2.2 — builds

OS / archamd64arm64
Linux
macOS
Windows
  1. 2.9

    Each target: one static binary, about 11 MB.

  2. 2.10

    Observed absent: hosted service, account, telemetry.

  3. 2.11

    Released 14 Oct 2026 as 0.9.2. Licence: MIT.

No.3

One delivery, followed through time

signed 5 min arrival 72 h 30 d (a) (b) 1 2 3 4 5 6
  1. 1signature verifiedHMAC-SHA256
  2. 2too old: rejectedolder than 5 min
  3. 3forward failed, retriedgaps widen: exponential backoff
  4. 4retries stopat 72 h
  5. 5kept 30 daysby default · --retain
  6. 6still kept: replay any timesluice replay <delivery-id>
Fig. 3 — (a) at the door; (b) after it is stored. Axis (b) broken at the double stroke.
  1. 3.1

    At arrival: HMAC-SHA256 signature verified. Deliveries older than 5 min are rejected.

  2. 3.2

    Forwarded to the local or internal service. A failed forward is retried with exponential backoff, for up to 72 h.

  3. 3.3

    Any stored delivery can be replayed: sluice replay <delivery-id>.

  4. 3.4

    Kept 30 days by default (--retain to change). Found again in the web UI on port 8081, by path, header or body text.