How it is built
WordCraft is an open-source word processor written from scratch in Rust, built to match Word and go further on speed, openness and programmatic control. TTWriter is its Chinese edition: the repository contains the complete upstream source — not a plugin, not a skin, and not a menu translation.
What we add is the writing-standards layer. Official documents follow GB/T 9704—2012: A4, the standard text area, a 22 pt Xiaobiaosong title, 16 pt FangSong body and a fixed 28 pt line spacing. Theses follow GB/T 7713 and GB/T 7714—2015 for cover, headers and footers, page numbers, contents, figure and table numbering and reference entries. Legal papers cover civil complaints, demand letters, legal opinions, contract review reports and labour arbitration applications.
The rules are executable, not a checklist. Four layout skills and four presets ship as scripts: run them from the CLI, or apply them in the app from Home → Chinese Layout. Both paths dispatch the same commands.
Chinese is also written correctly into the file. Word counts are counted by character, not by splitting on spaces; w:rFonts/@w:eastAsia and w:lang/@w:eastAsia round-trip so Word does not lose the font or the language tag; font names such as 仿宋_GB2312 that do not exist on modern Windows resolve to a font that is actually installed instead of silently falling back to a sans-serif.
It is also an editor that programs can drive: the ribbon, shortcuts, CLI, control channel and MCP all dispatch the same 600+ commands. It runs offline and keeps the manuscript on your machine; native on Windows, macOS, Linux and BSD, plus the web via WASM.
Upstream ships several releases a week. General fixes go back upstream; this repository keeps only the necessary fork and rebases on every release. Next: a Chinese default layer, Chinese proofing, pinyin sorting, Chinese templates and PDF annotations.


