mnovak 1ccae752d7
ci / check (pull_request) Has been cancelled
[relay] Join page: GET /join hands an invite link opened in a browser to the app
A static page for https://<relay>/join#<invite id>.<secret>, the link messengers make tappable.
The fragment never reaches the relay. One button opens amicitia://invite?relay=<origin>#…; its
only script and style are named by SHA-256 in a Content-Security-Policy of default-src 'none';
no-store, no-referrer, no cookie, framing refused. PROTOCOL.md §8 lists the route.
2026-11-18 17:03:32 +01:00

Tabellarius

Tabellarius — the Roman letter carrier. He carried sealed tablets and could not read them.

An open-source, self-hostable relay and client library for end-to-end encrypted messages between devices that are rarely online at the same time. Built for Amicitia Domi; usable by anyone.

  • The relay stores only ciphertext addressed to a random mailbox id, deletes it once delivered, and forgets it after a fixed time either way. No accounts, no phone numbers, no contact lists, no IP logs.
  • Encryption is MLS (RFC 9420) via OpenMLS. Nothing cryptographic is written here by hand.
  • Only people you invited can post to your mailbox — invitations carry a capability token.
  • Runs on a home server: a NixOS module and a container image.

Read docs/PROTOCOL.md for exactly what the relay sees and what it does not protect against, and docs/VERIFY.md for how to check every claim yourself — reproducible builds, signed SHA-256 footprints, key fingerprints and a wire inspector.

Status: Phase 0 — protocol and threat model under review. The workspace exists with three empty crates and a placeholder relay binary that only prints its version; no protocol or relay code yet. Licence: relay under AGPL-3.0 (LICENSE-AGPL), so a modified public relay stays open; client and protocol crates under Apache-2.0 OR MIT (LICENSE-APACHE, LICENSE-MIT), so any app can embed them.

Building

nix build                # reproducible build (Linux); `nix build --rebuild` checks it
cargo test --workspace   # without Nix
git config core.hooksPath .githooks   # once per clone: pre-commit size and build-output check
S
Description
No description provided
Readme 895 KiB
Languages
Rust 95.5%
Nix 3.2%
Shell 0.7%
HTML 0.6%