← Projects

At a glance

Status
In progress
Stack
Matrix CS/SS · Workers · Durable Objects · R2 · D1

Problem

The reference Matrix server (Synapse) is a stateful, region-bound monolith. Self-hosting at scale requires database tuning, media storage, and operational sophistication that excludes most of the people who would otherwise federate. The protocol deserves a runtime that matches its topology.

Approach

Workers for compute, Durable Objects for room state, R2 for media, D1 / Hyperdrive for indexable history. Federation is async by default and resumes from the durable object on the next request. End-to-end encrypted rooms remain opaque to the operator.

Scope

What it is
  • A Matrix homeserver implemented as a set of edge workers, deployable to a single Cloudflare account.
  • Compatible with existing Matrix clients (Element, Cinny, Hydrogen) without modification.
  • Designed for small-to-medium federated communities — not as a Matrix.org replacement.
What it is not
  • A managed SaaS — you bring the account.
  • A proprietary fork of the Matrix protocol.
  • A messaging client.

Reach

Questions, integrations, security reports, or research collaboration: write to contact@luminx.one or see /security for sensitive disclosure.