Events, delivered and acknowledged
Send it once. Know it landed.
Sendack takes one publish and delivers it everywhere it needs to go: live to browsers and apps, durably to your services, signed to webhooks, and as web push to people who are away. Every delivery acknowledged, in order, replayable.
Sign up free Read the quickstart
Free plan: 2 API keys and 5 webhooks, no card.
import { Sendack } from "@sendack/client";
// a key from the Keys page, kept on your server (never in a page)
const sendack = new Sendack("https://sendack.lunaor.com", { token: process.env.SENDACK_KEY });
// your team's topics are under t-your-team.
await sendack.publish("t-your-team.orders", "order-1", new TextEncoder().encode(JSON.stringify({ total: 42 })));
for await (const e of sendack.subscribe("t-your-team.orders")) console.log(e.id);How it fits
One publish, every delivery
You publish an event once, with an id that makes a retry safe. It lands at a position in its topic, an ordered and durable log, and Sendack delivers it from there to every kind of reader: live clients, your services, your customers' servers and people who are away.
What you get
Four deliveries, one product
Topics with positions
Every event lands in its topic at a position, in order and kept. Publishing is idempotent by an id you choose, so a retry is found, not delivered twice.
Live channels
WebSockets to browsers and apps that resume from the exact position a client last saw: no gaps, no repeats, even across server restarts.
Durable subscriptions
Pull with explicit acks; what isn't acked comes back with backoff, past a limit it goes to a dead-letter topic, and you can seek back and replay.
Signed webhooks
Deliveries to outside URLs, signed with HMAC-SHA256 in the webhook-signature headers, in order, at least once, retried, with a delivery log and redeliver.
Web push
Notifications to people's browsers when they're away (VAPID), by each person's preferences and quiet hours, quiet while their app is open.
Presence
Who is connected to a topic right now, on any server, plus client events and typing that are never stored.
Chat building blocks
Threads, reactions, read state per topic and per thread, and unread counts, on the same topics and the same delivery.
Retention per topic
Keep a topic's history for ever, for an age, or to its newest N events. Expired events are hidden from reads and swept.
Publish
Safe to retry, by design
Give each event an id. Publishing the same id with the same data again finds the first one instead of delivering a copy, so your publisher can retry after any failure without double-sending.
- An answer carries the event's position
- duplicate tells you it was already there
- Batches go through the same path
import { jsonBytes } from "@sendack/client";
export async function publish(sendack) {
// The id makes a retry safe: the same id with the same data is found, not delivered twice.
const first = await sendack.publish("orders", "order-1001", jsonBytes({ total: 42 }));
const retry = await sendack.publish("orders", "order-1001", jsonBytes({ total: 42 }));
console.log(first.pos, first.duplicate, retry.duplicate); // 7.0 false true
return [first, retry];
}Subscribe
Live, and exact after a drop
subscribe() follows a topic from now, and after a dropped connection resumes from the last position it saw. Positions come from the database's own commit order, so a resume is exact: nothing missed, nothing twice.
- Resume from any position, not a short window
- History by page from any point
- The same in TypeScript, Python and Rust
import { json } from "@sendack/client";
export async function subscribe(sendack) {
// Live from now; it resumes by itself after a drop, with no gap and no repeat.
for await (const ev of sendack.subscribe("orders")) {
console.log(ev.pos, ev.id, json(ev.data));
return ev; // a service keeps looping; this takes the first event and stops
}
}Webhooks
Deliveries your customers can verify
Each delivery carries webhook-id, webhook-timestamp and webhook-signature. The clients' verifyWebhook checks the signature against the raw body in constant time and refuses replays outside the tolerance.
- The same webhook-id on a retry: dedupe on it
- Retries from 1 s doubling to 60 s, honouring Retry-After
- Rotate a secret with an overlap; both verify
import { verifyWebhook } from "@sendack/client";
export async function createWebhook(sendack) {
// The secret (whsec_...) is answered once: keep it.
return sendack.createWebhook("orders-hook", "orders", "https://example.com/hooks/sendack");
}
// In your HTTP handler: the headers, and the body as raw bytes, exactly as they arrived.
export async function verifyDelivery(secret, headers, rawBody) {
const event = await verifyWebhook(secret, headers, rawBody); // throws WebhookVerificationError, with a .kind
console.log(event.topic, event.id, event.pos);
return event; // answer 2xx only now
}Measured, not promised
We publish what we've measured, and how
Sendack's numbers come from runs written up in its repository, each with the machine and the method, kill tests included. They ran on one machine with the clients beside the server, so they show Sendack's own cost, not a promise for your network.
Measured 30 November and 1 December 2026 on one 32-core machine shared by the clients, Sendack and its database. Across machines and regions is not measured yet; the full tables are in docs/measured.md.
Pricing
Start free. Pay when it's in production.
Free
For trying Sendack and small side projects.
- 3 people in the team
- 2 API keys
- Webhooks: 5
- Functions: 5
- Live sockets per person: 10
- History kept (days): 7
- Support: Community
Pro
For a product in production.
- 10 people in the team
- 10 API keys
- Webhooks: 25
- Functions: 20
- Live sockets per person: 50
- History kept (days): 30
- Support: Email, next business day
Team
For teams running several products on Sendack.
- 25 people in the team
- 25 API keys
- Webhooks: 100
- Functions: 50
- Live sockets per person: 50
- History kept (days): 90
- Support: Email, same business day
Prices in US dollars, billed monthly through Stripe. Every plan has every feature; the plan sets the limits. Compare plans.
Send your first event in five minutes
Sign up, make a key, and publish with the quickstart. The Free plan has every feature.