Automic VaultAutomic Vault

brew

fanyi を Homebrew でインストール

fanyi のインストール経路、実行ファイル、メタデータ、AI エージェント向けセキュリティノートを確認します。

インストール

追加のインストールコマンド

macOS

Homebrew確認済み · 100%
brew install fanyi

local Homebrew formula metadata

概要

パッケージ概要

Chinese and English translate tool in your command-line

コマンドとエイリアス

  • fanyi
  • fy

履歴

プロジェクトの歴史と使われ方

Fanyi is a Chinese-English command-line translation tool. The README describes it as powered by iciba, Youdao, and LLM translation, with the `fanyi` command and shorter `fy` alias.

プロジェクトの歴史

The repository was created in December 2013, making Fanyi one of the longer-running small CLI tools in this batch. Its core workflow remains intentionally simple: install globally with npm or bun, then run `fanyi word` or `fy word` for dictionary and translation output.

In 2026, the v11.0.0 release announcement in the README highlighted a shift toward out-of-the-box LLM translation through a built-in free proxy, restored Youdao support, streaming semantic coloring, custom OpenAI-compatible LLM configuration, and an agent skill.

採用の歴史

Official project surfaces include npm distribution, Homebrew packaging in the input facts, GitHub releases, and README badges for npm version and monthly downloads. The repository metadata also shows substantial GitHub interest for a small translation CLI.

使われ方

The normal user flow is `fanyi <word-or-sentence>` or `fy <word-or-sentence>`, with support for Chinese and English words, phrases, and sentences. `fanyi list` shows lookup history.

Configuration lives at `~/.config/fanyi/.fanyirc` and can be managed with `fanyi config set`. Users can disable individual sources, turn color off, or set `LLM_API_KEY`, `LLM_API_BASE_URL`, and `LLM_MODEL_ID` for custom OpenAI-compatible models.

パッケージ好きにとっての重要性

Fanyi is package-manager-friendly because it turns a web dictionary and translation workflow into a tiny global CLI. Its 2026 LLM and agent-skill additions also show how older Node command-line packages are being refreshed for AI-agent and model-backed workflows.

タイムライン

  • 2013: Repository created.
  • 2020: v4.2.0 released.
  • 2023: v8.0.0 released.
  • 2025: v10.0.0 released.
  • 2026: v11.0.0 released with built-in LLM proxy and agent skill.

Related projects

  • iciba and Youdao are documented translation sources.
  • OpenAI-compatible chat APIs are supported for custom LLM translation.
  • npm is the primary JavaScript package distribution channel.

セキュリティ状態

リスクレベル: グリーン

narrow executable package without higher-risk signals.

リスク分類器

リスク グリーン · 信頼度 低 · appliance

理由

  • narrow executable package without higher-risk signals

信号

  • metadata:no-higher-risk-signals

インストール挙動

  • formula メタデータに Homebrew post-install フックは記録されていません。
  • Homebrew bottle メタデータは 1 個のプラットフォームターゲットで利用できます。
  • 1 件の実行時依存関係とともにインストールされます。

推奨レビュー

エージェントに無人実行させる前に、このツールが平文の認証情報を読むか、リモート状態を書き込むか、成果物を公開するか、プラグインを起動するかを確認してください。

local files

Configuration and credential file locations

These source-backed paths show where this package keeps local settings or durable credentials. Automic Vault can use them as review targets for secret scanning, migration, and command approval.

Configuration files

Config paths the tool may read or write during local use.

Unix
~/.config/fanyi/.fanyirc

Credential files

Credential-bearing paths to review before unattended agent runs.

Unix
~/.config/fanyi/.fanyirc

実行可能ファイル

インストールされる実行可能ファイル

コマンド種類公開範囲メモ
fanyicliグローバル実行可能ファイル
fycliグローバル実行可能ファイル

鮮度

バージョンと鮮度

これらの信号は、ページ生成時期、パッケージマネージャの活動、上流リリース比較を分けて示します。バージョン遅れは、証拠 URL と比較可能なバージョンがある場合だけ警告されます。

ページ生成日2026-07-25
マネージャ版11.0.0
マネージャ更新日2026-06-08
ローカルデータOK
上流not checked
検出された最新未検出

https://github.com/afc163/fanyi

インストールメタデータ

パッケージメタデータ

パッケージキーbrew:fanyi
バージョン11.0.0
パッケージマネージャHomebrew
パッケージマネージャページhttps://formulae.brew.sh/formula/fanyi
ホームページhttps://github.com/afc163/fanyi
リポジトリhttps://github.com/afc163/fanyi
上流ドキュメントhttps://github.com/afc163/fanyi#readme
ライセンスMIT
ソースアーカイブhttps://registry.npmjs.org/fanyi/-/fanyi-11.0.0.tgz
最終更新2026-06-08T21:46:19+02:00
Pulseupdated
依存関係node
Bottle利用可能 (対象 all)
Homebrew post-install未定義
サービス宣言なし

レジストリ情報

ソースデータベース詳細

Source DatabaseHomebrew formula API
Taphomebrew/core
Full Namefanyi
Version Scheme0
Revision0
Bottle Stable Root URLhttps://ghcr.io/v2/homebrew/core
Deprecatedno
Disabledno
Keg Onlyno
URL Keys
  • stable

ソース経路

リポジトリデータから生成

このページは scripts/generate-pkg-sqlite.py が生成した非公開のパッケージ SQLite アーティファクトから av-web によって提供されます。

使用ソース

  • Geiger risk classifier
  • Nucleus package database
  • av.db category and tag curation
  • cross-ecosystem install command graph
  • curated configuration and credential file locations
  • curated package history
  • package relationship graph
  • package version freshness
  • package-page enrichment