Active demonstration • Non-commercial

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)
escodes.com/feed
The escodes social feed with posts, embeds and media
📸

Engineered with sandboxed media processing, searchable encryption, scoped AI access, and real-time ranking.

Security & media
Isolated media pipeline sandbox

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.

  • Rust
  • FFmpeg
  • Docker
Cryptography
Searchable encryption and HMAC blind index diagram

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.

  • AES-256-GCM
  • HKDF / HMAC
  • PostgreSQL
Read how it works →
AI integration
Model Context Protocol AI assistant connector diagram

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.

  • MCP
  • OAuth 2.1
  • PKCE
Discovery & ranking
For You recommendation scoring and ranking diagram

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.

  • Interest Profiles
  • Time Decay
  • Diversity Rules

Architecture at a glance

Business logic in Spring Boot • Real-time fanout with Elixir • Sandboxed Rust worker

Web Client Native Web Components WebSocket • HTTPS AI Assistant Claude / MCP Client OAuth 2.1 • PKCE Elixir Gateway Presence & Real-time Fanout Phoenix Channels Spring Boot Core Auth, REST API & Crypto MCP Server • AES-GCM Redis Event Broker Pub/Sub event distribution Rust Media Worker Hardened FFmpeg • Zero egress PostgreSQL AES-256 encrypted • HMAC index

Why these choices

Each service runs in its own container, divided into a shared infrastructure layer (PostgreSQL, Redis, Elixir for real-time WebSockets, the media worker, and Caddy) and per-site Spring Boot instances with isolated databases. The media worker is strictly isolated because it processes untrusted user files. The exact same Docker Compose setup runs both in local development and in production using prebuilt images.
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.
How it was tested, and what it found →

Log in with a ready-made account in one click. Everything resets every three days.