Skip to content
プロジェクト

概要

言語の壁に阻まれた文学作品を、読者の言語で届けます。文学をあなたの言語に。

仕事効率化・自動化

この数値の測り方

計測したスター増加

24時間
+2
7日間
+18
15日間
+52
1か月
+130

期間ごとの純増数です。期間は重複しており、日別の値ではありません。未計測の値は空欄です。スター数は注目度の指標であり、品質の保証ではありません。


Wenyi

Bringing 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

License Stars Discord

English | 简体中文

Featured|HelloGitHub

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

Workflow: understand the book, translate chapters in order, unify terms, review the whole book, then export.

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

  1. Download the wenyi-desktop-* package for Windows, macOS, or Linux from GitHub Releases.
  2. Open Settings → Models & connections, choose a provider, enter your API key if required, and save.
  3. 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.

陪读蛙:在浏览器里沉浸式双语翻译网页、划词与 YouTube 字幕,免费安装,开始翻译。

Sponsors

QueryOne api 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.

関連プロジェクトを探す

読み込み中…