Introduction¶
When working with agents or daily conversations in DSH (DeepSeek Harness), information sources are often scattered across browser tabs, standalone RSS clients, and self-hosted FreshRSS. Consolidating subscriptions, reading, read states, and AI assistance within the same host reduces switching costs and allows models to reference locally cached article summaries via read-only tools.
Below is an introduction to the community plugin dsh-rss (maintainer weixshaw), which provides an RSS/Atom reading workbench within DSH. It supports grouped subscriptions, two-way synchronization with FreshRSS (Google Reader API), local image proxying, and AI summarization/translation/Q&A with your own keys. The product interaction is inspired by the open-source project qiaomu-ai-rss (GPL-3.0-only); this plugin is an independent implementation licensed under MIT. The current package version is 0.6.1.
What is this¶
dsh-rss is a networking tool class plugin for DSH: it parses subscriptions, caches articles, proxies media, and integrates with FreshRSS/AI APIs on the host side; it provides a three-column reading UI and integrates with DSH navigation on the client side.
- Main Entry: “RSS Reader” in the left main navigation, opening the full reader in the central content area.
- Settings Entry: Settings → RSS Reader (containing only three sections: Subscription Management, FreshRSS, and AI Settings, without embedding the full workbench).
- Optional: When dsh-better-sidebar (≥0.24) is installed, an “RSS Reader” tab appears in the right sidebar.
Target Audience: Developers already using DSH Desktop or CLI who need RSS reading or FreshRSS synchronization. AI capabilities use BYOK (Bring Your Own Key) and do not consume DSH’s built-in model configuration.
Core Features¶
Subscriptions & Reading¶
- Custom Subscriptions: Add RSS 2.0 / Atom URLs, rename, group by
group/subgrouppaths, unsubscribe; includes an independent parser. - Reading Workbench: Subscription group bar + article list + reading pane; supports unread/favorite filtering, search, “Load more” pagination, and keyboard shortcuts (e.g.,
/for search,J/Kfor previous/next,Rfor mark read,Sfor favorite,Ffor focus mode). - Reading Enhancement: Fetch full text via the original link (readability-style extraction, temporary display, not persisted); adjustable body font size; copy original link.
- OPML: Nested group import (preview before writing), standard OPML export.
Refresh & Cache¶
- Manual refresh uses 5-way bounded concurrency; supports ETag/Last-Modified, skipping download and parsing when the server returns 304.
- The reading page can enable “Auto”: silent refresh approximately every 10 minutes (active only when the reading page is open).
- If FreshRSS is configured and the account is available, “⟳ Refresh” will continue account synchronization after refreshing independent subscriptions.
FreshRSS¶
- Connects to self-hosted FreshRSS via the Google Reader Compatible API (FreshRSS ≥ 1.20 recommended; enable API on the server and use a dedicated API password).
- Incremental sync of articles; local read/favorite states are written back to the server via
edit-tag, with failed attempts kept in a queue for retry. - Account Change Protection: Switching accounts requires explicitly “Resetting FreshRSS Data” to avoid writing account A’s state to account B.
Images, Podcasts & Videos¶
- By default, no requests are sent to remote image hosts (placeholder text is shown). When “Images” is enabled in the reading pane, images are loaded via a local proxy at the host route
/dsh-rss/media(image hosts cannot see your IP/UA/Referer); magic number validation for type, SVG rejection, 8MB limit per image, etc. - Podcast enclosures: Direct connection to the audio source only after clicking.
- YouTube / Bilibili links: After clicking, embed the official player iframe within the reader; other sites are not embedded.
AI (BYOK)¶
Configure OpenAI-compatible APIs (e.g., DeepSeek, OpenAI, local Ollama/LiteLLM), model names, and API Keys in Settings → RSS Reader → AI Settings, then enable them.
- The corresponding body text is sent only when clicking “AI Summary / AI Translate / Ask” in the reading page; Keys are stored in a local
0600config file. - The model tools
rss_recent_digestandrss_article_digestare read-only, accessing local cache only without network access, AI invocation, or key exposure.
Security & Data Location¶
- Whitelist rendering for body content (no
innerHTML); external requests are bounded in protocol, size, and timeout; redirects are rejected for FreshRSS and AI requests (to prevent credential forwarding). - Local data directory:
~/.dsh/dsh-rss/(containingconfig.json, article cache organized by subscription, etc.).
Installation & Enablement¶
Prerequisites: DSH Desktop (0.2.0-rc line) or DSH CLI, Node.js ≥ 20.
DSH Desktop (Recommended)¶
The desktop profile is managed exclusively by Electron; you cannot use the CLI to install plugins into the desktop profile:
dsh plugin --profile desktop add github:weixshaw/dsh-rss
error: profile "desktop" is managed exclusively by the Electron application
Correct steps:
- Open DSH Desktop (common GUI address like
http://127.0.0.1:19387) and go to the Plugins sidebar. - Click Add plugin, and paste the repository address:
https://github.com/weixshaw/dsh-rss
- Confirm the trust prompt and click Install; if a restart is prompted, quit and reopen DSH Desktop, then perform a hard refresh (Cmd/Ctrl+Shift+R) in the GUI.
- You can enable/disable/uninstall on the same page; do not manually modify files under
~/.dsh/profiles/desktop/.
CLI (Self-built profile, e.g., web)¶
dsh plugin --profile web add github:weixshaw/dsh-rss
After installation, simply hard refresh the browser; headless/web profiles can hot-apply patches.
Update & Uninstall¶
- Git installation: Uninstall and re-add via the Plugins page to pull the latest code.
- CLI:
dsh plugin --profile web remove dsh-rss.
Host and client versions are compared at plugin startup; if only the client is updated and the host is not restarted, a restart prompt will appear at the top of the interface (to avoid silent 404s for new routes like the image proxy).
Typical Usage¶
Adding Independent RSS Subscriptions¶
- Open RSS Reader.
- Paste the Feed URL at the bottom of the subscription bar and click + or press Enter.
- Use the top bar ⟳ Refresh to fetch items; enable the Images toggle in the reading pane when viewing images (via local proxy).
Connecting FreshRSS¶
- FreshRSS: Go to Settings → Authentication → API Access, allow API and generate an API password.
- DSH: Go to Settings → RSS Reader → FreshRSS, fill in the site root URL or
.../api/greader.php, username, and API password → Save and Test Connection. - Click ⇅ Sync Now or Refresh on the reading page (sync continues after independent subscription refresh); local read/favorite marks are queued for write-back, with retries on failure.
http:// is available for intranets, but the plugin will warn about plaintext HTTP risks; API passwords are stored locally only and will not appear in browser responses or model tool outputs.
Configuring AI & Reading¶
- Settings → RSS Reader → AI Settings: Fill in the compatible API Base URL (e.g.,
https://api.deepseek.com/v1), model name (e.g.,deepseek-chat), API Key, and check to enable. - Open an article on the reading page and click AI Summary / AI Translate / Ask as needed; results can be persisted (bound to the article, max 200 entries).
- Body text is treated as untrusted data and truncated in prompts; outputs are for reference only, so verify important conclusions against the original text.
Read-only Tools for Agents¶
The DSH toolchain can mount rss_recent_digest (list of recent article summaries) and rss_article_digest (single article cache and existing AI results) to provide context based on cached content without triggering network access or AI billing.
Use Cases & Notes¶
Suitable for: Users already working within DSH who want to unify RSS and (optional) FreshRSS; those needing privacy-friendly image proxying; those wanting BYOK for summarization/translation/single-article Q&A.
Notes:
- The plugin runs with current DSH process privileges and initiates external HTTP(S) requests (subscriptions, FreshRSS, AI, image proxy). Before installing, please review the GitHub source code and the MIT license, and assess the trust boundary yourself.
- AI and full-text fetching will send selected body text to the third-party APIs you configure; FreshRSS API passwords and AI Keys are in local config files, so protect
~/.dsh/dsh-rss/. - The community directory SkillHub Plugin Page and DeepSeek / High-Flyer have no official affiliation; the DSH ecosystem follows “everything is a plugin,” and the directory is an independent site.
Conclusion¶
dsh-rss consolidates RSS reading, FreshRSS synchronization, local image proxying, and BYOK AI into the DSH interface, and exposes read-only digest tools for agents to reference cache. If you want to maintain subscriptions within the Harness instead of opening another client, follow the installation path above to integrate it.
- Directory Page: https://www.skillhub.cn/plugins/weixshaw/dsh-rss
- Repository: https://github.com/weixshaw/dsh-rss