An open-source
Google Docs alternative.
DocX is a collaborative document editor with built-in AI commands. Real-time sync, version history, self-hostable. Free and open source.
This is a small project I've been hacking on for a while. It's basically a Google Docs clone with a few AI commands — ▎
A look at the editor.
Built on Tiptap and Y.js. Switch between writing, asking AI, and managing access — all from the same surface.
Untitled
I started building DocX because I wanted to learn how Google Docs works under the hood — CRDTs, real-time sync, all that. It turns out it's a lot, but also kind of fun ▎
↳ DocX: want me to make this less rambly?
Everything you need to write,
collaborate, and create with AI.
Cursors, comments, and edits sync over Y.js. Up to a few dozen people can edit the same page.
Highlight a paragraph, ask for a rewrite or a summary.
Clone the repo, run `docker compose up`, and it's yours. MIT-licensed, no hidden tiers.
Three steps. That's it.
Login, click new. Or just go straight to the editor demo without an account.
Share the link. They can comment without an account, or login to edit alongside you.
Highlight text and press ⌘K. Ask for a rewrite, a counter-argument, or a translation.
Ready to give it a try?
Open the editor demo in your browser — no login needed. Star the repo on GitHub if you find it useful.