Greasy Fork 还支持 简体中文。

Chat Export Toolkit (Yuanbao)

Export Yuanbao conversations as Markdown / JSON / DOCX (single + all)

2026/03/03のページです。最新版はこちら

スクリプトをインストールするには、Tampermonkey, GreasemonkeyViolentmonkey のような拡張機能のインストールが必要です。

You will need to install an extension such as Tampermonkey to install this script.

スクリプトをインストールするには、TampermonkeyViolentmonkey のような拡張機能のインストールが必要です。

スクリプトをインストールするには、TampermonkeyUserscripts のような拡張機能のインストールが必要です。

このスクリプトをインストールするには、Tampermonkeyなどの拡張機能をインストールする必要があります。

このスクリプトをインストールするには、ユーザースクリプト管理ツールの拡張機能をインストールする必要があります。

(ユーザースクリプト管理ツールは設定済みなのでインストール!)

このスタイルをインストールするには、Stylusなどの拡張機能をインストールする必要があります。

このスタイルをインストールするには、Stylus などの拡張機能をインストールする必要があります。

このスタイルをインストールするには、Stylus tなどの拡張機能をインストールする必要があります。

このスタイルをインストールするには、ユーザースタイル管理用の拡張機能をインストールする必要があります。

このスタイルをインストールするには、ユーザースタイル管理用の拡張機能をインストールする必要があります。

このスタイルをインストールするには、ユーザースタイル管理用の拡張機能をインストールする必要があります。

(ユーザースタイル管理ツールは設定済みなのでインストール!)

このスクリプトの質問や評価の投稿はこちら通報はこちらへお寄せください
作者
gandli jk (gandli)
評価
0 0 0
バージョン
0.2.0
作成日
2026/03/03
更新日
2026/03/03
大きさ
27KB
ライセンス
MIT
対象サイト

Chat Export Toolkit

Tampermonkey userscript for exporting Tencent Yuanbao conversations into ingestion-friendly files.

Scope (Simplified)

This repo intentionally focuses on export only:

  • Export the current (single) conversation as Markdown / JSON / DOCX
  • Export all conversations from your Yuanbao account as Markdown / JSON / DOCX

Non-export features (copy buttons, style toggles, extra menu commands, complex UI) are intentionally removed.

Export Actions (6)

The export button opens a compact panel with exactly these actions:

  • Current: MD, JSON, DOCX
  • All Conversations: MD, JSON, DOCX

Includes a real-time progress bar for all-conversation export and optimized DOCX generation.

How “All Conversations” Works

When you click an “All Conversations” export button, the script tries to:

  1. Read the conversation list API (with pagination)
  2. Pull each conversation’s detail via the detail API
  3. Export the merged result as MD / JSON / DOCX

It still uses in-memory cache for speed, but no longer depends only on manually opened chats.

Files

  • userscripts/chat-export.user.js - Tampermonkey userscript (Yuanbao)

License

MIT