A command-line translator for Chinese and English, powered by iciba and deepseek.
Fanyi is a command-line translator that provides fast and accurate translations between Chinese and English. It leverages iciba and deepseek's large language model to deliver translation results directly in the terminal, eliminating the need for browser-based tools. The tool is designed for developers and users who need quick language translations without leaving their workflow.
Developers, translators, and bilingual users who frequently work in terminal environments and need instant Chinese-English translations.
Fanyi stands out for its speed, simplicity, and dual-source translation accuracy, offering a lightweight, configurable alternative to web-based translation services.
A 🇨🇳 and 🇺🇸 translator in your command line
Open-Awesome is built by the community, for the community. Submit a project, suggest an awesome list, or help improve the catalog on GitHub.
Combines iciba for dictionary-style results and deepseek's LLM for nuanced translations, providing comprehensive output as shown in the detailed example for 'love'.
Uses minimal commands like `fanyi word` or `fy` for instant translations, optimized for fast terminal use without browser overhead.
Allows global disabling of colors or sources via `fanyi config set`, giving users control over presentation and data sources.
Includes `fanyi list` to view recent translation history, aiding in reference and reuse of past searches.
Only supports Chinese-English translation, making it ineffective for multilingual projects or other common language pairs.
Relies on external APIs like deepseek, requiring an API key that may incur costs or fail if services change, as noted in the configuration section.
Version 9.0 removed useful features like pronunciation, openai, and youdao translations, narrowing functionality compared to earlier versions.