dsh-plugin-duckduckgo-search
Manifest validKeyless DuckDuckGo search provider for DeepSeek Harness: the built-in web_search works with no API key and no infrastructure (HTML/Lite endpoints, parsing, result dedup)
dsh-plugin-duckduckgo-search — keyless DuckDuckGo search for DeepSeek Harness
Registers a DuckDuckGo-backed search provider into the harness web
capability seam (ctx.web) so the built-in web_search tool works with no
API key and no infrastructure: the plugin queries DuckDuckGo's public HTML
and Lite result pages and parses them — the same approach battle-tested
scraping clients use.
Pairs with @local/dsh-web-search-searxng: DuckDuckGo needs nothing
running (best default), while a self-hosted SearXNG stays the sturdier
choice for automation-heavy use. Switch between them by editing one line in
the profile patch.
How it fits
Implements the standard provider face (id, cheap available(),
search(request, signal) → { sources[], truncated }):
- two endpoint kinds: the
htmlpage (form POST) and thelitepage (GET);endpoint: "auto"tries html first and falls through to lite on failure or an empty parse; - titles/snippets are tag-stripped and entity-decoded;
/l/?uddg=…redirect wrappers are unwrapped back to target URLs; results dedupe in rank order; - query options ride the wire:
klregion,kpsafesearch (0/1/2→-2/-1/1),dfrecency (day/month/year); - the request's own
maxResultsand the configured cap are both honored; cancellation surfaces as the seam's stableWEB_ABORTED.
Caveat kept honest: this reads a rendered page, not a contract API. From a
desktop IP it is dependable; if DuckDuckGo throttles or reshapes, failures
surface as WEB_PROVIDER_ERROR with the endpoint named — switch to SearXNG
for those workloads.
Install
DSH Desktop: Settings → Plugins → add plugin, type the package name. From the
CLI: dsh plugin --profile <your-profile> add <name>, then restart the harness.
name: dsh-plugin-duckduckgo-search
Config
| Field | Default | Meaning |
|---|---|---|
endpoint | auto | auto / html / lite |
language | "" | DDG region, e.g. ru-ru, en-us; empty = all |
safesearch | 1 | 0 off · 1 moderate · 2 strict |
timeRange | "" | day / month / year; empty = any |
maxResults | 20 | Provider-side source cap |
requestTimeoutMs | 15000 | Per-request backstop timer |
userAgent | Chrome-like UA string | DuckDuckGo throttles generic clients harder |
acceptLanguage | "" | e.g. ru,en |
Editable live from the harness settings UI under the web-search-duckduckgo
namespace; each search snapshots the current section.
Checks
node test/smoke.mjs # helpers, parsing, auto-fallback, caps, failures, abort
(The test symlinks node_modules at the profile tree when present so the
plugin's @deepseek-ai/* imports resolve outside the installed location.)
Comments
Loading…
Similar plugins
by korosu
Keyless DuckDuckGo HTML-scrape web_search provider for the DeepSeek Harness (ctx.web seam): no API key, no extra model turn, one command to install.
★ 0
MIT
TypeScript
Oct 13, 2026
dsh plugin --profile web add dsh-web-search-ddgby DDDMUC
Free web search provider for DeepSeek Harness - DuckDuckGo backend, no API key needed
★ 1.3k
↓ 34.6k/wk
MIT
JavaScript
Nov 17, 2026
dsh plugin --profile web add dsh-free-searchby BharathBillawa
DuckDuckGo web search and URL fetch tools for DeepSeek Harness, no API key required. Provides web_search (via ddgs) and web_fetch (via trafilatura) as a drop-in bundle
★ 0
JavaScript
Aug 22, 2026
dsh plugin --profile web add dsh-tool-ddgsby Bronier
Keyless web search provider for DeepSeek Harness backed by 360 Search (so.com). 免 API Key 的 DSH 联网搜索提供方。
★ 0
MIT
JavaScript
Aug 27, 2026
dsh plugin --profile web add dsh-web-search-so360by shinjiyu
Zero-config web_search for DeepSeek Harness when you are not on the official DeepSeek API.
★ 4
↓ 172/wk
MIT
TypeScript
Aug 15, 2026
dsh plugin --profile web add dsh-plugin-searchby abcdream-Lary
DeepSeek Harness (DSH) 的多提供商网页搜索和页面获取插件:AnySearch、Bing、DuckDuckGo、Tavily、Exa
★ 2
MIT
JavaScript
Aug 22, 2026
dsh plugin --profile web add dshsearch-multi