⌘K
Change language Switch ThemeSign In
Narrow Mode
Rainman Translate Book: Full-Book Translation Tool Built on Claude Code
Rainman Translate Book: Full-Book Translation Tool Built on Claude Code
 ### GitHubDaily@GitHub_Daily
想将外语书籍翻译成中文,整本书手动翻译太费时间,用在线工具 API 又贵,而且经常翻到一半就卡住。
于是找到 Rainman Translate Book 这个开源工具,专门用来翻译整本书籍,支持 PDF、DOCX 和 EPUB 格式。
核心机制是把书拆成小块,然后用 8 个并行子智能体同时翻译不同章节。
每个智能体都有独立的上下文窗口,避免了单次翻译时内容过长导致的截断问题。
GitHub:github.com/deusyu/transla…
基于 Claude Code 构建,通过 Calibre 和 Pandoc 处理格式转换。
翻译过程支持断点续传,如果中途中断,重新运行时会自动跳过已翻译的部分。
翻译完成后,会自动生成 HTML、DOCX、EPUB 和 PDF 四种格式,方便在不同设备上阅读。
目前支持中文、英文、日文、韩文、法文、德文、西班牙文等多种语言互译。
需要先安装 Claude Code CLI、Calibre 和 Pandoc,然后通过命令行就能快速翻译整本书。
如果你经常需要翻译外文书籍或文档,这个工具值得试试。Show More
Mar 21, 2026, 1:30 PM View on X
5 Replies
45 Retweets
141 Likes
9,751 Views  GitHubDaily @GitHub_Daily
One Sentence Summary
The open-source tool Rainman Translate Book supports full-book translation in PDF/DOCX/EPUB formats, using 8 parallel sub-agents to solve long-text truncation issues.
Summary
This tweet recommends an open-source translation tool called Rainman Translate Book, specifically designed to address the pain points of translating entire books. Built on Claude Code, the tool uses Calibre and Pandoc for format conversion. Its core mechanism splits books into small chunks and has 8 parallel sub-agents translating different chapters simultaneously, with each agent having an independent context window to avoid content truncation. The tool supports resumable translation—when interrupted and restarted, it automatically skips already-translated sections. After translation completes, it automatically generates HTML, DOCX, EPUB, and PDF formats for reading on various devices. It supports translation between multiple languages including Chinese, English, Japanese, Korean, French, German, and Spanish. Ideal for users who frequently need to translate foreign books or documents.
AI Score
82
Influence Score 78
Published At Today
Language
Chinese
Tags
Claude Code
Book Translation
Full-Book Translation
AI Tools
Open Source Projects HomeArticlesPodcastsVideosTweets