Enabling “Web Search” for AI usually comes with a hurdle: DSH official search consumes a full model turn per search, directly deducting credits; the Bing API has been deprecated; SearXNG requires running your own Docker; and free tiers for API keys like Tavily/Brave will eventually run out.
Introducing dsh-web-search-zerokey. This is a zero-key web search plugin that requires no API keys, no local services, and consumes no model credits. It adopts a path of “scraping public web pages + calling public APIs.” Since public information itself does not require authorization, it is ready to use immediately upon installation.
Basic Information¶
- Name:
dsh-web-search-zerokey - Maintainer: AllenCoderBug
- Category: Web Tool
- License: MIT
Core Features¶
- Zero-Dependency Integration: No API keys required, no local services to start, no model credits consumed.
- Multi-Source Aggregation: Supports parallel searching across 7 data sources with automatic deduplication and merging, including Bing, Hacker News, GitHub, arXiv, npm, Juejin, and CSDN.
- Smart Routing: Supports automatic routing for Chinese and English. Chinese tech queries route to Juejin/CSDN, while lifestyle queries route to Bing (without mixing in English sources).
- Enhanced Signals: Includes Hacker News popularity scores and comment counts.
- Default Binding: Bound to the web search provider by default.
Installation and Activation¶
Desktop Version (Recommended)¶
Click Plugins in the sidebar → Enter zerokey in the search box → Click Install.
Once installed, macOS users must use Cmd+Q to fully quit DSH and reopen it. No additional configuration is required.
Command Line / Web Version¶
Install using the following command:
dsh plugin --profile web add dsh-web-search-zerokey
Verifying Installation¶
After restarting, run the following command to verify:
node ~/.dsh/profiles/desktop/node_modules/dsh-web-search-zerokey/scripts/verify.mjs
This script checks installation integrity, pin guards, process loading, and performs a functional smoke test item by item. If all pass, it will print 插件已生效 ✅ (Plugin is active ✅).
Restoring Official Search¶
If you wish to restore DSH official search, configure it in cordis.patch.yml:
- id: web
config:
searchProvider: deepseek-official
Optional Configuration¶
All configuration items below are optional; default values are defined in the code:
| Key | Default | Description |
|---|---|---|
multiSource |
true |
If disabled, only uses Bing |
includeContent |
false |
Scrape body text snippets (enabling this significantly increases latency) |
maxSnippetChars |
500 |
Max characters per snippet |
cacheTtlMs |
300000 |
Cache TTL (5 minutes) |
timeoutMs |
12000 |
Total timeout |
Known Limitations and Notes¶
- Bing Source Limitations: The Bing source involves page scraping and may be subject to robots.txt restrictions; the other 6 sources use public APIs.
- arXiv Limitations: Must strictly adhere to the 3-second/request limit (mandatory per official ToU).
- GitHub Rate Limiting: GitHub anonymous rate limit is 10 requests/hour; if the limit is hit, the source will automatically cool down.
- Latency Impact: Enabling
includeContentwill significantly increase latency. - macOS Exit: macOS users must use
Cmd+Qto fully quit DSH; closing the window is not equivalent to quitting the process.
Source Code and Directory¶
This plugin is an open-source project. You can view the source code on GitHub: https://github.com/AllenCoderBug/dsh-web-search-zerokey.