SUJIElearning/dsh-search-nokey ↗★ 0
@sujielearning/dsh-search-nokey
Free Bing-backed search provider (scrapes public Bing search HTML, no API key needed) for the DeepSeek Harness web capability seam (ctx.web)
安装
$
npx -p @deepseek-ai/dsh dsh plugin --profile web add github:SUJIElearning/dsh-search-nokey说明文档
阅读完整 README ↗@sujielearning/dsh-search-nokey
DeepSeek Harness (DSH) 无需任何 API key 的联网搜索插件。 不花一分钱、不申请 key、不注册——装上就能搜。
这是什么
DSH 官方搜索需要 API key(DEEPSEEK_API_KEY)。key 缺失/是占位符时 web_search 就废了(报 api key invalid)。
这个插件用公开 Bing 搜索页代替官方 API:抓网页、解析结果块,输出规范的搜索结果。完全不需要 key——这是它存在的全部意义。
- 🆓 无 key:不依赖任何 API 凭据
- 🇨🇳 支持中文:
cn.bing.com+setlang=zh-hans - 📦 Bundle 自包含:装完自动注册 + 自动指定搜索 provider,零手改配置
安装
在 DSH 对话里复制粘贴:
dsh plugin --profile web add 'github:SUJIElearning/dsh-search-nokey'
装完重启 DSH(刷新 http://127.0.0.1:3080),搜索就能用。
原理:包的
package.json声明dsh.bundle.patch;安装后 DSH 自动加入dsh.profile.bundles,启动时自动应用包内cordis.patch.yml(注册插件 + 设searchProvider: bing)。
验证装好了
问 DSH 几个不同问题,结果应随之变化(如"北京天气"→ 天气网站,"DeepSeek 最新动态"→ 科技新闻)。每次不同 = ✅ 正常。
常见问题
| 现象 | 解决 |
|---|---|
provider bing is not registered | bundle 没装配;确认 dsh.profile.bundles 含本包 |
| 结果永远一样 | 重启 DSH,换不同问题 |
| 装新插件后搜索失效 | 新插件安装可能重写 bundles 列表,把本包挤掉了;dsh plugin --profile web add 'github:SUJIElearning/dsh-search-nokey' 重新加回 |
结构
dsh-search-nokey/
├── package.json # 声明 dsh.bundle.patch
├── cordis.patch.yml # 自注册 + searchProvider: bing
└── lib/ # 插件源码(index.js / invariant.js / types)
License
Made with ❤️ for the DSH community