DSH HUB
HomePlugin StorePlugin PacksCommunityRankingsResourcesPublish Guide
Plugin source
Back to catalog

SUJIElearning /

SUJIElearning/dsh-search-nokey

Verified

DSH search plugin without any API key - free Bing-backed search provider, no key needed. DSH 无需任何 API key 的联网搜索插件。

★ 0 Stars0 Forks0 IssuesN/A Community rating0 Confirmed installs
View on GitHub
READMESource: main@ac9f0f35

@sujielearning/dsh-search-nokey

DeepSeek Harness (DSH) 无需任何 API key 的联网搜索插件。 不花一分钱、不申请 key、不注册——装上就能搜。

License: MIT DSH Plugin


这是什么

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,零手改配置

安装(小白友好)

方式 A:一键脚本(推荐,Windows)

下载 install.ps1,右键 → "使用 PowerShell 运行"。 脚本会自动找到你的 DSH 位置并安装插件,不用手动输入任何命令。

或者复制这一条命令到 PowerShell 运行:

powershell -ExecutionPolicy Bypass -File install.ps1

方式 B:手动命令

如果 dsh 命令在你的环境里可用:

dsh plugin --profile web add 'github:SUJIElearning/dsh-search-nokey'

如果 dsh 命令不存在(npm 安装的 DSH 没有全局命令),用 node 直接调 bin.js:

node "你的DSH路径\node_modules\@deepseek-ai\dsh\lib\bin.js" 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)。

⚠️ 注意:如果你是 npm 安装的 DSH,不要在安装目录里直接跑 pnpm dsh—— pnpm 会把 npm 装的包挪到 .ignored,破坏现有安装。用方式 A 或 B。

验证装好了

问 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

MIT

Made with ❤️ for the DSH community

—/ 5

No ratings yet

Verified DSH bundle

Commit ac9f0f35011a

Community comments

No comments yet. Be the first to write one.

DSH HUB

A community index for DSH plugins. Not an official GitHub or DeepSeek AI product.

CommunityResourcesAPIAbout