Trung QuốcBigDawnGhost/wenyi
将被语言阻隔的作品,带到读者的语言中。Bringing literature into your language.
Thành tựu nổi bật
Những danh hiệu mới nhất của dự án
#1 Repository Của Tuần
#1 Repository Của Tuần
#1 Repository Của Tuần
📚 Translating Novels Across Languages Without Losing Their Soul
A Python-based translation tool that brings multilingual novels into Chinese while keeping the original EPUB formatting intact.
wenyi (文译) is a Python project designed to translate EPUB, FB2, or TXT novels into Chinese, prioritizing the preservation of original layouts, images, tables of contents, and navigation links. Built around a single translate command, it handles pre-scanning, analysis, translation, optional polishing, chapter-end review, punctuation normalization, and EPUB export—all with resumable execution.
✨ Highlights
- Multi-format input: Supports EPUB, FB2, and TXT files as input sources.
- Layout preservation: Retains original XHTML templates, styles, images, and anchors for EPUB inputs.
- Single command workflow: The
translatecommand orchestrates the full pipeline from ingestion to export. - Resumable execution: Long-running translations can be resumed via the
resumesubcommand. - Progress tracking: Use
statusto view current progress andassembleto re-export EPUBs independently. - Configurable LLM tiers: Uses
strong,cheap, andfastmodel tiers for different tasks like translation, review, and summarization. - Offline testing: Switch
llm.providertofakefor local debugging without network calls. - Glossary management: Maintains a SQLite-based terminology database for consistent name and term translations.
💡 Why it Matters
Unlike basic text translators, wenyi preserves the structural integrity of books by reusing original EPUB templates and maintaining visual fidelity. This is especially valuable for long-form novels where layout, image placement, and navigation matter for readability.
With features like rolling context, chapter-level reviews, and automated consistency checks, wenyi ensures high-quality translations tailored for extended narratives. It’s ideal for translators, readers, and developers working with multilingual literary content who want more than raw text output.
#OpenSource #Python #TranslationTool #EPUB #NovelTranslation #TiniX
Dự án tương tự
Khám phá các dự án và mô hình AI khác có sự tương đồng.
:octocat: 分享 GitHub 上有趣、入门级的开源项目。Share interesting, entry-level open source projects on GitHub.
Reverse engineer anything with agents, from app behavior down to native binaries.
Agent Skill for Equalang: translate PDF, DOCX, PPTX, XLSX, EPUB, subtitles, pictures, audio and video with the layout kept; transcribe recordings. For Claude Code, Codex, Cursor and more.
Learn how to design large-scale systems. Prep for the system design interview. Includes Anki flashcards.
The definitive list that answers "I want to do X in Python, which tool should I use?"
AutoGPT is the vision of accessible AI for everyone, to use and to build on. Our mission is to provide the tools, so that you can focus on what matters.