All work

mitch.pro

Multi-tenant Rust/Axum platform with E2EE chat & Proxmox cloud desktops

Originally prototyped in TypeScript on Bun/Node, mitch.pro outgrew dynamic runtime overhead and fragmented state management. The platform was rewritten into a single statically compiled Rust binary using Axum, Tokio, and SQLite in WAL mode, consolidating multi-domain routing, end-to-end encrypted messaging, and on-demand Proxmox LXC cloud desktops behind one predictable memory footprint.

How it's built

Edge & Multi-Tenancy
Single Axum router inspects request Host headers to serve distinct tenant themes and namespaces across mitch.pro, rjuhsd.school, and sexypickleclub.com with shared session identity.
Identity & Cryptography
Argon2id password hashing, hardened cookie sessions with same-origin CSRF enforcement, and client-side WebCrypto ECDH P-256 + AES-GCM key exchange for direct messages alongside federated Conduit Matrix.
Cloud Desktop Provisioner
Talks directly to Proxmox VE APIs to spin up ephemeral LXC desktop sandboxes and proxies interactive VNC/SSH streams cleanly through WebSockets.
Persistence
Embedded SQLite configured with WAL mode, strict foreign keys, and minimal connection contention for single-node durability without external database sprawl.

What it does

  • E2EE chat via Conduit Matrix + Cinny & WebCrypto ECDH P-256 / AES-GCM DMs
  • Ephemeral Proxmox LXC cloud desktops with in-browser VNC/SSH gateway
  • Argon2id auth, same-origin CSRF protection & real-time WebSockets

Decisions

  • Replaced Bun/Node service cluster with one compiled Rust binary to cut idle memory usage and eliminate runtime dependency drift.
  • Selected SQLite WAL over an external Postgres daemon to keep backups atomic via snapshots and latency deterministic.
  • Kept DM encryption keys purely client-side via WebCrypto so the server acts only as an authenticated relay.