Open source · TypeScript · MIT
Lextrix — Document engine and rich-text editor
Lextrix 3.0.0 is a programmable document engine with a rich-text browser editor as one projection. ChangeSets, Documents, Versions, collaboration, and persistence ports sit under the editor — the editor was not removed.
Live playground
Try Lextrix in your browser — switch themes, use the toolbar, and see Markdown, HTML, and JSON export as you edit.
Interactive Lextrix editor with themes, full toolbar, and Markdown / HTML export preview.
What you get in 3.0.0
- Browser editor — Snow, Bubble, Slate, Dawn themes and built-in modules
- Document engine — Document, DocumentHandle, Versions, Anchors, Ranges, Proposals
- ChangeSet OT — compose, diff, transform, invert, rebase
- Authoritative collaboration — lextrix-collab sessions (not CRDT)
- Persistence — CAS, changeId idempotency, owner_epoch; PostgreSQL reference host
- Intelligence — proposal producers with explicit accept
- Serialization — HTML, Markdown, MDX, JSON via importContent / exportContent
- React — @lextrix/react 0.3.0 LextrixEditor with Next.js support
Why Lextrix exists
Lextrix 3.0.0 keeps the browser rich-text editor and adds the document infrastructure underneath — Versions, OT collaboration, persistence ports, and proposal-based intelligence.
Ecosystem packages
Install the published editor bundle, or compose document-engine and editor packages from the monorepo. Root publish scripts ship lextrix and @lextrix/react; other packages follow the workspace DAG.
Roadmap
- Presence UI on top of the existing protocol
- Stronger published typings for the Document bridge
- More collab examples beyond the in-memory demo
Documentation
Start with the 3.0.0 overview, then editor guides or document-engine architecture. ADRs and deep monorepo notes remain on GitHub.
Related reading
Articles that connect to how Lextrix was designed and built.