fangqian616/dsh-local-search
一个 DeepSeek Harness 插件,注册 bingsearch 模型工具,用于零依赖的本地网页搜索 —— 无需 API key、无需 firecrawl、无需注册。它直接从宿主机抓取 Bing 的 HTML,并解析出标题 / 链接 / 摘要。
catalog descriptioncatalog 简介 / catalog description:拒绝花里胡哨,让你的dsh用本地网络搜索信息 | Zero-dependency local Bing search DSH plugin
Project Overview项目介绍
This is a native plugin built exclusively for DeepSeek Harness (DSH) that adds a bing_search tool to enable web search without any external API keys, additional runtime npm dependencies, or third-party crawling services like firecrawl. To install the plugin, users only need to run the DSH CLI command dsh plugin --profile web add @fangqian616/dsh-bing-search in their terminal, then restart their DSH instance to activate the tool. Once activated, the bing_search tool is available for DSH’s connected LLM to call directly whenever it needs to fetch up-to-date public web information from across the internet.
The plugin is specifically built to address common failure modes of DSH's default web_search tool. It is intended for use when the default keyless firecrawl integration gets blocked and returns a 403 error, or when the user has not set up any third-party search API key for their DSH instance. When called by the LLM, the tool accepts two parameters: a required search query string and an optional parameter that sets the maximum number of results to return, which defaults to 10. It then returns a structured list of results with each entry containing a title, URL, and text snippet.
The plugin fetches Bing search results directly using DSH's built-in ctx.web.fetch web service, parses the HTML with regular expressions to extract results, filters out self-promotional links from Bing and Microsoft, and has zero additional npm dependencies beyond DSH core. The developer chose Bing as the source because Bing is accessible without an API key in most regions, while many users face access blocks for alternative options like DuckDuckGo. There are important caveats to keep in mind: because parsing relies on Bing’s current front-end HTML structure, any changes to Bing’s page layout, or presentation of CAPTCHAs or consent pages will break the parser and cause the tool to return an error. The plugin is released under the permissive open-source MIT license.
这是专为 DeepSeek Harness (DSH) 开发的原生插件,会向 DSH 注册名为 bing_search 的网页搜索工具,支持在零依赖、不需要 API 密钥、不需要额外注册账号的情况下完成本地网页搜索。它直接调用 DSH 内置的 web 服务抓取必应搜索结果页的 HTML 代码,通过正则表达式解析出搜索结果的标题、链接和摘要。安装只需执行命令 dsh plugin --profile web add @fangqian616/dsh-bing-search 后重启 DSH 即可完成。
该插件主要供默认 web_search 工具无法正常使用时使用,比如遇到 firecrawl 无密钥访问被拒返回 403,或者用户尚未配置任何搜索 API 密钥的情况。它向大模型暴露可调用的 bing_search 工具,接受搜索关键词参数和可选的结果数量限制参数(默认值为 10),最终返回结构化的搜索结果列表,同时会自动过滤必应和微软自身的推广链接,适合因配置或访问限制无法使用默认搜索工具的 DSH 用户使用。
除 DSH 核心服务外,该插件没有任何额外的运行时 npm 依赖,属于零依赖工具。开发者选择使用必应作为搜索源,是因为不少地区无法正常访问 DuckDuckGo,而必应无需密钥即可访问。需要注意的是,搜索结果解析依赖正则表达式和必应当前的页面结构,如果必应改版、返回验证码或者用户协议页面,工具会返回错误且无法正常工作,插件采用 MIT 开源许可证发布。
请帮我安装这个 DSH 插件。安装前先完成【兼容性检查 + 安全性检查】,检查通过再动手。
插件:dsh-local-search(fangqian616/dsh-local-search)
仓库:https://github.com/fangqian616/dsh-local-search
本站详情页:https://www.yhbd.top/plugins/fangqian616-dsh-local-search/
本站登记:类型 plugin · 归类 原生 DSH 插件 · 许可证 MIT · ⭐ 2 · 最近提交 2026-09-05 · 主语言 JavaScript
按下面顺序执行,每步先把结论告诉我,再进入下一步:
【1 兼容性检查】
① 我这边:DSH 版本、Node 版本、操作系统、当前 profile(web / desktop)。
② 读它的 README、package.json、插件 manifest,列出它要求的 DSH 版本 / Node 版本 / 操作系统 / 外部依赖 / 需要另外先装的运行时。
③ 逐条比对,结论只写「满足 / 不满足 / 未知」三种;不满足的给出可行替代方案。
④ 检查是否和我已装的插件冲突:命令名重复、skill / tool 重名、端口占用、重复注册的 MCP server。
【2 安全性检查】
① 仓库可信度:和上面「本站登记」是否一致;star / fork 数、创建时间、最近提交,是否归档或长期停更。
② 安装脚本:逐行看 package.json 的 preinstall / install / postinstall,以及 install.sh、setup.ps1 之类脚本。出现 curl|bash、下载后直接执行、混淆代码、访问与插件功能无关的域名,立刻停下来告诉我,不要继续装。
③ 依赖:列出新增依赖,标出无人维护、或与知名包拼写近似的可疑包(typosquatting)。
④ 权限与副作用:它会读写哪些目录、访问哪些域名、需要哪些 DSH 权限(filesystem / network / shell / clipboard 等),以及怎么卸载和回滚。
⑤ 如果它要求 sudo / 管理员权限,或权限明显超出功能所需,先停下来问我。
【3 安装】
上面两步没有「不满足」和「高危项」时才执行;用官方推荐方式安装,不要自行提权。
【4 汇报】
用表格输出:检查项 / 结论 / 依据 / 是否需要我决策。拿不准的一律写「未知」并说明要我怎么确认——不要猜,也不要替我决定。
Send this message to DSH in your current session: it verifies compatibility and security first (answering met / not met / unknown item by item) and only installs once everything checks out — it will stop and ask you if it finds a high-risk item. The box scrolls; the copy is the full prompt. CLI install commands may not be accurate across systems, so DSH is the safer route.把上面这条消息直接发给当前会话里的 DSH:它会先核对兼容性与安全性(逐条给「满足 / 不满足 / 未知」),确认没问题再安装,有高危项会停下来问你。框内可滚动,复制到的是完整提示词;安装命令不一定准确,发给 DSH 更稳。
- Only 2 stars - very few users, little community feedback星标只有 2,几乎没人在用,遇到问题缺少社区反馈
DSH walks through these 9 checksDSH 会逐条核对这 9 项
Compatibility兼容性
- DSH, Node, OS and profile requirementsDSH 版本 / Node 版本 / 操作系统 / profile 是否满足要求
- External dependencies and runtimes (Electron / Python / Docker, ...)外部依赖与运行时(Electron / Python / Docker 等)是否齐备
- Conflicts with installed plugins: command names, skill / tool names, ports, duplicate MCP registration与已装插件是否冲突:命令名、skill / tool 重名、端口占用、重复 MCP 注册
Security安全性
- Repo matches the facts registered here; archived or abandoned?仓库是否与页面登记一致,是否归档或长期停更
- Safety of preinstall / install / postinstall and install.sh / setup.ps1preinstall / install / postinstall 与 install.sh、setup.ps1 是否安全
- curl|bash, download-then-execute, obfuscation, unrelated domains → stop immediatelycurl|bash、下载即执行、混淆代码、无关域名 → 立刻停止
- Typosquatting or unmaintained packages among the new dependencies新增依赖里有没有 typosquatting 或无人维护的包
- Requested permissions vs. what the feature actually needs申请了哪些权限、是否超出功能所需(filesystem / network / shell / clipboard)
- Any sudo / admin requirement, plus uninstall and rollback是否要求 sudo / 管理员权限,以及卸载与回滚方式
Anything uncertain must be marked unknown with a note on how to confirm it. This site's signal screen is a static snapshot, not a security audit.拿不准的必须标「未知」并说明要我怎么确认。本站的信号筛查是静态快照,不能替代安全审计。
Or use CLI install (for developers)或使用命令行安装(适合开发者)
CLI Install命令行安装
dsh plugin --profile web add @fangqian616/dsh-bing-search
把 fangqian616/dsh-local-search 加入你的 DSH 配置(web profile)即可启用。
READMEREADME
@fangqian616/dsh-bing-search
一个 DeepSeek Harness 插件,注册 bing_search 模型工具,用于零依赖的本地网页搜索 —— 无需 API key、无需 firecrawl、无需注册。它直接从宿主机抓取 Bing 的 HTML,并解析出标题 / 链接 / 摘要。
当 web_search 报 403(firecrawl keyless 被拒)或未配置搜索 API key 时使用。
安装
dsh plugin --profile web add @fangqian616/dsh-bing-search
# 重启 dsh
工具随后以 bing_search 暴露(模型可调用)。
用法(作为模型工具)
bing_search(query: "你的查询词", limit?: 10)
返回 [{ title, url, snippet }]。
工作原理
- 通过 DSH 的
web服务(ctx.web.fetch)抓取https://www.bing.com/search?q=...; - 用正则解析
<li class="b_algo">结果块(标题 / 链接 / 摘要),解码 HTML 实体,过滤 Bing / Microsoft 自身链接; - 除 DSH 核心服务外无运行时 npm 依赖。
注意事项
- 解析基于正则,若 Bing 改版或返回验证码 / 同意页(此时工具返回
error字段)可能失效; - 某些地区 DuckDuckGo 被墙,故选用无需 key 即可访问的 Bing。
License
MIT
Tencent/BrowserSkill
YaoApp/yao
anbeime/skill
Jesseovo/last30days-skill-cn
bowenliang123/dsh-context
platonai/Browser4
liustack/modsearch