TreeMap
무료 오픈소스 디스크 사용량 시각화 도구로, 사각형 트리맵·중복 파일 탐색·디스크 가득 예측·정리 시 파일을 휴지통으로만 이동한다
개인 계정의 공개 저장소 소유자는 GitHub로 로그인해 운영자를 확인하고 소개를 직접 관리할 수 있습니다. 관리자 승인은 필요하지 않습니다.
로그인한 뒤 확인 파일을 만들어 이 저장소의 기본 브랜치에 30분 안에 커밋해 주세요. 다른 브랜치나 포크의 파일은 인정하지 않습니다. 파일을 올린 뒤 아래에서 확인하면 관리자 승인 없이 관리할 수 있습니다. 자격을 유지하려면 파일을 남겨 두세요.
로그인이 필요하면 로그인 화면으로 이동합니다. 로그인 후 이곳으로 돌아와 원하는 확인 버튼을 다시 눌러 주세요.
프로젝트 폴더에서 /nomorevibe verify를 실행하면 소유권을 확인하고 소개를 직접 관리할 수 있습니다.
1분 만에 확인하기蜻蜓文档 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.