将被语言阻隔的作品,带到读者的语言中。Bringing literature into your language.
Python
2,754
688 commits
updated Oct 10, 2026
Carry stories across languages.
A desktop app for translating books and long-form writing, with the whole work in view.
Whole-book understanding · Consistent terminology · Evidence-based review
Quick start · Language support · Documentation
English | 简体中文
Thank you to PackyCode for sponsoring Wenyi.
| PackyCode provides access to leading AI models through one API endpoint and one API key, with automatic failover and dedicated routes for Codex and Claude Code. |
| Typical approach | Wenyi |
|---|---|
| Segments translated in isolation, unaware of surrounding content | Whole-book prescan with chapter digests and rolling context |
| Glossary managed manually or as an afterthought | Real-time term extraction with conflict detection, fed back into subsequent batches |
| Single-pass translation, fragile to interruptions | Batch checkpoints and chapter status tracking: reopen the project and resume saved progress |
| Raw model output, no systematic quality process | Translate → polish → evidence-driven whole-book review |
Wenyi is designed for long-form texts — novels, social-science monographs, narrative nonfiction, and more.
Desktop and Web share these workspace pages. The screenshot below shows the translation overview in the Web Chinese interface; English is available in Settings.
Translation overview: usage by step, cache hit rates, and run durations.
With Python 3.10+ and uv installed, run from the repository root:
uv sync --locked
export DEEPSEEK_API_KEY="YOUR_DEEPSEEK_API_KEY"
uv run wenyi translate book.epub
This shell example uses the default DeepSeek provider. Supply your own key and review config.yaml before translating. For Windows commands, other providers, and resume/export options, see the CLI guide.
Prefer a graphical app? See the Desktop quick start for downloads and setup.
| Input | Output |
|---|---|
| EPUB, FB2, TXT, Markdown, HTML, PDF, DOCX | EPUB (monolingual / bilingual), TXT, HTML, Markdown, DOCX |
| SRT (movie / series subtitles) | SRT (monolingual / bilingual) |
Choose languages when creating a project, including directions such as Chinese → English or English → Japanese. Built-in profiles cover Chinese, English, Japanese, Korean, French, German, Spanish, Italian, Portuguese, Russian, Vietnamese, and selected variants. Multilingual translation remains experimental; real-model long-form quality needs further evaluation.
Wenyi combines whole-book understanding, batch translation, optional polishing, review, and export. See the translation pipeline for the flowchart and stage details.
Public-domain translation examples are shared through wenyi-bookcase. Do not publish copyrighted text, private books, or workspace data containing sensitive information without permission.
Wenyi is also hosted on AtomGit: https://atomgit.com/BigDawnGhost/wenyi
831 followers · starred Aug 2026
1,497 followers · starred Aug 2026
636 followers · starred Jul 2026
1,833 followers · starred Jul 2026
将被语言阻隔的作品,带到读者的语言中。Bringing literature into your language.
Python
2,754
688 commits
updated Oct 10, 2026
Carry stories across languages.
A desktop app for translating books and long-form writing, with the whole work in view.
Whole-book understanding · Consistent terminology · Evidence-based review
Quick start · Language support · Documentation
English | 简体中文
Thank you to PackyCode for sponsoring Wenyi.
| PackyCode provides access to leading AI models through one API endpoint and one API key, with automatic failover and dedicated routes for Codex and Claude Code. |
| Typical approach | Wenyi |
|---|---|
| Segments translated in isolation, unaware of surrounding content | Whole-book prescan with chapter digests and rolling context |
| Glossary managed manually or as an afterthought | Real-time term extraction with conflict detection, fed back into subsequent batches |
| Single-pass translation, fragile to interruptions | Batch checkpoints and chapter status tracking: reopen the project and resume saved progress |
| Raw model output, no systematic quality process | Translate → polish → evidence-driven whole-book review |
Wenyi is designed for long-form texts — novels, social-science monographs, narrative nonfiction, and more.
Desktop and Web share these workspace pages. The screenshot below shows the translation overview in the Web Chinese interface; English is available in Settings.
Translation overview: usage by step, cache hit rates, and run durations.
With Python 3.10+ and uv installed, run from the repository root:
uv sync --locked
export DEEPSEEK_API_KEY="YOUR_DEEPSEEK_API_KEY"
uv run wenyi translate book.epub
This shell example uses the default DeepSeek provider. Supply your own key and review config.yaml before translating. For Windows commands, other providers, and resume/export options, see the CLI guide.
Prefer a graphical app? See the Desktop quick start for downloads and setup.
| Input | Output |
|---|---|
| EPUB, FB2, TXT, Markdown, HTML, PDF, DOCX | EPUB (monolingual / bilingual), TXT, HTML, Markdown, DOCX |
| SRT (movie / series subtitles) | SRT (monolingual / bilingual) |
Choose languages when creating a project, including directions such as Chinese → English or English → Japanese. Built-in profiles cover Chinese, English, Japanese, Korean, French, German, Spanish, Italian, Portuguese, Russian, Vietnamese, and selected variants. Multilingual translation remains experimental; real-model long-form quality needs further evaluation.
Wenyi combines whole-book understanding, batch translation, optional polishing, review, and export. See the translation pipeline for the flowchart and stage details.
Public-domain translation examples are shared through wenyi-bookcase. Do not publish copyrighted text, private books, or workspace data containing sensitive information without permission.
Wenyi is also hosted on AtomGit: https://atomgit.com/BigDawnGhost/wenyi
831 followers · starred Aug 2026
1,497 followers · starred Aug 2026
636 followers · starred Jul 2026
1,833 followers · starred Jul 2026