softspark/dsh-web-search-searxng ↗★ 0
@softspark/dsh-web-search-searxng
基于 SearXNG 实例的 DSH 网页搜索服务商插件,提供无厂商 API 密钥、无账号关联的元搜索。
AI 分析
核心用途是提供隐私安全的联网搜索。适合注重隐私保护、不希望搜索记录被账号绑定的用户。需要配置可用的 SearXNG 实例地址。
安装
$
npx -p @deepseek-ai/dsh dsh plugin --profile web add github:softspark/dsh-web-search-searxng说明文档
阅读完整 README ↗Configuration
| Key | Default | Meaning |
|---|---|---|
baseURL | required | Absolute URL of the instance, without /search. No default: a guess would send queries somewhere you did not choose. |
timeoutMs | 15000 | Upper bound on one search. Between 1000 and 120000. |
language | unset | UI language passed through, e.g. pl or en-US. |
safeSearch | 0 | SearXNG safe-search level: 0 off, 1 moderate, 2 strict. |
categories | unset | Comma-separated categories, e.g. general,it. |
engines | unset | Comma-separated engine names, narrowing what the instance queries. |
Unset optional keys are omitted from the request rather than sent empty, so the instance's own defaults apply.
The instance must be allowed to answer in JSON
SearXNG does not enable the JSON output format by default. Without it, the instance answers the same URL with a rendered results page and HTTP 200 — which would read as "no results" if this provider did not check. Add it to the instance's settings.yml:
search:
formats:
- html
- json
The provider names this fix in the error when it sees HTML, so the failure is one you can act on rather than one you have to guess at.