With the rise of Chinese AI companies like DeepSeek and their advanced Large Language Models (LLMs), high-quality translation has become more accessible and affordable than ever before. DeepSeek's LLMs demonstrate exceptional performance in understanding context and maintaining consistency in long-form content translation, making them particularly suitable for translating books and documents.
This project leverages these technological advancements to create an elegant, user-friendly tool that helps readers access literature across language barriers. By supporting multiple translation APIs and offering flexible configuration options, we aim to provide a superior bilingual reading experience while keeping the costs minimal.
- 🎯 Multiple Translation API Support
- DeepSeek API (Recommended)
- OpenAI API
- Google Translate API
- 🎨 Elegant Linear-style Interface
- 📚 Perfect Preservation of Original Formatting
- 🔄 Real-time Translation Progress
- ⚡ Pause & Resume Support
- 🛠️ Rich Translation Options
- Translation Styles (Literal/Free/Balanced)
- Domain Expertise (General/Technical/Literary/Business/Academic)
- Bilingual Display Mode
- macOS 10.15+
- Node.js 16+
- Python 3.9+
- npm 7+
- Clone the repository:
git clone https://github.com/yourusername/epub-translator.git
cd epub-translator
- Install dependencies:
# Install Node.js dependencies
npm install
# Install Python dependencies
pip3 install -r requirements.txt
- Start the application:
npm start
-
Configure translation settings:
- Choose translation API (DeepSeek/OpenAI/Google)
- Set up API key
- Select translation style and domain
-
Select an ePub file
-
Click "Start Translation"
-
Find the bilingual version in the same directory as the original file
- Frontend
- React 18
- Vite
- Tailwind CSS
- Linear UI Design
- Backend
- Electron
- Python
- ebooklib
- Fork the repository
- Create your feature branch (
git checkout -b feature/AmazingFeature
) - Commit your changes (
git commit -m 'feat: Add some AmazingFeature'
) - Push to the branch (
git push origin feature/AmazingFeature
) - Open a Pull Request
This project is licensed under the MIT License - see the LICENSE file for details
Henry Huang |
- Website: bravohenry.com
- Email: [email protected]
Special thanks to:
- DeepSeek for their exceptional LLMs
- Electron
- React
- Tailwind CSS
- ebooklib