hn.today

An open-source, clean-room reimplementation of Microsoft Word in pure Rust

github.com90 points82 comments
Screenshot of An open-source, clean-room reimplementation of Microsoft Word in pure Rust

WordCraft is a clean-room, open-source reimplementation of Microsoft Word written entirely in Rust that recreates the familiar Word workflow - ribbon UI, live styles gallery, tables, track changes, references and mail merge - while running natively on macOS, Windows, Linux, BSD and in the browser via WebAssembly. It targets high fidelity with .docx read/write compatibility (opens in Word), supports a broad set of import/export formats (.odt, .rtf, .html, .md, .tex, .txt) and produces real selectable PDF output. The project emphasizes speed and native behavior: paragraph layout is cached for low-latency typing even in large documents, rendering happens on demand via a single Rust codebase using native egui on the GPU, and every UI convention and shortcut is implemented to match user expectations.

Functionally it delivers a comprehensive word processor: full text formatting, paragraph and style management, multilevel lists, advanced tables, page layout features (margins, headers/footers, hyphenation, line numbers), images and wrapped objects, TOCs/footnotes/citations, review tools (spelling, grammar, comments, track changes), mail merge and export tools. Architecturally it’s agent-friendly - 422 commands with CLI, JSON control channel and MCP server for programmatic control - licensed MIT or Apache-2.0, clean-room built with original or openly licensed assets, and provides quick start commands, a roadmap, parity assessment and community resources on GitHub and Discord.

Read on github.com82 comments on Hacker News

Summary generated by AI from the linked article. hn.today is not affiliated with Hacker News or Y Combinator.

More in Other

The daily digest

Today's best Hacker News stories, summarized and screenshotted, one email a day.