BigDawnGhost/wenyi
소개
언어 장벽에 가로막힌 문학 작품을 독자의 언어로 전합니다. 문학을 여러분의 언어로.
생산성 및 자동화측정된 스타 증가
- in 24h
- +2
- in 7 days
- +18
- in 15 days
- +52
- in 1 month
- +130
서로 겹치는 기간의 순증가량이며 일별 합계가 아닙니다. 측정값이 없으면 비워 둡니다. 스타는 관심도를 나타내며 품질을 보장하지 않습니다.
README.md
OriginalBringing literature into your language.
A desktop app for translating books and long-form writing, with the whole work in view.
Download · Documentation · Quick start · Community
English | 简体中文
Why Wenyi
Made for long-form texts: novels, social-science monographs, narrative nonfiction, and more.
Whole-book context Chapter summaries, a book synopsis, and recent translation keep each passage connected to the rest of the work. |
Consistent terminology Names and terms are collected as the book is translated. Conflicts are shown for you to resolve, and your choices guide later passages. |
Translation and review Polishing and evidence-based whole-book review work alongside paragraph editing with revision history. |
Resumable progress Completed work is saved as you go. Reopen a project and continue where it stopped. |
How it works
For each stage and a detailed diagram, see the translation workflow.
Quick start
| Best for | Get started | |
|---|---|---|
| Desktop (recommended) | Translating and proofreading on your own computer | Download · Guide |
| CLI | Terminal use and automation | Install · Guide |
| Web | A self-hosted browser workspace | Deployment guide |
Desktop
- Download the
wenyi-desktop-*package for Windows, macOS, or Linux from GitHub Releases. - Open Settings → Models & connections, choose a provider, enter your API key if required, and save.
- Create a project, import a book, and start translating. Proofread it in the app, then export.
The installer includes everything needed to run Wenyi. Projects stay on your computer; text is sent to the model service you choose.
CLI
With Python 3.10+ and uv, install wenyi-cli and create the default configuration:
uv tool install wenyi-cli
wenyi models list
Review the new config.yaml, then set your key and translate. DeepSeek is the default provider:
export DEEPSEEK_API_KEY="YOUR_DEEPSEEK_API_KEY"
wenyi translate book.epub
See the CLI guide for Windows commands and other providers.
The same translation engine can be used from Python, for your own formats and workflows: Python SDK.
Supported formats
| Input | Export | What to expect |
|---|---|---|
| EPUB | EPUB, DOCX, HTML, TXT, Markdown | Keeps the original styles, images, contents, and links where possible |
| PDF (MinerU, default) | EPUB, DOCX, HTML, TXT, Markdown | Converts pages to reflowable text; requires a MinerU API key |
| PDF (BabelDOC, optional) | PDF, EPUB, DOCX, HTML, TXT, Markdown | Preserves page layout where possible; requires a text layer |
| DOCX | DOCX, EPUB, HTML, TXT, Markdown | Keeps headings, lists, simple tables, and common styles where possible |
| HTML, FB2, TXT, Markdown | EPUB, DOCX, HTML, TXT, Markdown | Keeps chapters and paragraphs; other formatting varies |
Bilingual editions are available for supported formats. See the format reference for details and limitations.
Before you start
- Quality depends on the model you choose. Check important passages yourself.
- Token use grows with polishing and whole-book review, which can take several passes.
- Disk space grows with book length.
Community
Wenyi is a personal project created to help bring books and long-form writing across languages. Bug reports, ideas, and pull requests are welcome.
- Chat: Discord or QQ group 1055065098
- Report a bug or request a feature: GitHub Issues
- Share ideas and questions: GitHub Discussions
- Contribute: Contributing guide
- Mirror in China: AtomGit
Sponsors
|
|
Thanks to QueryOne api for sponsoring this project! Built for ultra-low pricing, QueryOne provides an official-protocol AI API relay (Claude / OpenAI / Gemini) ideal for token-heavy book translation in Wenyi, Claude Code, Codex, and custom SDKs — alongside direct account top-ups (Claude, ChatGPT, Gemini, Grok) and an integrated Infinite Canvas for multimodal image & video creation. Get started at queryone.casa. |
Star history
License
Wenyi's own code is licensed under the GNU General Public License v3.0 (GPL-3.0-only). Third-party components keep their own licenses; see the notices for Rust dependencies in the Core native extension.
The optional BabelDOC bridge is a separate AGPL-licensed service that runs in its own process and is accessed over HTTP.
관련 프로젝트 살펴보기
불러오는 중…
