hellodigua/dsh-share
DSH 对话分享插件,分享单轮或多轮对话,可导出为图片或 Markdown。Share DSH Q&As or selected conversation groups as PNG or Markdown.
Listed
23
Session
Bundle verified
Preview
What it does
Share your conversations with one click.
Best for
- DSH users who need to share selected single or multi-turn conversations as PNG or Markdown.
- Users who want control over image width, font size, and whether reasoning/process content appears.
Not ideal for
- Sharing questions or answers that have not yet been fully loaded on the page.
- Workflows that require copying images without granting browser clipboard permission; downloading remains available.
- Exports that must preserve remote resources the browser cannot read, which are skipped as transparent placeholders.
README
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 插件超市。
Frequently Asked QuestionsFAQ
Use the verified command dsh plugin --profile default add github:hellodigua/dsh-share in a DSH-enabled shell. The command resolves the public package metadata and keeps the plugin attached to the catalog identity shown on this page.
Compatibility follows the bundle and profile status shown above. If a profile is not detected, keep the plugin disabled there and check the repository documentation before enabling it in production.
The GitHub link and activity metadata are the source of truth for releases and maintenance. Revisit this page after a new release to confirm the catalog has observed the latest version.