hellodigua/dsh-share
DSH 对话分享插件,可分享单轮或多轮对话,并导出为图片或 Markdown 格式,支持将 DSH 问答或选定的对话组导出为 PNG 或 Markdown。
项目介绍Project Overview
DSH 对话分享插件,支持单轮或多轮对话导出为图片或 Markdown。它提供与 DeepSeek 网页端一致的多选交互,可调整图片宽度、字号与过程显示,保留代码块、表格与工具调用摘要,并支持复制图片、下载 PNG 或 Markdown。适用于需要归档或外部分享对话内容的场景。注意:复制图片依赖浏览器剪贴板权限,权限不足时请改用下载。
DSH conversation sharing plugin that exports single or multi-turn chats as images or Markdown. It mirrors the DeepSeek web multi-select interaction, supports adjusting image width, font size, and process visibility, and preserves code blocks, tables, and tool call summaries. Output can be copied to clipboard, downloaded as PNG, or saved as Markdown. Use it for archiving or sharing dialogue content. Note: image copying requires browser clipboard permission; otherwise download remains available.
请帮我了解并安装插件:【dsh-share】【https://github.com/hellodigua/dsh-share】
把上面这条消息直接发给当前会话里的 DSH,让它帮你了解并安装。安装命令不一定准确,发给 DSH 更稳。Send this message to DSH in your current session. CLI install commands may not be accurate across systems — DSH will figure it out for you.
或使用命令行安装(适合开发者)Or use CLI install (for developers)
命令行安装CLI Install
dsh plugin --profile web add dsh-share
把 hellodigua/dsh-share 加入你的 DSH 配置(web profile)即可启用。
READMEREADME
dsh-share
简体中文 | English
DSH 对话分享插件,分享单轮或多轮对话,可导出为图片或 Markdown。
和 DeepSeek 网页端一致的多选交互,操作体验完全一致。

生成图片前可调整宽度、字号和过程显示,完成后可下载或复制图片。

功能
- 从右上角进入问答选择模式,默认全选
- 每轮的分享按钮也会进入选择模式,并只预选当前问答
- 问题和回答两侧都有联动勾选框,也可直接点击内容整组选择,支持不连续选择
- 勾选框会在长内容滚动时吸附在页面上,到当前问题或回答末尾再移出
- 可复制图片、下载 PNG 或 Markdown
- 保留 Markdown、代码块、表格、图片和工具调用摘要
- 可调整图片宽度和字号,长图支持滚动预览
- 可勾选“不展示过程”,只保留提问和最终回答
性能测试:日常聊天仅保留分享按钮等轻量开销;选择处理和图片生成只在使用分享功能时启动,并针对多轮对话做了优化。
快速安装
使用 DSH CLI 把插件加入 Web Profile,然后重启 dsh web:
dsh plugin --profile web add dsh-share
其他安装方式
安装指定的 GitHub 版本:
dsh plugin --profile web add github:hellodigua/dsh-share#vX.Y.Z
安装本地源码:
dsh plugin --profile web add /absolute/path/to/dsh-share
修改源码后,先运行 corepack pnpm build,再使用 dsh plugin --profile web add --force /absolute/path/to/dsh-share 刷新插件。
开发
项目不依赖本机 DSH checkout 即可安装依赖、运行测试和构建:
corepack pnpm install --frozen-lockfile
corepack pnpm typecheck
corepack pnpm test
corepack pnpm build
也可以用一条命令执行完整检查:
corepack pnpm verify
lib/ 是 DSH 直接加载的交付物,需要和源码一起提交。修改 src/ 后,请重新构建并确认 lib/ 已同步更新。
发布前使用 corepack pnpm release:check 校验 npm 包边界,GitHub → npm 的自动化约定见 RELEASING.md。
兼容性
兼容 @deepseek-ai/dsh ^0.1.0-rc.6。分享入口使用官方 conversation.chat.assistant-actions 和 conversation.session.header.utilities 插槽,不扫描或修改按钮栏 DOM。多选模式通过 data-chat-flow-kind 等稳定的 data-* 属性添加选择框,不依赖 CSS Module 生成的类名;DSH 调整对话结构后可能需要同步适配。
已知限制
- 复制图片需要浏览器授予剪贴板权限,权限不足时仍可下载图片。
- 无法读取的远程资源会以透明占位跳过。
- 只能选择页面已经加载的完整问答;需要更早内容时,请先向上滚动加载。
License
项目使用 MIT 许可证。浏览器 bundle 内联依赖的许可证见 THIRD_PARTY_LICENSES.md。
友情链接
已加入 dshfind.com DSH 插件超市。
nexu-io/open-design
ruvnet/ruflo
amruthpillai/reactive-resume
esengine/DeepSeek-Reasonix
volcengine/OpenViking
Molunerfinn/PicGo
titanwings/distilly
titanwings/colleague-skill