Introduction¶
DeepSeek Harness (DSH) adopts a plugin-based architecture and extends its capabilities through bundles. When building a local conversational experience, we often need to replicate the web version’s interactive grouping, streaming output, and conversation history management. Below is an introduction to a DSH plugin that recreates the sidebar style of the official DeepSeek website.
Overview¶
ds-web is a DeepSeek web-style sidebar chat plugin for DSH. It provides streaming conversations through the real DeepSeek Chat Completions API, groups the conversation list by “Pinned / Today / Yesterday / 7 Days / 30 Days / Month,” and supports importing DeepSeek’s officially exported deepseek_data-* files to continue conversations.
This is an unofficial project, provided solely as a third-party plugin.
Features¶
- Real streaming chat: Uses the DeepSeek Chat Completions API.
- Deep thinking: Supports three intensity levels (
low / high / max), with thinking content displayed separately. - Web search: Via
deepseek_web_search/deepseek_read_urlserver-side tools, with source cards and citations. - File input: Supports PDF / Word / PowerPoint / images (text extraction or mixed text-and-image parsing), as well as text / spreadsheets / e-books.
- OCR: Page-by-page recognition via
/v1/tools/ocr, with results attached to messages. - Import & export: Supports ZIP, conversation JSON, Markdown, or an extracted
deepseek_data-*folder. - Conversation library: Pin, rename, export, delete, search, and collapse the sidebar.
- Local-first: Conversations, settings, and API Key are stored locally in
~/.dsh/deepseek-chat/; the plugin has no backend and does not report telemetry.
Installation & Activation¶
Add a bundle on DSH’s Plugins page with the following spec:
github:MoyuOlogy/ds-web
If you’re managing a CLI profile (not the Electron-managed desktop profile):
dsh plugin --profile <profile> add github:MoyuOlogy/ds-web
You can also download ds-web-1.0.0.tgz from Releases and install it via file: in a CLI profile.
After refreshing DSH, ds-web will appear in the left sidebar.
Configuration¶
- Open ds-web from the left sidebar.
- Go to Settings.
- Enter your DeepSeek API Key (https://platform.deepseek.com/api_keys).
- The default endpoint is
https://api.deepseek.comand the default model isdeepseek-flash; you can also selectdeepseek-v4-pro.
The Key is stored only in the local plugin data directory and is never committed to a repository or browser storage; the panel makes direct requests to the API address you configure. OpenAI-compatible gateways are also auto-detected, but compatible gateways do not guarantee DeepSeek-style citations.
Importing History¶
Select Import from the account menu. You can choose:
- An exported ZIP;
- A single conversation JSON;
- Markdown;
- An extracted
deepseek_data-*folder.
After import, each conversation is saved as a JSON file under ~/.dsh/deepseek-chat/conversations/, and the grouping index is rebuilt. Re-importing the same ID will refresh the corresponding conversation.
Data & Privacy¶
- Conversations, settings, and the API Key reside in
~/.dsh/deepseek-chat/. settings.jsonstores the API Key in plaintext (permissions 600 on POSIX); please do not share or sync this directory.- Uploaded files are added to the file library of your configured API account; OCR text is stored in the local conversation.
- The repository does not contain API Keys, API endpoints, personal conversations, user profiles, or exported data.
- Web search, file parsing, and OCR are billed by the API provider.
Known Limitations¶
- DeepSeek model IDs and capabilities may change; the current default is
deepseek-flash, withdeepseek-v4-proalso available. - File size limits: PDF/Word/PowerPoint 100 MiB, images 64 MiB, text/spreadsheets/e-books 32 MiB; up to 20 documents per turn.
- OCR: up to 1,000 pages per file; long text in the preview is truncated, but the full content is preserved in the message.
- Very long conversations only send the most recent ~400 messages to the model; earlier content remains stored locally.
- The plugin’s conversation library is independent of DSH’s own conversation list and model context.
- DeepSeek exports require
export_format_version: 3.
Use Cases¶
Suitable for developers or individual users who need localized conversations, time-based grouping for conversation management, or a replica of the web version’s interactive experience. Please review the source code and license (MIT) before use.
Summary¶
ds-web recreates the DeepSeek web version’s chat and grouping management within DSH through the streaming API and a local conversation library, with support for import/export, OCR, and other capabilities. The installation and configuration steps are straightforward, and data and the API Key are stored locally only, making it well-suited for users who value privacy and a localized experience.