It clean-room recreates Word's ribbon-driven workflow in native Rust rather than wrapping a web app, while also exposing the same actions to automation. Open or create documents, edit and format them, then save DOCX or export common formats and PDF. It is alpha software, with 487 of 502 catalog features backed by commands.
For Writers needing Word-compatible editing seeking an open native alternative, and automation developers editing documents
WordCraft separates the document model, layout, rendering, command engine, and swappable interface into enforced layers. A shared command registry drives the ribbon, keyboard shortcuts, command search, CLI, JSON control channel, and MCP server.
README.md (Architecture, Why WordCraft); docs/architecture.md (Layers)
Document model and editing
Represents documents, text, tables, styles, revisions, fields, and editing primitives.
crates/doc
Page layout
Turns documents into pages, lines, draw items, and hit-test geometry.
crates/layout/src/lib.rs
File format adapters
Reads and writes bounded WordprocessingML DOCX packages.
crates/docx/src/lib.rs
Command engine
Maintains sessions, undo, layout cache, file dispatch, and command registry.
crates/engine
Generated