bilingual_book_maker is an AI-assisted translation tool for creating bilingual and multilingual versions of books and text files. It is designed to process formats such as EPUB, TXT, SRT, and PDF, then generate translated output that helps readers compare the original text with the target language. The project supports multiple AI providers and models, including OpenAI-compatible models and other translation backends through LiteLLM-style integrations. It is especially useful for public domain books, language learning, subtitle translation, and personal reading workflows. Users can run it from Python scripts or install it as a command-line package for repeated translation tasks. The repository also includes documentation, test books, prompt templates, and configuration options for customizing how translations are generated.
Features
- EPUB, TXT, SRT, and PDF translation
- Bilingual book generation
- Multiple AI model support
- Command-line usage workflow
- Prompt template customization
- Public domain translation focus