DeepSeek Harness Plugin Hub

Publish and manage complete Harness Profiles. Discover Plugins for your next setup.

Explore

PluginsPresetsDocsNews

Community

Publish a pluginContactReport an issue

Resources

Plugin Hub on GitHubDeepSeek HarnessSystem statusPrivacy notice
© 2026 DeepSeek Harness Plugin HubPowered byPaxTech

Independent and unofficial. Not affiliated with, authorized by, or endorsed by DeepSeek.

Web Searxng — DSH Plugin for DeepSeek Harness
DeepSeek Harness Plugin Hub
ProfilesPluginsCategoriesNewsDocsSign inManage Profiles
ProfilesPluginsCategoriesNewsDocsSign in
← Plugins

dsh-web-searxng

Web Searxng

DSH plugin: SearXNG-backed search provider for ctx.web (self-hosted, 1GB-VPS friendly)

The plugin will be installed here. Keep web if you are unsure.

npx -y @deepseek-ai/dsh plugin --profile web add dsh-web-searxng@0.1.0
READMECompatibilityVersions

Compatibility and provenance

Web Searxng is published as dsh-web-searxng and currently resolves to version 0.1.0. The Hub verifies its manifest and preserves the exact installation source for reproducible installs.

DSH compatibility
*
Runtime surfaces
web
Release source
npm
Registry updated
9/5/2026

Versions

0.1.0stable
9/5/2026

Related plugins

Loading related plugins…

Latest
0.1.0
DSH
*
HMR
Process restart
Tree shaking
Safe tree shaking not declared
Unpacked size
197.2 kB
Files
23
Surface
web
License
MIT
Source
npm
GitHub
★ 0
Weekly downloads
0
Last push
9/5/2026
View source ↗
README badge

Click the badge to copy Markdown for your README.

Do you maintain this Plugin?Claim benefit · Priority security scan

Verify the GitHub repository declared in package.json to manage this listing. After you claim it, Hub will prioritize a security scan of the current version and publish the result when it passes.

Claim this Plugin →
Report an issue

Related plugins

More verified plugins in search-research.

Browser Skill Dsh Plugin@wxg-prc-cpg/browser-skill-dsh-pluginDeepSeek Harness tool plugin that exposes BrowserSkill browser automation (browser_* tools) to the modelWeknora@wxg-prc-cpg/dsh-weknoraWeKnora knowledge retrieval tools for DeepSeek Harness (dsh): semantic search, document reading and RAG/agent answers over your own knowledge bases.Free Searchdsh-free-searchFree web search for DeepSeek Harness: 13 engines (Bing/DuckDuckGo/AnySearch/SearXNG/Exa/Tavily/Keenable/Firecrawl keyless; Parallel/Perplexity/SerpBase/DeepSeek with key) + time filtering + platform search + web_fetch, with web settings UI.Find Plugindsh-find-pluginFind DeepSeek Harness plugins inside the agent — live GitHub dsh-plugin topic search, ranked by stars.

README

dsh-web-searxng

Self-hosted SearXNG as the web_search backend for DSH. 给 DSH 接上自建 SearXNG 做 web_search 搜索后端(provider id: searxng)——不用把查询交给第三方搜索 API。

  • 🖥️ 设置页配置卡:实例地址 / BasicAuth / 分类 / 语言 / 安全搜索 / 出境代理(http/https/socks5(h)),保存实时生效、无需重启
  • 🔌 一键测试连接:真搜一次,返回可用性 / 延迟 / 结果条数;失败是正常结果,直接显示原因(403 未开 JSON、429 限流、超时……)
  • 📋 社区实例选择器:没自建也能用,searx.space 百级候选池,打开自动测速、可用的先列出来(满 10 个就停);临时故障(限流/超时)排在长期不可用(JSON 未开)前面
  • 🔄 一键刷新名单:走当前代理重拉 searx.space 并缓存,不用跑脚本
  • 🇨🇳🇺🇸 中英双语卡片;1G 内存 VPS 可跑自建实例(见 deploy/)

