Automic VaultAutomic Vault

brew

Installer fanyi avec Homebrew

Consultez les chemins d'installation, exécutables, métadonnées et notes de sécurité de fanyi pour les workflows d'agents IA.

installation

Commandes d'installation supplémentaires

macOS

Homebrewvérifié · 100%
brew install fanyi

local Homebrew formula metadata

aperçu

Résumé du paquet

Chinese and English translate tool in your command-line

Commandes et alias

  • fanyi
  • fy

historique

Historique du projet et usages

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.

Historique du projet

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.

Historique d'adoption

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.

Modes d'utilisation

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.

Pourquoi les passionnés de paquets s'y intéressent

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.

Chronologie

  • 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.

posture de sécurité

Niveau de risque : vert

narrow executable package without higher-risk signals.

Classificateur de risque

risque vert · confiance faible · appliance

Pourquoi

  • narrow executable package without higher-risk signals

Signaux

  • metadata:no-higher-risk-signals

Comportement d'installation

  • Aucun hook post-install Homebrew n’est enregistré dans les métadonnées de formule.
  • Les métadonnées de bottle Homebrew sont disponibles pour 1 plateformes.
  • S’installe avec 1 dépendances d’exécution.

Revue recommandée

Avant une utilisation sans surveillance par un agent, vérifiez si l'outil lit des identifiants en clair, écrit un état distant, publie des artefacts ou lance des plugins.

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

exécutables

Exécutables installés

CommandeTypeExpositionNote
fanyicliexécutable global
fycliexécutable global

fraîcheur

Version et fraîcheur

Ces signaux séparent l'âge de génération de la page, l'activité du gestionnaire de paquets et la comparaison avec les versions amont. Un retard de version n'est signalé que lorsqu'une URL de preuve et des versions comparables sont présentes.

page générée2026-07-25
version du gestionnaire11.0.0
gestionnaire mis à jour2026-06-08
données localesOK
amontnot checked
dernière version détectéenon détecté

https://github.com/afc163/fanyi

métadonnées d'installation

Métadonnées du paquet

Clé du paquetbrew:fanyi
Version11.0.0
Gestionnaire de paquetsHomebrew
Page du gestionnaire de paquetshttps://formulae.brew.sh/formula/fanyi
Page d'accueilhttps://github.com/afc163/fanyi
Dépôthttps://github.com/afc163/fanyi
Docs amonthttps://github.com/afc163/fanyi#readme
LicenceMIT
Archive sourcehttps://registry.npmjs.org/fanyi/-/fanyi-11.0.0.tgz
Dernière mise à jour2026-06-08T21:46:19+02:00
Pulseupdated
Dépendancesnode
Bouteilledisponible (sur all)
post-install Homebrewnon défini
Serviceaucun déclaré

faits du registre

Détails de la base source

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

piste source

Généré depuis les données du dépôt

Cette page est servie par av-web depuis l'artéfact SQLite privé des paquets généré par scripts/generate-pkg-sqlite.py.

Sources utilisées

  • 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