Foreword

After completing one or more rounds of conversation in DSH, a common need is to organize the Q&A for external use: sending it to colleagues, pasting it into documentation, or keeping a searchable Markdown file. Screenshots from the web interface often require manual cropping, while copy-pasting can lose formatting; for lengthy conversations, managing multiple rounds and deciding whether to show intermediate steps can be cumbersome.

dsh-share is a DSH client plugin maintained by hellodigua, designed for the Web Profile. It streamlines the process of “selecting which rounds to export and in what style” by integrating a multi-select interface consistent with the DeepSeek web interface, and supports two output formats: PNG images and Markdown.

What This Is

dsh-share is a DSH conversation sharing plugin: it allows you to select one or more rounds of Q&A from the current session and export them as PNG images or Markdown files. The maintainer is hellodigua, the project is open-sourced on GitHub (MIT license), and the current npm package version is 0.3.1, compatible with @deepseek-ai/dsh ^0.1.0-rc.6.

The plugin mounts the sharing entry point via official slots without scanning or modifying the button bar DOM. Multi-selection relies on stable data-* attributes like data-chat-flow-kind instead of CSS Module class names. In daily chats, it only retains lightweight overhead such as the share button, while selection processing and image generation are triggered only when the sharing feature is used.

Core Features

This section introduces the main capabilities listed in the plugin’s README.

Q&A Selection and Interaction

  • Access the Q&A selection mode from the top-right corner, with all Q&A in the current session selected by default.
  • The share button next to each conversation round also enters selection mode, pre-selecting only that round.
  • Linked checkboxes appear on both the question and answer sides; you can also click the content to select entire blocks, supporting non-contiguous multi-selection.
  • Checkboxes stick to the page during scrolling through long content and move out only when reaching the end of the current question or answer.

The interaction design mirrors the multi-selection experience of the DeepSeek web interface.

Export Formats and Content Preservation

After selection, you can copy the image, download as PNG, or export as Markdown.

Markdown export preserves Markdown formatting, code blocks, tables, images, and tool call summaries. Before generating images, you can adjust width, font size, and process display in the dialog; long images support scroll preview. You can check “Do not show process” to retain only the question and final answer.

Performance and Compatibility

Selection processing and image generation are optimized for multi-round conversations and run only when sharing is triggered. The sharing entry uses the conversation.chat.assistant-actions and conversation.session.header.utilities slots.

Installation and Activation

The plugin targets the DSH Web Profile. Use the DSH CLI to add the plugin to the Web Profile, then restart dsh web:

dsh plugin --profile web add dsh-share

To install a specific GitHub version, replace vX.Y.Z with the actual tag:

dsh plugin --profile web add github:hellodigua/dsh-share#vX.Y.Z

When installing from a local source, the path must be an absolute path:

dsh plugin --profile web add /absolute/path/to/dsh-share

After modifying the source, build it first, then force refresh the plugin:

corepack pnpm build
dsh plugin --profile web add --force /absolute/path/to/dsh-share

Before installation, it is recommended to review the repository source code and the MIT license. The plugin runs under the current dsh process permissions.

Typical Usage

After completing the installation steps and restarting dsh web, follow this workflow in the Web interface:

  1. Open the conversation you want to share. If earlier Q&A is needed, scroll up first to ensure the page loads the complete content (the plugin can only select loaded Q&A).
  2. Click the share entry in the top-right corner or the share button next to a specific round. The former selects all rounds by default, while the latter pre-selects only that round.
  3. Use checkboxes or click content to adjust the selection scope; non-contiguous rounds can also be selected together.
  4. In the export dialog, set the image width, font size, and decide whether to show intermediate steps.
  5. Choose to copy the image, download as PNG, or export as Markdown.

Copying the image requires the browser to grant clipboard permissions; if permissions are insufficient, you can still download the PNG. Unreadable remote resources are skipped with transparent placeholders.

Use Cases and Considerations

Suitable for developers and users who need to organize conversations, share externally, or archive them from the DSH Web interface: such as extracting technical Q&A, recording multi-round debugging sessions, or exporting replies with code blocks and tables.

Before use, note:

  • The plugin runs under the current dsh process permissions; review the source code and license before installation.
  • Copying the image relies on browser clipboard permissions.
  • Only fully loaded Q&A on the page can be selected.
  • If DSH adjusts the conversation DOM structure, the plugin may require corresponding adaptations.

The community directory SkillHub has no official affiliation with DeepSeek or幻方; the DSH ecosystem follows the principle of “everything is a plugin,” with third-party plugins independently published by their maintainers.

Links

  • SkillHub Directory: https://www.skillhub.cn/plugins/hellodigua/dsh-share
  • GitHub Repository: https://github.com/hellodigua/dsh-share