要求 Node >= 20,DSH web profile。

安装

dsh plugin --profile web add dsh-web-searxng

本地验证当前代码:

dsh plugin --profile web add file:/path/to/dsh-web-searxng

装完重启 dsh web。

设为默认搜索(pin)

多搜索后端并存时,把默认指到 searxng,否则会报 WEB_PROVIDER_AMBIGUOUS。可靠做法是改 profile 用户层 ~/.dsh/profiles/web/cordis.patch.yml(patch 整段替换 config,两个 key 都要写):

- id: web
  config:
    searchProvider: searxng
    fetchProvider: http

改完 dsh --profile web --dump-config 确认,再重启。只想试一次:dsh --profile web --patch ./pin-searxng.patch.yml(内容同上)。环境变量 DSH_WEB_SEARCH_PROVIDER=searxng 只在 composition 没写 pin 时生效,官方 base 默认写了 deepseek-official,单用它会被盖掉——本插件也不会自带 pin(全局默认是运维侧的选择,插件抢 pin 会打架)。

验证:

web_search({queries: ["searxng format=json"]})

配置

设置页 SearXNG 搜索 卡全部可配,也支持环境变量回退(SEARXNG_BASE_URL / SEARXNG_USERNAME / SEARXNG_PASSWORD / SEARXNG_PROXY_URL,见 .env.example)。优先级:设置页 > composition entry > 环境变量。

字段说明默认
baseURLSearXNG 实例地址,留空 = 未配置(provider 不可用)""
username / passwordBasicAuth,公用实例留空即不发 Authorization 头""
categories / languageSearXNG 搜索参数general / zh-CN
safesearch0 关闭 / 1 中等 / 2 严格1
proxyUrl出境代理,留空 = 直连;出境受限的机器必填""

自建实例(deploy/)

deploy/
├── docker-compose.yml   # core(单 worker)+ valkey + Caddy,1G 内存可跑
├── Caddyfile            # HTTPS + BasicAuth + 只放行 /search
├── .env.example         # secret 模板
└── core-config/
    └── settings.yml     # formats 必开 json;引擎精简到抗封组合
cp deploy/.env.example ~/searxng/.env   # 填入真实 secret
# up 起容器后:
curl -su dsh:你的密码 'https://search.example.com/search?q=searxng&format=json' | head -c 2000

本地开发

pnpm install
pnpm run typecheck
pnpm run build     # host(tsc)+ client(tsc 声明 + esbuild bundle)
make help          # sync / smoke / probe / update-instances
make sync          # 构建后用本地 file: 覆盖到 dsh web profile 验证

实现要点:

  • src/host/provider.ts — GET /search?format=json 薄适配,只返回真实来源,不编造成式内容
  • src/host/probe.ts / instances.ts — 测试连接与名单刷新走 settings section 请求/响应往返(故意不用 host↔client RPC:第三方 client 上下文调不通 ctx.remote.<ns>)
  • src/host/dispatcher.ts — 出境代理(undici ProxyAgent + socks bespoke Dispatcher)
  • src/client/ — 配置卡 + 选择器(中英 locale;可用优先、失败分层、待测态、100 候选早停)

安全说明

  • 密码存于本地 settings 文档明文(与 env 同等敏感度),v1 不做 credentials-service 迁移。
  • 社区实例可见查询明文,不要搜敏感内容;自建用 Caddy BasicAuth + 只放行 /search。
  • 不要加 google 引擎(VPS IP 易触发 CAPTCHA);搜出来慢先 curl 直测 VPS 本机 vs 经 Caddy 定位。

文档

  • docs/00-solution-full.md — 全套方案(VPS 内存账本 / compose / 接线 / 排错)
  • docs/01-background.md — DSH 分层与 SearXNG API 调研
  • docs/02-TODO.md — 后续清单

License

MIT — 见 LICENSE。