dshbase

Plugin directory / Content / dsh-rss

dsh-rss

Verified · install-tested on dsh STARDUSTLC666

✓ Actively maintained Pure TypeScript

View on GitHub ↗ ← Back to plugin directory

3Stars
0Forks
0Open issues
TypeScriptLanguage
2026-08-16Last push
Cross-platformPlatform

What it does

DeepSeek Harness RSS subscription plugin: five tools (rss_list/add/remove/fetch/check), RSS 0.9x/1.0/2.0 & Atom normalized parsing, subscription list persisted to settings, proxyUrl special proxy support; pure Node cross-platform.

✅
Our take
Works — verified, early-stage project

DeepSeek Harness RSS subscription plugin: five tools (rss_list/add/remove/fetch/check), RSS 0.9x/1.0/2.0 & Atom normalized parsing, subscription list persisted to settings, proxyUrl special proxy support; pure Node cross-platform. It installs cleanly and boots without issues in our testing. It's early-stage but functional.

“Verified” means our automated CI actually ran dsh plugin add in a clean profile and it booted — nothing more. Feature descriptions and version compatibility are the author’s claims. This is not a security audit and not an endorsement of third-party code.

README

English

dsh-rss

agent 的资讯雷达:订阅管理 + RSS/Atom 抓取解析。

npm version npm downloads license stars

Awesome DSH Plugin

DSH(DeepSeek Harness)的 RSS/Atom 订阅工具插件:管理订阅源,抓取并解析 RSS 0.9x / 1.0 / 2.0 与 Atom,支持 OPML 批量导入导出,给模型提供七个可直接调用的工具。

安装

dsh plugin --profile web add dsh-rss

安装后重启 Web 服务即可。

配置

在你自己的 profile 的 cordis.patch.yml 里覆盖本插件行(缺省时插件也能加载,只是全部用默认值):

- id: rss
  name: 'dsh-rss'
  config:
    # proxyUrl: http://127.0.0.1:7890   # 部分订阅源需要特殊代理(梯子)才能访问时启用
    timeoutMs: 15000                     # 抓取超时(毫秒,默认 15000)
    # maxBodyBytes: 5242880              # 订阅源体积上限(默认 5MB,防超大响应)
    # userAgent: 'dsh-rss/0.2.0'         # 自定义抓取 UA
    # feedsYaml: |                        # 可选:预置订阅列表(也可用 rss_add 工具添加)
    #   - url: https://example.com/feed.xml
    #     name: 示例订阅
    #     category: 技术

工具一览

工具 作用 关键参数
rss_list 列出已订阅源 无
rss_add 添加订阅(先抓取校验地址) url 必填;name/category 可选
rss_remove 删除订阅 url 或 name 至少一个
rss_fetch 抓取解析订阅源,返回源信息与条目(含正文 content) url 或 name 至少一个;limit 1-100 默认 20
rss_check 校验地址是否为可解析的订阅源 url 必填
rss_opml_export 导出订阅列表为 OPML 2.0 文本(可写入文件) path 可选
rss_opml_import 从 OPML 2.0 文本批量导入订阅源 opml 必填

示例

rss_add { url: https://example.com/feed.xml, name: 我的订阅 }
rss_fetch { name: 我的订阅, limit: 10 }
rss_check { url: https://example.com/feed.xml }
rss_opml_export { path: subscriptions.opml }
rss_opml_import { opml: "<?xml version=\"1.0\"?>..." }

订阅存储

订阅列表保存在 settings 的 dsh-rss 命名空间(feedsYaml 字段)里:rss_add / rss_remove 会自动读写并持久化,重启后仍在;也可以在配置里用 feedsYaml 预置初始订阅。同名订阅请用 url 区分。

特殊代理(梯子)

大部分订阅源可以直接访问;少数订阅源需要特殊代理(梯子)才能连通。遇到 抓取失败 且提示需要代理时,把 proxyUrl 配成你的本地代理地址(如 http://127.0.0.1:7890)并重启即可。代理只作用于本插件的抓取请求,不影响同进程其他插件。

解析能力

  • RSS 2.0 / RSS 1.0(RDF)/ Atom 三种格式,统一归一化输出
  • 实体解码、CDATA、content:encoded、dc:creator、itunes 等常见字段
  • RFC 822 / ISO 8601 日期统一转 ISO 8601 UTC(pubDate),原始文本保留在 pubDateRaw
  • 相对链接按订阅源地址解析成绝对链接
  • 摘要去 HTML 标签并截断到 500 字符;RSS content:encoded / Atom content 作为 content 字段保留(去标签后最多 20000 字符)
  • 安全:不解析 DTD/外部实体,内容只做文本抽取;响应体积上限 5MB;抓取超时可配

开发

pnpm install
pnpm test       # 构建 + 55 个测试

发布前门禁:危险模式扫描、manifest 自检、pnpm audit --prod、全量测试,以及全新 profile 的真实启动冒烟测试。

License

MIT

Install

🧩 Let your agent install it (recommended)

Install the catalog once, then DeepSeek Harness can find and install any plugin from this site automatically:

dsh plugin add dshbase-catalog

Then say "install dsh-rss for me" — your agent finds it in the directory and installs it. Docs: dshbase-catalog · verified packs.

This plugin is GitHub source (not published to npm) — install it straight from the repo:

Web profile:

dsh plugin --profile web add github:STARDUSTLC666/dsh-rss

Headless (CLI) profile:

dsh plugin --profile headless add github:STARDUSTLC666/dsh-rss

Test report

Verified: L1 install + L2 load + L3 runtime from GitHub source on dsh 0.1.0-rc.6.

When to use it

Turn the agent into a writer — generating, editing, or localizing text and media — for content-heavy tasks.

Who it's for

Users producing docs, posts, or marketing copy who want the agent to draft and revise in the same loop.

For developers — extending it

Content pipelines and format outputs are the seams — add templates, style rules, or export targets.

Security: not yet scanned — our daily static scan will cover it shortly.

Share this badge

More in Content

Browse all 7797 plugins →