Open-source parametric 3D CAD application written in pure Rust, with desktop, browser and MCP agent control.
storytold/wordcraft
An open-source, clean-room word processor written in pure Rust that reads and writes .docx and runs on desktop and in the browser.
Open-source alternative to:Microsoft Word
- Stars
- 14,895
- Forks
- 3,995
- Open issues
- 1,220
- Last commit
- 8 hours ago
What is it?
WordCraft is a word processor that reimplements the Microsoft Word workflow, including the ribbon, styles, tables, track changes, references and mail merge. It opens and saves .docx files, also reads Word 97-2003 .doc and several other formats, and exports to PDF with selectable text.
The application is built as one Rust codebase with a native egui front end, targeting macOS, Windows, Linux, BSD and WebAssembly in the browser. Every action is exposed as a command with an id, so the same commands drive the UI, keyboard shortcuts, a command-line tool (wordcraft-cli) and an MCP server for AI agents.
The project is in alpha. Its spelling and grammar checking run offline, and the interface is available in many languages. The codebase is split into layered crates for geometry, document model, layout, file formats, rendering and the UI.
Key features
- 01Opens and saves .docx, and imports and exports .odt, .rtf, .html, .md, .tex and .txt.
- 02Exports PDF with selectable text, links and bookmarks.
- 03Provides Word-style ribbon, styles gallery, tables, track changes and mail merge from CSV.
- 04Includes citations and bibliography in APA, MLA, Chicago and IEEE styles.
- 05Runs natively on macOS, Windows, Linux and BSD, and in the browser via WebAssembly.
- 06Exposes every action as a command, with a CLI and MCP server for automation.
Use cases
- Editing .docx documents on Linux or BSD without installing Microsoft Office.
- Scripting document conversion or text extraction from the command line.
- Letting AI agents read, edit and check Word-style documents through MCP.
- Producing formatted reports, letters and labels with mail merge.
Quick start
- 1
Clone the repository
git clone https://github.com/storytold/wordcraft - 2
Enter the project folder
cd wordcraft - 3
Run the desktop app with the sample document
cargo run --release -p wordcraft -- --sample
Things to know
- The README's status section is cut off, so the project's current maturity is unclear; it points to ROADMAP.md and a parity assessment for the details.
- The README describes the project as a partial reimplementation of Word, so some Word features may be missing.
- The metadata lists the license as Apache-2.0, while the README says MIT OR Apache-2.0.
Topics
FAQ
- What is wordcraft?
- An open-source, clean-room word processor written in pure Rust that reads and writes .docx and runs on desktop and in the browser. WordCraft is a word processor that reimplements the Microsoft Word workflow, including the ribbon, styles, tables, track changes, references and mail merge. It opens and saves .docx files, also reads Word 97-2003 .doc and several other formats, and exports to PDF with selectable text.
- Is wordcraft free to use? What license does it have?
- wordcraft is open source under the Apache-2.0 license. Check the license terms before using it in commercial products.
- Is wordcraft still maintained?
- Actively maintained. The last commit to wordcraft was on Oct 20, 2026.
- What can I use wordcraft for?
- Editing .docx documents on Linux or BSD without installing Microsoft Office. Scripting document conversion or text extraction from the command line. Letting AI agents read, edit and check Word-style documents through MCP. Producing formatted reports, letters and labels with mail merge.
- How do I install wordcraft?
- Clone the repository: git clone https://github.com/storytold/wordcraft Enter the project folder: cd wordcraft Run the desktop app with the sample document: cargo run --release -p wordcraft -- --sample
- Where can I get wordcraft?
- The source code and installation instructions are on GitHub: https://github.com/storytold/wordcraft
Summary generated by AI from the project's README. GitHub stats refresh daily.
Related projects
Offline-first desktop office suite in Rust and GPUI: word processing, spreadsheets, presentations, PDF, Git and Markdown, with files kept in local folders.
An open source, general-purpose AI agent that runs on your machine as a desktop app, CLI, or embeddable API, for code and non-code tasks.
Native Rust CLI that lets AI agents drive a Chrome browser through snapshots, element refs, and common automation commands.
Open-source desktop agent app and Rust library for running many AI agents with lower token use, memory and resource cost.
Open-source Rust coding agent for the terminal that edits files, runs commands and works with 40+ model providers, including local models.