softspark/dsh-web-search-searxng0

@softspark/dsh-web-search-searxng

基于 SearXNG 实例的 DSH 网页搜索服务商插件,提供无厂商 API 密钥、无账号关联的元搜索。

AI 分析

核心用途是提供隐私安全的联网搜索。适合注重隐私保护、不希望搜索记录被账号绑定的用户。需要配置可用的 SearXNG 实例地址。

套件
@softspark/dsh-web-search-searxng
版本
1.0.0
授權
Apache-2.0
最近更新
2026年9月8日

安裝

$npx -p @deepseek-ai/dsh dsh plugin --profile web add github:softspark/dsh-web-search-searxng

Configuration

KeyDefaultMeaning
baseURLrequiredAbsolute URL of the instance, without /search. No default: a guess would send queries somewhere you did not choose.
timeoutMs15000Upper bound on one search. Between 1000 and 120000.
languageunsetUI language passed through, e.g. pl or en-US.
safeSearch0SearXNG safe-search level: 0 off, 1 moderate, 2 strict.
categoriesunsetComma-separated categories, e.g. general,it.
enginesunsetComma-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.