Skip to content

mitander/kapsel

Repository files navigation

kapsel

Warning

Kapsel is in a pre-release, alpha stage.

The API is unstable, features are incomplete, and breaking changes should be expected.

The Problem

Webhooks fail. When they do, they fail silently.

Network timeouts, server errors, and rate limits lead to lost events, out-of-sync data, and a complete lack of a verifiable audit trail. You're left with no record and, worse, no proof of delivery.

The Hook

Kapsel is a webhook reliability service for building guaranteed at-least-once delivery systems.

  • Zero Loss - Every webhook persisted before acknowledgment
  • Exactly Once Processing - Database-enforced idempotency
  • At-Least Once Delivery - Exponential backoff with circuit breakers
  • Cryptographic Proof - Merkle tree attestation with Ed25519 signatures

Development

This project uses Docker, cargo-make and nextest.

Read the Makefile for all avaliable tasks.

# Clone this repository
git clone https://github.com/mitander/kapsel
cd kapsel

# Optional: Install build tooling
cargo install cargo-make nextest

# Run tests (requires docker test database)
cargo make db-start
cargo make test

Documentation

License

Licensed under the Apache License, Version 2.0

About

A webhook reliability service for building guaranteed at-least-once delivery systems.

Resources

License

Stars

1 star

Watchers

0 watching

Forks

Releases

No releases published

Packages

 
 
 

Contributors