Share your conversations with one click.
Install
# from GitHub (first run asks for allowBuilds approval — follow the hint, retry)
dsh plugin --profile web add github:hellodigua/dsh-share
GitHub-sourced plugins run build scripts on your machine at install time. Only install sources you trust, and pin a commit (github:owner/repo#sha).
README
简体中文 | English
Turn a question-and-answer exchange in DSH into a PNG image. Copy it to the clipboard or download it.

Features
- Adds a share button to the end of each assistant response
- Copies or downloads the conversation as a PNG image
- Preserves Markdown, code blocks, tables, images, and tool call summaries
- Supports adjustable image widths and font sizes, with a scrollable preview for long images
- Can hide reasoning and tool calls, leaving only the question and final answer
The default is Tablet width with Standard font size. Your preferences are saved in the browser.
Installation
From a GitHub tag
Pinning a version is recommended so future repository updates do not change the installed code:
dsh plugin --profile web add \
--ignore-scripts --config.auto-install-peers=false \
'github:hellodigua/dsh-share#v0.1.0'
Restart dsh web after installation.
From a local checkout
git clone https://github.com/hellodigua/dsh-share.git
cd dsh-share
dsh plugin --profile web add \
--ignore-scripts --config.auto-install-peers=false \
.
After changing the source code, build it and force-refresh the local package in the profile:
corepack pnpm build
dsh plugin --profile web add --force \
--ignore-scripts --config.auto-install-peers=false \
.
From a local-plugins tarball
The repository includes a prebuilt lib/ directory. You can also package it like the other plugins in DSH's local-plugins directory:
corepack pnpm install --frozen-lockfile
corepack pnpm verify
mkdir -p ../local-plugins
corepack pnpm pack --pack-destination ../local-plugins
Then install the generated file:
dsh plugin --profile web add \
--ignore-scripts --config.auto-install-peers=false \
/absolute/path/to/local-plugins/dsh-external-dsh-share-0.1.0.tgz
The tarball includes the browser bundle, so installation does not need to run third-party build scripts.
Compatibility
This version targets npm @deepseek-ai/dsh@0.1.0-rc.6 and declares DSH peers as ^0.1.0-rc.6. Local development pins the exact rc.6 type packages, while the Web Profile still provides the shared runtime at deployment.
The share button is mounted through the official conversation.chat.assistant-actions slot and is checked against the official Client types. It does not scan or modify the action bar DOM. Image generation reads the rendered data-* nodes for the current turn, so changes to DSH's conversation content structure may require an update to this plugin.
Development
You can install dependencies, run tests, and build the project without a local DSH checkout:
corepack pnpm install --frozen-lockfile
corepack pnpm typecheck
corepack pnpm test
corepack pnpm build
Run the full check with one command:
corepack pnpm verify
DSH loads the files in lib/ directly, so they must be committed with the source. After changing src/, rebuild and make sure lib/ is up to date.
Known limitations
- Copying an image requires the browser Clipboard API. You can still download the PNG if clipboard permission is unavailable.
- Remote resources in the image must allow browser access. An unreadable resource is replaced with a transparent placeholder without stopping the rest of the image from rendering.
- Other chat apps may scale down very tall images. The plugin dialog only provides a clear, scrollable preview.
License
Licensed under the MIT License. Licenses for dependencies bundled into the browser build are listed in THIRD_PARTY_LICENSES.md.
Links
More in this category
Anionex/dsh-turn-rewind★ 35
Rewind conversation and workspace state, powered by a persistent Change Ledger.
Chinesezjc/dsh-interconnect★ 24
Cross-instance message and event handoff between DSH instances via an interconnect server.
Nwflower/dsh-chat-import★ 22
Import Claude Code / Codex / ChatGPT / Cursor / Gemini / Reasonix / opencode chat histories as resumable DeepSeek Harness sessions.
Moeblack/dsh-message-edit★ 16
Branch-based message editing, reroll, retry, and a version timeline.
whyihaveyou/dsh-suite#plugin-session-export★ 14
Export the append-only session log as human-readable Markdown or HTML, grouped by trajectory source.
yuezengwu/dsh-explain★ 9
Local-first learning mode: cross-session learning threads with per-source explanations.