MCPcopy
hub / github.com/wensonsmith/YoudaoTranslator

github.com/wensonsmith/YoudaoTranslator @3.1.0 sqlite

repository ↗ · DeepWiki ↗ · release 3.1.0 ↗
70 symbols 141 edges 11 files 2 documented · 3%
README

YoudaoTranslate | 有道翻译

GitHub stars GitHub stars

screenshot_1

⚠️ V3 更新说明

该版本使用 TS 重构,自带运行环境,不再依赖 PHP。同时支持多个平台的 API。

macOS Monterey 请使用 V3 版本!

标记为施工中 (🚧) 特性 V3 尚未支持,如果需要使用,请切换到 V2 使用。

特性

🚀 开始使用

🌚 遇到问题不要怕,扫码加群来解答,点击扫码

1. 下载安装

2. 配置Workflow

👉 请参考 wiki 进行配置

Contributors

~~Buy me a coffee~~ 🍼 冲奶粉!

微信支付

使用库和参考资料

  • https://github.com/joetannenbaum/alfred-workflow
  • https://www.alfredapp.com/help/workflows/inputs/script-filter/json/
  • https://www.alfredapp.com/help/workflows/

Extension points exported contracts — how you extend this code

Adapter (Interface)
(no doc) [2 implementers]
src/adapters/adapter.ts
ITranslator (Interface)
(no doc) [1 implementers]
src/translator.ts
IItem (Interface)
(no doc)
src/workflow/item.ts
Result (Interface)
(no doc)
src/adapters/adapter.ts

Core symbols most depended-on inside this repo

AddUnsigned
called by 20
src/libs/md5.js
FF
called by 16
src/libs/md5.js
GG
called by 16
src/libs/md5.js
HH
called by 16
src/libs/md5.js
II
called by 16
src/libs/md5.js
redaxios
called by 7
src/libs/redaxios.js
addResult
called by 5
src/adapters/youdao.ts
setMod
called by 5
src/workflow/item.ts

Shape

Method 39
Function 17
Class 10
Interface 4

Languages

TypeScript100%

Modules by API surface

src/workflow/item.ts22 symbols
src/libs/md5.js14 symbols
src/adapters/youdao.ts12 symbols
src/adapters/baidu.ts8 symbols
src/translator.ts5 symbols
src/workflow/workflow.ts4 symbols
src/libs/redaxios.js2 symbols
src/adapters/adapter.ts2 symbols
src/index.ts1 symbols

Dependencies from manifests, versioned

rimraf3.0.2 · 1×
rollup2.59.0 · 1×
rollup-plugin-copy3.4.0 · 1×
rollup-plugin-ts1.4.7 · 1×
rollup-plugin-uglify6.0.4 · 1×
typescript4.4.4 · 1×

For agents

$ claude mcp add YoudaoTranslator \
  -- python -m otcore.mcp_server <graph>

⬇ download graph artifact