dsh-conv-export: Export DeepSeek Harness Conversations to Markdown, PDF, or Long Images

Preface

DSH’s “everything is a plugin” philosophy allows client capabilities to be extended based on scenarios. Long conversations often contain decisions, code, and troubleshooting clues, but the page itself doesn’t make it convenient to take this content with you.

dsh-conv-export is a DSH client plugin maintained by beijingwahw, licensed under MIT. It exports the current DeepSeek Harness conversation to Markdown, PDF (downloaded directly without a print dialog), or a long-form PNG image, and can also batch-export multiple historical conversations as a Markdown ZIP.

Plugin Positioning

dsh-conv-export addresses a specific problem: turning the visible conversation content in the current Harness session into files that can be downloaded, saved, and shared.

It targets the browser client usage scenario of DSH, registering a download icon export button in the conversation header. The plugin stacks safely and can be removed without side effects; menu text automatically switches between Chinese and English based on the document language.

Core Features

The following verified plugin capabilities are listed:

  • Export the current conversation to Markdown.
  • Export the current conversation to PDF.
  • Export the current conversation to a long-form PNG image.
  • Support turn-by-turn selection, exporting only the selected turns.
  • Support batch exporting multiple historical conversations as a Markdown ZIP.
  • Export filenames are derived from the conversation title, sanitized and length-limited.
  • Registers a download icon export button in the conversation header; stacks safely and can be removed without side effects.
  • Menu text automatically switches between Chinese/English based on the document language.
  • Data declaration: no storage domains, no outbound network requests, stateless.

Installation and Enablement

The plugin requires Node.js ≥ 22 and pnpm. First ensure these two prerequisites are met on your machine, then execute the installation command to install the plugin into the web profile.

dsh plugin add beijingwahw/dsh-conv-export --profile web

After installation, open any conversation and a download icon will appear in the conversation header.

For future upgrades, removal, or installation from a local path, use the following commands.

dsh plugin upgrade dsh-conv-export --profile web
dsh plugin remove dsh-conv-export --profile web
dsh plugin add ./dsh-conv-export --profile web

Typical Usage

Exporting the Current Conversation

Open any DeepSeek Harness conversation, click the download icon in the conversation header, and select the format you want to export.

Available formats include:

  • Markdown
  • PDF
  • Long-form PNG

All three formats download the file directly without opening a print dialog.

Exporting by Turn

If you want to exclude certain content from the current conversation, you can filter by turn first and then export only the selected turns.

How to use:

  1. Open the export menu in the conversation header.
  2. Enter turn selection.
  3. Check the turns you want to export.
  4. Select the export format.
  5. Confirm the export.

After confirmation, the plugin exports only the selected turns.

Batch Exporting Historical Conversations

If you need to take multiple historical conversations at once, use batch export.

How to use:

  1. Open the export menu and select “Batch Export Conversations…”.
  2. In the panel, filter and check the target conversations.
  3. Confirm to download the ZIP.

Limitations of batch export:

  • Markdown only.
  • Maximum of 100 conversations per batch.
  • Automatic deduplication.
  • Conversations that fail to read are automatically skipped without blocking other entries.

Applicable Scenarios and Notes

Scenarios suitable for this plugin include:

  • Archiving the current conversation as Markdown.
  • Generating a PDF for record-keeping or sharing.
  • Generating a long-form PNG of the conversation, convenient for pasting into chat records.
  • Batch exporting multiple historical conversations as a Markdown ZIP.
  • Exporting only a subset of turns rather than the entire conversation.

The following limitations should be noted before use.

  • PDF pages are rasterized images; text is not selectable. When selectable text is needed, use Markdown export.
  • The long-image and PDF paths are rasterized via SVG foreignObject; special embedded content may be flattened.
  • The long-image sanity limit is approximately 176 A4 pages (200,000 CSS px); environments without CompressionStream fall back to the old single-canvas truncation path (16000px).
  • The export scope is limited to the current conversation column; the sidebar title and settings pages are not included.
  • Batch export supports Markdown only; PDF and long images require per-conversation rasterization on the client and cannot be packaged into a ZIP.
  • The plugin runs with the current dsh process permissions; review the source code, dependencies, and license before installation.
  • The data declaration states the plugin has no storage domains, no outbound network requests, and is stateless; batch export reads multiple historical conversations to generate the ZIP.

Conclusion

If the primary need is “taking the current Harness conversation with you,” dsh-conv-export provides a fairly direct path: single conversations can be exported to Markdown, PDF, or long-form PNG, and historical conversations can be batch-exported as a Markdown ZIP.

GitHub repository: https://github.com/beijingwahw/dsh-conv-export.

The materials used for this article did not provide a verifiable community directory page URL. The DSH community directory is an independent site and is not equivalent to an official app store; if you need to browse from the directory, please refer to the actual DSH directory entry.

羽毛球分组比赛记分
小程序二维码

欢迎使用《羽毛球分组比赛记分》微信小程序

Xiaoye