TYEclipse/dsh-webfetch

Plugin插件 Native原生 ⭐ 2 MIT Docs & Writing文档与写作

DeepSeek Harness (dsh) 的网页阅读器:抓取任意URL并提取干净的Markdown / 纯文本及链接清单——零运行时依赖,只读模式。

Project Overview项目介绍

dsh-webfetch is a read-only web reader plugin for DeepSeek Harness that closes the gap between searching a URL and reading the page behind it. It exposes four zero-runtime-dependency tools: web_fetch retrieves a page and extracts clean Markdown or plain text; web_links enumerates every link as absolute URLs; web_feed parses RSS 2.0 and Atom feeds into structured entries; web_headers inspects status codes, response headers and redirect chains without downloading the body, falling back from HEAD to GET when needed. Use it whenever an agent needs the actual contents, link map, feed listing, or pre-flight diagnostics of a URL. All requests are bounded by timeouts, redirect hops, response size and text length, and only http/https is allowed.

dsh-webfetch 是 DeepSeek Harness 的只读网页阅读插件:给定 URL 即可抓取页面并提取干净的 Markdown 或纯文本正文(保留标题、链接、列表与代码块),还提供 web_links 列出全页链接、web_feed 解析 RSS 2.0/Atom 订阅源条目、web_headers 用 HEAD 请求探测任意 URL 的状态码、响应头与重定向链而不下载正文。零运行时依赖,仅支持 http/https,自动处理超时、重定向、响应与文本上限,字符集自动识别,内置零依赖 http 代理支持,可在受限网络下工作。智能体已知搜索结果但需读取正文时使用;注意它不发送任何凭证、不会持久化内容。

Pre-install check安装前体检Compatibility · Security兼容性 · 安全性 1 warning1 项注意
  • 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 github:TYEclipse/dsh-webfetch

把 TYEclipse/dsh-webfetch 加入你的 DSH 配置(web profile)即可启用。

READMEREADME

dsh-webfetch

为 DeepSeek Harness 智能体装上「阅读器」:给定 URL,抓取网页并提取干净的 Markdown / 纯文本正文,附带链接清单、RSS/Atom 订阅源解析与网页表格结构化提取。零运行时依赖,只读,不发送任何凭证。 English | 中文简介

A web page reader plugin for DeepSeek Harness (dsh). dsh agents can search, but until now they could not read the page behind a URL. dsh-webfetch closes that gap with five read-only tools and zero runtime dependencies (Node built-ins + global fetch only).

Tools

web_fetch

Fetch a web page and extract its readable content.

Parameter Type Default Description
url string (required) — Full http/https URL of the page to fetch.
format 'markdown' | 'text' markdown Markdown keeps headings, links, lists and code fences; text is plain prose.
extractLinks boolean false Also return every link found on the page (resolved, absolute).
maxChars number 50000 Cap on extracted content length (1000–200000).

Returns { url, finalUrl, status, title, content, length, truncated, links? }.

user: what does the dsh README say about the architecture?
agent: web_fetch("https://github.com/deepseek-ai/deepseek-harness")
  → HTTP 200 — title: deepseek-harness
    ## DeepSeek Harness
    ..."everything is a plugin"...

web_links

Collect every link on a page with its visible label, resolved to absolute URLs, deduplicated, capped at limit (1–200, default 50). Useful for mapping what a page points to or crawling site structure.

web_feed

Read an RSS 2.0 or Atom feed and return its entries as a clean, LLM-friendly listing. Feed URLs are XML documents that web_fetch cannot extract from — web_feed parses them into structured entries instead.

Parameter Type Default Description
url string (required) — Full http/https URL of the RSS or Atom feed.
maxItems number 10 Max entries to return (1–50).
includeContent boolean false Also return each entry's full content (else summaries only).

Showing the opening section of the README — the full document lives in the repository以上为 README 开头摘要,完整文档在仓库内 · View the full README on GitHub →在 GitHub 查看完整 README →

← 上一个 Prev dsh-model-capabilities 下一个 Next dsh-cache-stabilizer →