🍺 BREW Explorer

← all formulae

fanyi

brew install fanyi v11.0.0 MIT

Chinese and English translate tool in your command-line

34
30-day installs · #5557
84
90-day · #5978
368
365-day · #5831
1.5k
★ GitHub stars · updated 2mo ago

Runtime dependencies

GitHub topics

chinese command-line command-line-tools groq llama3 nodejs translation translator

Links

Raw metadata
{
  "aliases": [],
  "alternatives": [],
  "build_dependencies": [],
  "categories": [],
  "caveats": null,
  "conflicts_with": [],
  "dependencies": [
    "node"
  ],
  "deprecated": 0,
  "deprecation_reason": null,
  "desc": "Chinese and English translate tool in your command-line",
  "disable_reason": null,
  "disabled": 0,
  "enrichment_fetched_at": "2026-06-20T23:37:30+00:00",
  "first_seen": "2026-06-20T23:34:18+00:00",
  "full_name": "fanyi",
  "github_default_branch": "main",
  "github_last_commit_at": "2026-06-15T05:04:53Z",
  "github_readme_excerpt": "\u003cdiv align=\"center\"\u003e\n\n# F\u0101ny\u00ec (\u7ffb\u8bd1)\n\nA \ud83c\udde8\ud83c\uddf3 and \ud83c\uddfa\ud83c\uddf8\ud83c\uddec\ud83c\udde7 translator in your command line, powered by iciba, youdao and LLM.\n\n[![NPM version][npm-image]][npm-url]\n[![npm download][download-image]][download-url]\n[![build status][github-actions-image]][github-actions-url]\n[![Codecov][codecov-image]][codecov-url]\n[![Agent Skill][skill-image]][skill-url]\n[![Sponsor][sponsor-image]][sponsor-url]\n\n[npm-image]: http://img.shields.io/npm/v/fanyi.svg?style=flat-square\n[npm-url]: http://npmjs.org/package/fanyi\n[github-actions-image]: https://github.com/afc163/fanyi/actions/workflows/test.yml/badge.svg\n[github-actions-url]: https://github.com/afc163/fanyi/actions/workflows/test.yml\n[codecov-image]: https://img.shields.io/codecov/c/github/afc163/fanyi/main.svg?style=flat-square\n[codecov-url]: https://app.codecov.io/gh/afc163/fanyi\n[download-image]: https://img.shields.io/npm/dm/fanyi.svg?style=flat-square\n[download-url]: https://npmjs.org/package/fanyi\n[skill-image]: https://img.shields.io/badge/Agent-Skill-d97757?style=flat-square\n[skill-url]: skills/fanyi\n[sponsor-image]: https://img.shields.io/badge/Sponsor-%E2%9D%A4-ea4aaa?style=flat-square\u0026logo=github-sponsors\n[sponsor-url]: https://github.com/sponsors/afc163\n\n![](https://github.com/user-attachments/assets/edf0d6f7-a3d1-496d-9422-71522198d61c)\n\n\u003c/div\u003e\n\n[fanyi@11.0.0](https://github.com/afc163/fanyi/releases/tag/v11.0.0) \u6b63\u5f0f\u53d1\u5e03\uff01\u8fd9\u4e00\u7248**\u5f00\u7bb1\u5373\u7528\u3001\u65e0\u9700\u4efb\u4f55\u914d\u7f6e**\uff1a\u5185\u7f6e\u514d\u8d39 LLM \u4ee3\u7406\uff0c\u88c5\u4e0a\u5c31\u80fd\u7528\u5927\u6a21\u578b\u7ffb\u8bd1\u3002\u540c\u65f6\u6062\u590d\u4e86\u6709\u9053\u8bcd\u5178\uff0cLLM \u7ed3\u679c\u652f\u6301\u6d41\u5f0f\u8bed\u4e49\u7740\u8272\uff0c\u5e76\u65b0\u589e\u4e86\u8ba9 AI Agent \u76f4\u63a5\u8c03\u7528 fanyi \u7684 [Agent Skill](skills/fanyi)\u3002\u4f9d\u65e7\u662f\u4f60\u547d\u4ee4\u884c\u4e2d**\u6700\u7b80\u5355\u987a\u624b\u5feb\u6377**\u7684\u4e2d\u82f1\u6587\u7ffb\u8bd1\u5de5\u5177\u3002\n\n- \ud83c\udd93 \u5185\u7f6e\u514d\u8d39 LLM \u4ee3\u7406\uff0c\u65e0\u9700 API Key \u5373\u53ef\u4f7f\u7528\u5927\u6a21\u578b\u7ffb\u8bd1\uff0c\u5f00\u7bb1\u5373\u7528\u3002\n- \ud83c\udf0a LLM \u7ed3\u679c\u6d41\u5f0f\u8f93\u51fa + \u8bed\u4e49\u7740\u8272\uff0c\u8fb9\u751f\u6210\u8fb9\u4e0a\u8272\uff0c\u7b49\u5f85\u65f6\u663e\u793a\u5b9e\u65f6\u8017\u65f6\u3002\n- \ud83d\udcd6 \u6062\u590d\u6709\u9053\u8bcd\u5178\u7ffb\u8bd1\u6e90\uff0c\u4e0e iciba\u3001LLM \u4e09\u8def\u7ed3\u679c\u5e76\u5217\u3002\n- \u2728 \u5168\u65b0\u9752\u7d2b\u6d41\u5149 spinner \u4e0e\u7eff\u8272\u5fae\u6e10\u53d8\u8bcd\u4e49\u7740\u8272\uff0c\u8f93\u51fa\u66f4\u7075\u52a8\u3002\n- \ud83e\udd16 \u65b0\u589e [Agent Skill](skills/fanyi)\uff0c\u8ba9 Claude Code \u7b49 AI Agent \u81ea\u52a8\u8c03\u7528 fanyi \u7ffb\u8bd1\u3002\n- \ud83d\udd27 \u652f\u6301\u81ea\u5b9a\u4e49 LLM\uff1a\u914d\u7f6e `LLM_API_KEY` / `LLM_API_BASE_URL` / `LLM_MODEL_ID` \u63a5\u5165\u4efb\u610f OpenAI \u517c\u5bb9\u6a21\u578b\u3002\n\n## Install\n\n```bash\n$ npm i fanyi -g\n```\n\nor\n\n```bash\n$ bun i fanyi -g\n```\n\n## Usage\n\n```bash\n$ fanyi word\n```\n\nFor short:\n\n```bash\n$ fy word\n```\n\n",
  "github_repo": "afc163/fanyi",
  "github_stars": 1543,
  "github_topics": [
    "chinese",
    "command-line",
    "command-line-tools",
    "groq",
    "llama3",
    "nodejs",
    "translation",
    "translator"
  ],
  "homepage": "https://github.com/afc163/fanyi",
  "homepage_og_description": null,
  "homepage_og_image": null,
  "homepage_title": null,
  "installs_30d": 34,
  "installs_365d": 368,
  "installs_90d": 84,
  "keg_only": 0,
  "keg_only_reason": null,
  "last_seen": "2026-06-20T23:34:18+00:00",
  "license": "MIT",
  "llm_generated_at": null,
  "llm_model": null,
  "name": "fanyi",
  "oldnames": [],
  "one_liner": null,
  "optional_dependencies": [],
  "rank_30d": 5557,
  "rank_365d": 5831,
  "rank_90d": 5978,
  "raw_hash": "b793a37b873d6204",
  "recommended_dependencies": [],
  "revision": 0,
  "ruby_source_path": "Formula/f/fanyi.rb",
  "tap": "homebrew/core",
  "test_dependencies": [],
  "uses_from_macos": [],
  "version_head": null,
  "version_stable": "11.0.0",
  "versioned_formulae": [],
  "why_use_this": null
}