多引擎反向识图聚合:Google Lens、百度、Yandex、TinEye、SauceNAO、IQDB、Ascii2d。
安装
# GitHub 源码(首次需按提示配置 allowBuilds 构建授权后重试)
dsh plugin --profile web add github:zimai233/dsh-image-search
装任何插件都等于在你的机器上跑第三方代码,权限和你本人一样大——能读你的文件、用你的凭据、访问网络,工具审批管不到它。GitHub 来源的插件还会在安装时执行构建脚本——pnpm 默认拦截,所以安装可能停在 ERR_PNPM_GIT_DEP_PREPARE_NOT_ALLOWED 或 ERR_PNPM_IGNORED_BUILDS;dsh 会打印出需要添加的确切键名,把它加进该 profile 的 pnpm-workspace.yaml 的 allowBuilds 下,重跑一次即可装上。放行构建本身就是一次信任判断:请只安装可信来源,并尽量锁定 commit(github:owner/repo#sha)。
README
多引擎反向图片搜索聚合器,为 DeepSeek Harness 而生。
Multi-engine reverse image search aggregator for DeepSeek Harness.
把一张公网图片 URL,一键转成 Google Lens / 百度识图 / Yandex / TinEye / Bing 视觉搜索 / 搜狗识图 / SauceNAO / IQDB / Ascii2d 的搜索链接——纯 URL 构造,零网络请求,零依赖。
Turn one public image URL into search links for Google Lens / Baidu / Yandex / TinEye / Bing Visual Search / Sogou / SauceNAO / IQDB / Ascii2d — pure URL construction, zero network calls, zero dependencies.
为什么需要它 / Why
视觉生态里已经有 OCR 和 UI 还原,但没有插件做多引擎反向图片搜索聚合——没有任何东西能把 Google Lens / 百度 / Yandex / TinEye / SauceNAO / IQDB / Ascii2d 一次配齐。
The vision ecosystem has OCR and UI restoration, but nobody aggregates multi-engine reverse image search — nothing puts Google Lens / Baidu / Yandex / TinEye / SauceNAO / IQDB / Ascii2d together in one call. This plugin is the aggregation wedge: 一次提交,全网溯源。
特性 / Features
image_search_urls— 返回 JSON 数组[{ id, name, group, url }],每个引擎一条搜索链接。可按engines(逗号分隔 id)或group(通用/插画/动漫)过滤。image_search_engines— 返回按分组归类的全部 9 个引擎(含模板与是否编码),用于发现引擎 id。image_search_best— 返回人类可读的 Markdown 摘要:一行总览 + 每个引擎一条可点击链接。- 纯 URL 构造,不发起任何实际抓取请求——安全、零依赖、可离线运行。
- 零构建步骤——纯 ESM,发布即运行时代码。无
prepare脚本,无需构建权限。
安装 / Install
# from npm
dsh plugin --profile myprofile add dsh-image-search
# from GitHub (lock the commit for supply-chain hygiene)
dsh plugin --profile myprofile add github:zimai233/dsh-image-search#<sha>
用法 / Usage
用自然语言让 agent 执行:
"帮我用这张图搜一下源头:https://example.com/img.png —— 先列出所有引擎的搜索链接"
Agent 会调用 image_search_urls:
{
"imageUrl": "https://example.com/img.png"
}
返回示例(截取):
[
{ "id": "google", "name": "Google Lens", "group": "通用", "url": "https://lens.google.com/uploadbyurl?url=https%3A%2F%2Fexample.com%2Fimg.png" },
{ "id": "saucenao", "name": "SauceNAO", "group": "插画/动漫", "url": "https://saucenao.com/search.php?url=https://example.com/img.png" }
]
也可以限定引擎 / 分组:
{
"imageUrl": "https://example.com/img.png",
"engines": "google,saucenao",
"group": "插画/动漫"
}
工具参考 / Tool Reference
| Tool | 参数 Parameters | 返回 Returns |
|---|---|---|
image_search_urls |
imageUrl (required), engines?, group? |
JSON 数组 [{ id, name, group, url }] |
image_search_engines |
— | 按 group 分组的 JSON,含模板与 encode 标志 |
image_search_best |
imageUrl (required), engines? |
Markdown:总览行 + 每个引擎一条链接 |
引擎表 / Engines
| id | name | group | encode |
|---|---|---|---|
google |
Google Lens | 通用 | ✓ |
baidu |
百度识图 | 通用 | ✓ |
yandex |
Yandex | 通用 | ✓ |
tineye |
TinEye | 通用 | ✓ |
bing |
Bing 视觉搜索 | 通用 | ✓ |
sogou |
搜狗识图 | 通用 | ✓ |
saucenao |
SauceNAO | 插画/动漫 | ✗ |
iqdb |
IQDB | 插画/动漫 | ✗ |
ascii2d |
Ascii2d | 插画/动漫 | ✗ |
encode 为 true 的引擎走 query-string 参数(图片 URL 需 encodeURIComponent 编码);为 false 的引擎走路径式参数(需原样 URL)。
开发 / Development
npm install
npm test # node:test 直接跑纯核心函数 buildEngineUrls / groupEngines
npm run pack # dry-run publish (pnpm pack equivalent)
许可证 / License
MIT
链接
同类插件
Tencent/BrowserSkill#dsh-plugin-browserskill★ 7561
BrowserSkill 的 DeepSeek Harness 浏览器自动化桥接插件,通过原生浏览器工具控制可见的 Chrome 和 Edge Agent Window,支持可访问性与 VOM 页面观察、截图、隔离的多会话控制和 Web UI 实时观察浮层。
omdsh-dev/dsh-browser#packages/browser/bridge-browser★ 734
Chrome 侧边栏扩展,让 DSH 直接操控你的浏览器,无需视觉能力。
liustack/modsearch★ 559
纯文本 agent 的联网搜索桥:搜索网页与 X,返回结构化 JSON 证据(search/fetch/引用)。
DDDMUC/dsh-free-search★ 265
DSH 免费搜索插件:7 个引擎(DuckDuckGo/Bing/SearXNG 免费 + Exa/Perplexity/DeepSeek 付费)、自动回退、设置页 UI(API key 输入 + 官网链接)、web_fetch、引擎测试工具。
Tabbit-Browser/dsh-tabbit★ 101
让 DeepSeek Harness 能够控制 Tabbit 浏览器:安装即自动加载 tabbit-browser skill,检测国际版 Tabbit 与国内版 Tabbit Browser 正式版(>= 1.9.0),检查 tabbit-cli 常驻运行时,按平台诊断调用 CLI 所需的 DSH sandbox 模式,并在没有合格版本时通过后台任务下载与系统地区匹配的正式版安装包。
wqty123/dsh-browser★ 83
共享真实浏览器:用户可观看并随时接管的原生 Electron 窗口,agent 通过 CDP 驱动,内置 20 个 browser_* 工具(打开/快照/执行/填表/截图/下载/登录态);任务级会话隔离、登录态持久化、人机验证识别,纯 `dsh web` 无需桌面外壳即可自托管。
社区评论
评论公开保存在 GitHub Discussions。加载评论会连接 GitHub 和 Giscus;发表内容需要 GitHub 账号。