TreeMap
A free, open-source disk-space visualizer. Squarified treemap, duplicate hunting, disk-full forecasting, and cleanup that only ever moves files to the Trash.
翻譯準備中
個人 GitHub 帳號下公開儲存庫的擁有者可以登入並驗證所有權,自行管理介紹,無需管理員核准。
登入並產生驗證檔案,在 30 分鐘內將其提交至此儲存庫的預設分支。其他分支或分叉儲存庫中的檔案無效。然後在下方檢查檔案,即可無需管理員核准直接管理專案。請保留檔案以維持管理權限。
如需登入,將前往登入頁面。登入後請回到此處,再次點擊所選的驗證按鈕。
在專案資料夾中執行 /nomorevibe verify,即可驗證所有權並自行管理介紹。
一分鐘完成驗證蜻蜓文档 TTWriter — WordCraft 中文发行版:完整上游 Rust 源码 + 公文 / 学位论文 / 法务文书国标排版层
翻譯準備中
取自儲存庫 README
正在載入完整 README。
檢視完整 README ↗蜻蜓文档 TTWriter is a Chinese edition of WordCraft: a complete source repository that builds, runs and can be changed, with the layer that writing in Chinese actually needs added on top.
WordCraft is an open-source word processor written from scratch in Rust, aiming at Microsoft Word
parity while being faster, more open, and drivable by other programs. Upstream already ships a
Simplified Chinese interface (zh-hans), CJK glyphs and CJK line breaking. What we add is the
writing-standard layer: how a national-standard document is laid out, how characters are
counted, and how fonts are written into the file.
| Full upstream source | Not a plugin, not a skin. crates/ is WordCraft. One clone, and it builds. |
| Chinese word counting | A Chinese "word count" counts characters, not space-separated tokens. Counts match Word's Chinese word count (G2). |
| East Asian fonts and language | w:rFonts/@w:eastAsia and w:lang/@w:eastAsia round-trip correctly, so a Chinese document keeps its fonts and its language marking when Word opens it. |
| Four layout skills | Chinese official documents (GB/T 9704), theses (GB/T 7713 / 7714), legal papers, and a general skill that documents every WordCraft command. |
| Four Chinese presets | General, official document, thesis, legal — applied in one step. |
| Offline | No network, no upload. Your writing stays on your machine. |
Download the build for your platform from
Releases and run wordcraft.
git clone https://github.com/matou1118/TTWriter
cd TTWriter
cargo build --release -p wordcraft
Needs Rust 1.95+ (rust-version in Cargo.toml). The full recipe for Windows (GNU toolchain +
MinGW) is build.ps1; test-all.ps1 runs build, tests, formatting, skill validation and an
end-to-end layout smoke test in one command.
Chinese fonts are not committed (font binaries never are). The official Chinese edition embeds four faces as an optional build input, so its binary still shows Chinese — in the right styles — on a machine with no Chinese fonts installed:
craft-fonts/fonts/manifest.txt # plus the font files; all gitignored
./build.ps1 # picks them up automatically
What is embedded: 阿里巴巴普惠体 (Alibaba PuHuiTi, a sans face), 朱雀仿宋 (Zhuque Fangsong) and
霞鹜文楷 GB (LXGW WenKai GB), the last two under the SIL Open Font License. All three are
fallbacks only: a machine that has the font the document asks for uses that font, exactly as
before (see substitutes() in crates/fonts/src/word.rs; 仿宋_GB2312 and 方正小标宋体 resolve here
too). 宋体 is not bundled at all — Windows, macOS and Linux all ship one — which keeps 28 MB out of
the binary. A plain cargo build gives upstream behaviour: Chinese comes from the system.
Everything is a command. The ribbon, keyboard shortcuts, the CLI, the control channel and MCP all dispatch through the same command registry.
wordcraft-cli convert draft.docx draft.pdf # convert formats
wordcraft-cli render draft.docx page1.png --page 1 # render to an image
wordcraft-cli pdf merge all.pdf in1.pdf in2.pdf # merge PDFs; also info / rotate / delete / extract
wordcraft-cli commands # list every command
wordcraft-cli mcp # run as an MCP server for AI agents
Under skills/, these are operating manuals for AI assistants: which command to run when, what the
standard requires, and where the traps are. Each ships runnable Python scripts.
| Skill | What it does | Standard |
|---|---|---|
skills/wordcraft | How to use every WordCraft command, how to verify availability, plus an evidence ledger | — |
skills/gongwen | Chinese official documents: notices, requests, reports, letters, minutes, replies | GB/T 9704—2012 |
skills/thesis | Theses: title page, running head, table of contents, figure/table numbering, references | GB/T 7713.1, GB/T 7714—2015 |
skills/legal-docs | Civil complaints, lawyer's letters, legal opinions, contract review reports | — |
All four are layout only: the content must already be final, and a skill will never write, invent or edit a word of it. Writing the content is a job for a writing skill.
Four sets of Chinese page setup and default styles under presets/, each a runnable script:
wordcraft-cli run --file draft.docx --script presets/zh-gongwen.json --save out.docx
| Preset | For |
|---|---|
zh-general.json | General Chinese documents |
zh-gongwen.json | Official documents (type area, sizes, line spacing) |
zh-thesis.json | Theses |
zh-legal.json | Legal papers |
| Official document | Thesis | Civil complaint |
|---|---|---|
The baseline is WordCraft v0.9.0. Changes fall into two groups, both described in
OPEN-SOURCE-STRATEGY.md.
Offered upstream (prepared as PRs; patches in upstream-prs/)
w:lang/@w:eastAsia — Chinese paragraphs used to lose their East Asian
language marking, so Word would run its spell check in English.This edition only
仿宋_GB2312 and 楷体_GB2312
are not installed family names on modern Windows (the family in simfang.ttf is FangSong /
仿宋), so asking for them made the renderer silently fall back to a sans face and lose the
FangSong/Kai distinction that a 公文 depends on. The names are now resolved in order against what
is actually installed.Known limits, documented in the skills rather than hidden:
{issue} slot, so a journal issue number must be added by
hand.References; pass title to
references.bibliography to get 参考文献.This is a thin distribution: divergence from upstream is kept small, and generic improvements go upstream as PRs.
git apply --check clean against
v0.9.0.ai.storyteller.wordcraft. Only the displayed name differs: the window title, the About box, the
.exe's properties, the installer entries — about twenty-five lines in all. That keeps syncing
with upstream cheap; the generic patches are offered upstream as PRs.ATTRIBUTION.md).Issues and PRs are welcome. Upstream has an excellent development guide in AGENTS.md
and this repository follows it; see CONTRIBUTING.md for the workflow and
SECURITY.md to report a vulnerability.
zh-hans) comes from upstream, not from this edition.ATTRIBUTION.md.Release-by-release notes and thanks are in CHANGELOG.md.
LICENSE-MIT,
LICENSE-APACHE), the same as upstream.skills/, presets/, tools/, docs): Apache-2.0.ATTRIBUTION.md.