dsh-xhs

Xiaohongshu (RED) note collector for DeepSeek Harness. Drives a dedicated browser instance through CDP and reads the responses the site itself produces, so it works with the user logged in through the normal browser instead of reproducing the request signing. Searches notes by keyword, opens note detail (body text, images, tags), and reads comments. Exposes five model tools (xhs_search, xhs_note, xhs_draft, xhs_login, xhs_status), provides an xhs Cordis service, and adds a settings panel card for login, search and an optional draft writer that uses the host model to compose a publishable note from search results. Its HTTP routes have no DSH access check, so a web page open in your browser could call them.

Overview

Xiaohongshu (RED) note collector for DeepSeek Harness. Drives a dedicated browser instance through CDP and reads the responses the site itself produces, so it works with the user logged in through the normal browser instead of reproducing the request signing. Searches notes by keyword, opens note detail (body text, images, tags), and reads comments. Exposes five model tools (xhs_search, xhs_note, xhs_draft, xhs_login, xhs_status), provides an xhs Cordis service, and adds a settings panel card for login, search and an optional draft writer that uses the host model to compose a publishable note from search results. Its HTTP routes have no DSH access check, so a web page open in your browser could call them.

Installation

Install from npm

dsh plugin --profile web add dsh-xhs

Resolves a published tarball rather than cloning the repository, and installs without any extra setup. Swap `web` for your profile name if you run another one.

Install from GitHub

dsh plugin --profile web add github:N006Unnamed/dsh-xhs

Installing from GitHub runs the project's build script, which pnpm blocks until you allowlist it — run the command once and pnpm prints the exact key to add under `allowBuilds` in ~/.dsh/profiles/web/pnpm-workspace.yaml.

Version compatibility

Compatibility is unconfirmed. Check the project documentation for supported versions.