Version 0.9.2 · released 14 October 2026 · Go · MIT licence
Abstract. Sluice gives you a public URL for webhooks, stores every delivery, and forwards it to your local or internal service. It is one static binary of about 11 MB (§2.1) and keeps its state in a single SQLite file (§2.2). We follow one delivery along one time axis, T being the moment it arrives. At the door its HMAC-SHA256 signature is verified, and anything older than 5 minutes is turned away (§3). At T it is stored and forwarded (§4). A failed forward is retried with exponential backoff for up to 72 hours (§5). For 30 days by default it can be searched and replayed (§6). The project’s own benchmark records 1,800 deliveries per second on a 2-vCPU VM [2]. No hosted service, no account, no telemetry.
A weekend of payment webhooks: lost. A self-hosted inbox for webhooks: started.
In 2023 Ines Okafor lost a weekend of payment webhooks and started Sluice1. The current version, 0.9.2, was released2 on 14 October 2026; 41 contributors have worked on it, in Go, under the MIT licence [1].
The job description is three clauses long. Sluice gives you a public URL for webhooks; it stores every delivery; it forwards each one to your local or internal service. Nothing is hosted for you, there is no account to open and there is no telemetry to switch off (§8).
1.1Notation and plan
We write T for the moment a delivery reaches its public URL and put every event on one axis relative to it: minutes before, hours after, days after. Figure 3 draws that axis end to end; Table 2 keeps it as a log, one event code per line. Section 2 covers the time before T, when Sluice is installed and started; §3 the signature check at the door; §4 the moment of arrival; §5 retries; §6 search, replay and retention; §7 the whole watch at once; §8 availability.
2Before T: installing and starting
Before the first delivery there are two commands to run, both in Listing 1. The first fetches the installer and runs it [3]; the second starts Sluice and names the service that deliveries are forwarded to.
1curl -fsSL https://sluice.example/install.sh | sh
2sluice serve --forward http://localhost:3000
Listing 1. Install, then start. Line 2 forwards every delivery to a service at http://localhost:3000.
2.1One binary
What arrives is one static binary of about 11 MB3. It is built for Linux, macOS and Windows, each on amd64 and arm64 (Table 1).
2.2One file
Storage is a single SQLite file. There is no Redis, no Postgres and no queue to run, so the list of things to keep alive before T has exactly one line on it4.
1
2Ines Okafor
3T − 5 min to T: the door
A delivery gets in only if both halves of Eq. (1) hold: its HMAC-SHA256 signature verifies, and it is no more than 5 minutes old when it reaches the URL.
Anything older is rejected, whatever its signature says (Fig. 1). Of the whole axis in Fig. 3, this is the only interval that lies before T; everything after it happens to a delivery that has already been let in.
4At T: stored, then forwarded
At T the delivery is stored — every delivery is, whether or not the forward succeeds — and it is forwarded to the address given with --forward. In Listing 1 that is http://localhost:3000; it may be any local or internal service.
How many per second? The project’s own benchmark records 1,800 deliveries per second on a 2-vCPU VM [2]. It is quoted here as reported, and the line for an independent figure is left blank5.
5T to T + 72 h: retries
If the forward fails, Sluice tries again, with exponential backoff, for up to 72 hours. Each wait is longer than the one before it, and the last retry falls no later than the bound in Eq. (2).
tk ≤ T + 72 h for every retryk(2)
The ceiling is the fact on record; the individual intervals are not stated, so Fig. 2 draws them schematically rather than to scale. After the last retry the delivery is still stored, and §6.2 applies.
6T to T + 30 d: search, replay, retention
6.1Search
The web UI runs on port 8081. Deliveries can be searched by path, by header or by body text, for as long as they are kept (§6.3).
6.2Replay
Any stored delivery can be sent again with the command in Listing 2.
1sluice replay <delivery-id>
Listing 2. Replay one stored delivery by its id.
Because replay works on whatever is stored, its window is the retention period6 of §6.3.
6.3Retention
Deliveries are kept for 30 days by default, Eq. (3). The --retain flag changes that number, and the right-hand end of the axis in Fig. 3 moves with it.
tdel = T + r, r = 30 d unless set with --retain(3)
Sluice: a self-hosted inbox for webhooks3
7The whole watch
Laid end to end, the events of §§3–6 fit on one axis (Fig. 3). Minutes and days do not share a linear scale, so the axis is logarithmic away from T and linear within a minute of it. Table 2 gives the same watch as a log.
Figure 3. The life of one delivery, from T − 5 min to T + 30 d, on a symmetric-log axis. Black: the freshness window of Eq. (1), hatched where a delivery is too old; dot: arrival at T (§4); open circles: retries, schematic, capped by Eq. (2); grey band: the stored delivery, searchable and replayable (§6) until Eq. (3) removes it. Red marks the three limits.
Table 2. The watch kept on one delivery. Times are relative to arrival, T.
Sluice is written in Go and released under the MIT licence; version 0.9.2 is current [1]. It installs with line 1 of Listing 1[3] and is self-hosted throughout: there is no hosted service, no account and no telemetry.
Acknowledgements. Crew on the books at 0.9.2: 41 contributors.
References
[1]Sluice, version 0.9.2. Released 14 October 2026. Written in Go; MIT licence; 41 contributors.
[2]Sluice project. Own benchmark: 1,800 deliveries per second on a 2-vCPU VM.