API Online

Zero-Trust, Post-Quantum Encrypted Messaging

A serverless E2EE chat and WebRTC calling ecosystem built on Cloudflare Workers, Durable Objects, D1, and R2 with PQXDH and Double Ratchet security.

Production API Gateway https://shellchat-api.mandax3.workers.dev
Protocol Architecture Signal (PQXDH + Double Ratchet)
Storage Backend Cloudflare D1 + R2 + Durable Objects

Post-Quantum E2EE

Uses libsignal-protocol PQXDH (Kyber-1024 + X25519) and Double Ratchet. The server stores ciphertext only and cannot decrypt message payloads.

WebRTC Voice & Video

Stateful Durable Object CallRooms coordinate encrypted signaling for peer-to-peer 1-on-1 calls with automatic cleanup upon disconnect.

Durable Object Mailboxes

Each device has a dedicated hibernatable WebSocket mailbox handling real-time push, offline queues, and automatic ack-deletion.

Zero-Egress Attachments

Encrypted media and file transfers stored directly in Cloudflare R2 with AES-256-GCM client-side encryption and zero bandwidth fees.

Android & Flutter Client

Cross-platform mobile client with native Rust crypto core linked via flutter_rust_bridge for high-performance cryptographic operations.

100% Free-Tier Architecture

Architected carefully within Cloudflare's free tiers for D1, R2, and Workers, keeping operational costs at $0 for independent deployments.

Connect via Reference Client

Test end-to-end encrypted messaging against this Cloudflare deployment from any terminal:

npx tsx client-ts/src/cli.ts register --server https://shellchat-api.mandax3.workers.dev --state alice.json --username alice