RepositoryPythonCNTrung Quốc
BigDawnGhost

BigDawnGhost/wenyi

将被语言阻隔的作品,带到读者的语言中。Bringing literature into your language.

3.0ksao
237fork
17issue
7lượt xem

Thành tựu nổi bật

Những danh hiệu mới nhất của dự án

1
TINIX TRENDING·Chủ đề: translation-tool

#1 Repository Của Tuần

1
TINIX TRENDING·Chủ đề: novel

#1 Repository Của Tuần

1
TINIX TRENDING·Chủ đề: translation-tool

#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 translate command orchestrates the full pipeline from ingestion to export.
  • Resumable execution: Long-running translations can be resumed via the resume subcommand.
  • Progress tracking: Use status to view current progress and assemble to re-export EPUBs independently.
  • Configurable LLM tiers: Uses strong, cheap, and fast model tiers for different tasks like translation, review, and summarization.
  • Offline testing: Switch llm.provider to fake for 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.

RepositoryPython
yt-dlp/yt-dlp

A feature-rich command-line audio/video downloader

210.2k
Nov 23, 2026
RepositoryPython
521xueweihan/HelloGitHub

:octocat: 分享 GitHub 上有趣、入门级的开源项目。Share interesting, entry-level open source projects on GitHub.

190.8k
Oct 31, 2026
RepositoryTypeScript
morluto/rea

Reverse engineer anything with agents, from app behavior down to native binaries.

475.2k
Nov 23, 2026
RepositoryPython
equalang/equalang-skill

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.

94
Nov 3, 2026
RepositoryPython
donnemartin/system-design-primer

Learn how to design large-scale systems. Prep for the system design interview. Includes Anki flashcards.

378.9k
Sep 15, 2026
RepositoryPython
vinta/awesome-python

The definitive list that answers "I want to do X in Python, which tool should I use?"

336.6k
Nov 17, 2026
RepositoryPython
practical-tutorials/project-based-learning

Curated list of project-based tutorials

290.3k
Nov 16, 2026
RepositoryPython
TheAlgorithms/Python

All Algorithms implemented in Python

226.3k
Nov 13, 2026
RepositoryPython
Significant-Gravitas/AutoGPT

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.

188.1k
Nov 21, 2026