hellodigua/dsh-share
DSH 对话分享插件,可分享单轮或多轮对话,并导出为图片或 Markdown 格式,支持将 DSH 问答或选定的对话组导出为 PNG 或 Markdown。
Project Overview项目介绍
hellodigua/dsh-share is a purpose-built plugin for DeepSeek Harness (DSH) that lets users export selected single or multiple conversation turns to shareable PNG images or Markdown files. It follows DSH’s official plugin development conventions and uses official provided extension slots to integrate with the DSH web interface without invasive DOM modifications. The simplest way to install it is via DSH CLI, by running dsh plugin --profile web add dsh-share and then restarting the DSH web process. You can also install a specific tagged version from GitHub or a local source copy for development.
After installation, the plugin adds a new selection mode accessible from the top right of the DSH conversation page, which selects all existing conversation turns by default when you enter. If you click the share button on an individual conversation turn, it will open selection mode and pre-select just that turn for you. The selection interaction matches DeepSeek’s web interface, supporting flexible non-contiguous selection, checkboxes that stick to the viewport when scrolling long content, and multiple adjustment options for the exported output. You can tweak the image width, font size, and choose to hide intermediate steps to only keep the final answer before exporting.
The plugin is developed against the DSH 0.1.5-rc.1 baseline and is compatible with all DSH versions matching the ^0.1.5-rc.1 range requirement. It is released under the permissive MIT open source license, with third party dependency licenses documented separately in the repository. There are a few known limitations: copying images directly requires clipboard permission from your browser, you can only select content that has been loaded in the current page, and unreadable remote assets are replaced with a transparent placeholder.
这是一款专为DeepSeek Harness(DSH)开发的原生对话分享插件,核心功能是支持用户从DSH的对话历史中选择单轮或多轮对话,将选中内容导出为可分享的PNG图片或Markdown格式文件。插件遵循DSH官方开发规范,使用官方提供的标准插槽接入,不对原有DOM做侵入式修改,可通过DSH CLI直接快速安装到Web配置文件。
用户安装插件后,可从对话页面右上角进入问答选择模式,默认全选所有对话内容,也可点击任意单轮对话的分享按钮直接进入选择模式并预选当前轮次。选择操作支持灵活交互,可点击内容整组选中,也支持不连续选择,长内容滚动时勾选框会吸附在页面,整体操作体验和DeepSeek网页端保持一致。
本项目采用MIT许可证开源,开发基线为@deepseek-ai/dsh 0.1.5-rc.1,兼容对应版本及以上的DSH环境。已知限制包括复制图片需要浏览器授予剪贴板权限,页面未加载的历史对话内容无法选择,不可读取的远程资源会用透明占位符跳过。日常使用仅占用少量额外性能开销,图片生成等功能仅在调用分享功能时启动。
请帮我安装这个 DSH 插件。安装前先完成【兼容性检查 + 安全性检查】,检查通过再动手。
插件:dsh-share(hellodigua/dsh-share)
仓库:https://github.com/hellodigua/dsh-share
本站详情页:https://www.yhbd.top/plugins/hellodigua-dsh-share/
本站登记:类型 plugin · 归类 原生 DSH 插件 · 许可证 MIT · ⭐ 36 · 最近提交 2026-09-29 · 主语言 TypeScript
按下面顺序执行,每步先把结论告诉我,再进入下一步:
【1 兼容性检查】
① 我这边:DSH 版本、Node 版本、操作系统、当前 profile(web / desktop)。
② 读它的 README、package.json、插件 manifest,列出它要求的 DSH 版本 / Node 版本 / 操作系统 / 外部依赖 / 需要另外先装的运行时。
③ 逐条比对,结论只写「满足 / 不满足 / 未知」三种;不满足的给出可行替代方案。
④ 检查是否和我已装的插件冲突:命令名重复、skill / tool 重名、端口占用、重复注册的 MCP server。
【2 安全性检查】
① 仓库可信度:和上面「本站登记」是否一致;star / fork 数、创建时间、最近提交,是否归档或长期停更。
② 安装脚本:逐行看 package.json 的 preinstall / install / postinstall,以及 install.sh、setup.ps1 之类脚本。出现 curl|bash、下载后直接执行、混淆代码、访问与插件功能无关的域名,立刻停下来告诉我,不要继续装。
③ 依赖:列出新增依赖,标出无人维护、或与知名包拼写近似的可疑包(typosquatting)。
④ 权限与副作用:它会读写哪些目录、访问哪些域名、需要哪些 DSH 权限(filesystem / network / shell / clipboard 等),以及怎么卸载和回滚。
⑤ 如果它要求 sudo / 管理员权限,或权限明显超出功能所需,先停下来问我。
【3 安装】
上面两步没有「不满足」和「高危项」时才执行;用官方推荐方式安装,不要自行提权。
【4 汇报】
用表格输出:检查项 / 结论 / 依据 / 是否需要我决策。拿不准的一律写「未知」并说明要我怎么确认——不要猜,也不要替我决定。
Send this message to DSH in your current session: it verifies compatibility and security first (answering met / not met / unknown item by item) and only installs once everything checks out — it will stop and ask you if it finds a high-risk item. The box scrolls; the copy is the full prompt. CLI install commands may not be accurate across systems, so DSH is the safer route.把上面这条消息直接发给当前会话里的 DSH:它会先核对兼容性与安全性(逐条给「满足 / 不满足 / 未知」),确认没问题再安装,有高危项会停下来问你。框内可滚动,复制到的是完整提示词;安装命令不一定准确,发给 DSH 更稳。
- 36 stars - an early-stage project星标 36,属于早期项目
DSH walks through these 9 checksDSH 会逐条核对这 9 项
Compatibility兼容性
- DSH, Node, OS and profile requirementsDSH 版本 / Node 版本 / 操作系统 / profile 是否满足要求
- External dependencies and runtimes (Electron / Python / Docker, ...)外部依赖与运行时(Electron / Python / Docker 等)是否齐备
- Conflicts with installed plugins: command names, skill / tool names, ports, duplicate MCP registration与已装插件是否冲突:命令名、skill / tool 重名、端口占用、重复 MCP 注册
Security安全性
- Repo matches the facts registered here; archived or abandoned?仓库是否与页面登记一致,是否归档或长期停更
- Safety of preinstall / install / postinstall and install.sh / setup.ps1preinstall / install / postinstall 与 install.sh、setup.ps1 是否安全
- curl|bash, download-then-execute, obfuscation, unrelated domains → stop immediatelycurl|bash、下载即执行、混淆代码、无关域名 → 立刻停止
- Typosquatting or unmaintained packages among the new dependencies新增依赖里有没有 typosquatting 或无人维护的包
- Requested permissions vs. what the feature actually needs申请了哪些权限、是否超出功能所需(filesystem / network / shell / clipboard)
- Any sudo / admin requirement, plus uninstall and rollback是否要求 sudo / 管理员权限,以及卸载与回滚方式
Anything uncertain must be marked unknown with a note on how to confirm it. This site's signal screen is a static snapshot, not a security audit.拿不准的必须标「未知」并说明要我怎么确认。本站的信号筛查是静态快照,不能替代安全审计。
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.2.0-rc.2,运行时依赖范围为 ^0.1.7-rc.2 || ^0.2.0-rc.2。分享入口使用官方 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 插件超市。
PhysicalAI-0/dsh-paperforge
DDDMUC/dsh-delete-turn
nexu-io/open-design
EthanYoQ/Invoice-Downloader
ZSeven-W/dsh-ios
sunchaokun/PPT-Design-Skill