A social feed with private, encrypted messaging
I’m a full-stack developer based in Montréal. I designed, built and operate this platform end to end: a live demo seeded with 2,000 sandbox users, with posts, group chats and private messages. Try it below, then read how it’s built.
Log in with a ready-made account in one click. Everything resets every three days.
Benchmark / 1,000 users at <60 ms (0 errors)
Under the hood
Engineered with sandboxed media processing, searchable encryption, scoped AI access, and real-time ranking.
Isolated media pipeline
All untrusted uploads (images, audio, video) are handled by an isolated Rust service with zero network egress. It strips EXIF and GPS metadata, decodes images in pure Rust, and constrains FFmpeg inside a hardened sandbox with strict protocol whitelists.
Search inside encrypted messages
Messages are encrypted at rest with AES-256-GCM, authenticated to their row ID to prevent tampering. Search runs through keyed HMAC blind indexes, allowing fast PostgreSQL lookups while a stolen database dump reveals neither the messages nor the searched keywords.
Read how it works →Connect your AI assistant
A built-in MCP server lets AI assistants like Claude search feeds, publish rich posts (including video embeds), and summarize unread activity. Connected via OAuth or personal access tokens, assistant scopes are strictly isolated: an agent token can never read your private messages or alter account settings.
For You ranking engine
Posts are scored by personal affinity, global quality, and time decay. Per-viewer interest profiles are built from implicit signals like reads and thread opens alongside likes, replies, and shares. Diversity rules cap repeat authors and topics, while periodic exploration slots keep the feed from closing in.
Architecture at a glance
Business logic in Spring Boot • Real-time fanout with Elixir • Sandboxed Rust worker
Why these choices
- Spring Boot
- Chosen for its rock-solid stability and mature security ecosystem. Authentication, authorization, and rate-limiting filters are battle-tested out of the box. Data access relies on jOOQ, ensuring every SQL query is verified against the database schema at compile time while mapping 1:1 to PostgreSQL.
- Redis
- Serves dual duties: caching high-read dynamic data for Spring and acting as a lightweight Pub/Sub message broker between Spring and Elixir to keep the two services completely decoupled.
- Elixir (Beam)
- Every real-time WebSocket connection is an ultra-lightweight BEAM process, allowing thousands of persistent sockets to run with negligible memory overhead. Message broadcasts fan out effortlessly, individual connection failures are isolated by OTP supervisors without crashing peers, and native clustering capabilities stand ready if multi-node scaling is ever needed.
- Rust media worker
- Every upload is untrusted input. Parsing it in a memory-safe language, inside a hardened container with no network egress, keeps a malicious file away from the core application. FFmpeg does the heavy encoding; the Rust service controls what it is allowed to read and which protocols it may use.
- Web Components and vanilla JavaScript
- No framework, by choice: pages load fast with minimal overhead, there is no build chain or framework upgrade cycle to maintain, and every component runs natively in any modern browser.
Measured under load
Load-tested with k6 from an independent machine against a single 6-core server running the entire stack:
- 1,000 concurrent users:
- 95% of pages served within 60 ms (median page: 13 ms) at ~60% server CPU.
- 1,500 concurrent users:
- CPU fully saturated, yet the typical page stayed near 50 ms with zero timeouts.
- 30 continuous media uploaders:
- Median image post took 0.6 s while normal page browsing remained completely unaffected (p95 < 121 ms).
- Zero failed requests (0% error rate:
- across every benchmark run.
Log in with a ready-made account in one click. Everything resets every three days.