Greasy Fork

来自缓存

Greasy Fork is available in English.

导出 ChatGPT/Gemini/Grok/Claude 聊天记录 -> MD, JSON, CSV, TXT, HTML

将 ChatGPT、Gemini、Grok、Claude 的聊天记录导出为 Markdown、JSON、CSV、TXT、HTML 格式。

您需要先安装一款用户脚本管理器扩展,例如 Tampermonkey 篡改猴Greasemonkey 油猴子Violentmonkey 暴力猴,才能安装此脚本。

您需要先安装一款用户脚本管理器扩展,例如 Tampermonkey 篡改猴,才能安装此脚本。

您需要先安装一款用户脚本管理器扩展,例如 Tampermonkey 篡改猴Violentmonkey 暴力猴,才能安装此脚本。

您需要先安装一款用户脚本管理器扩展,例如 Tampermonkey 篡改猴Userscripts ,才能安装此脚本。

您需要先安装一款用户脚本管理器扩展,例如 Tampermonkey 篡改猴,才能安装此脚本。

您需要先安装一款用户脚本管理器扩展后才能安装此脚本。

(我已经安装了用户脚本管理器,让我安装!)

您需要先安装一款用户样式管理器扩展,比如 Stylus,才能安装此样式。

您需要先安装一款用户样式管理器扩展,比如 Stylus,才能安装此样式。

您需要先安装一款用户样式管理器扩展,比如 Stylus,才能安装此样式。

您需要先安装一款用户样式管理器扩展后才能安装此样式。

您需要先安装一款用户样式管理器扩展后才能安装此样式。

您需要先安装一款用户样式管理器扩展后才能安装此样式。

(我已经安装了用户样式管理器,让我安装!)

作者
Kairox
日安装量
6
总安装量
183
评分
2 0 0
版本
1.0.0
创建于
2026-04-11
更新于
2026-04-11
大小
39.0 KB
许可证
MIT
适用于

🚀 AI Conversation Exporter & Previewer (Draggable Floating Button)

Export your chat history from ChatGPT, Gemini, Grok, and Claude seamlessly with this powerful, customizable, and beautifully designed userscript. Say goodbye to manual copying and pasting – export your entire conversation with a single click in your preferred format!

✨ Key Features

  • Multi-Platform Support: Works flawlessly across the most popular AI platforms:
    • 🤖 ChatGPT (chatgpt.com)
    • ✨ Google Gemini (gemini.google.com)
    • 🧠 Anthropic Claude (claude.ai)
    • 🌌 xAI Grok (grok.com)
  • Multiple Export Formats: Choose the format that best suits your needs:
    • Markdown (.md): Perfect for Obsidian, Notion, Typora, or GitHub. Preserves code blocks, bold text, lists, and LaTeX equations.
    • JSON (.json): Ideal for developers! Exports the conversation as a structured array of User and AI turns, ready to be fed into your scripts or AI agent workflows.
    • CSV (.csv): Great for data analysis. Exports the chat into a neat spreadsheet format.
    • HTML (.html): A beautifully styled, standalone webpage containing your chat, perfect for sharing or archiving.
    • Plain Text (.txt): A simple, raw text output.
  • Premium Glassmorphism UI: Enjoy a sleek, modern, and non-intrusive floating button with a frosted glass effect that adapts to your system's dark or light theme.
  • Draggable & Smart Positioning:
    • Freely drag the "Export" button anywhere on your screen.
    • The script remembers its position even after you refresh the page.
    • The export menu smartly opens upwards or downwards depending on where you place the button, ensuring it never goes off-screen!
  • Internationalization (i18n): The button and menu texts automatically adapt to your browser's language (supports 104 languages!).
  • Zero Interference: Built using safe, isolated DOM injection techniques that bypass strict Content Security Policies (CSP) without breaking the AI website's core functionality.

🛠️ How to Use

  1. Install a Userscript Manager: Make sure you have an extension like Tampermonkey or Violentmonkey installed in your browser.
  2. Install this Script: Click the green "Install this script" button above.
  3. Start Exporting:
    • Open any chat on ChatGPT, Gemini, Claude, or Grok.
    • Look for the floating Export button (default position is the bottom right corner).
    • Wait for the page to fully load.
    • Click the button to open the menu.
    • Select your desired format (Markdown, JSON, CSV, TXT, or HTML).
    • The file will automatically download to your computer!
  4. Move the Button: Click and hold the button to drag it to a more convenient location on your screen.

📝 Notes & Troubleshooting

  • Page Loading: Please ensure the chat page has fully loaded before clicking export. If the export fails, wait a few seconds and try again.
  • Long Conversations: For extremely long chats, you might need to scroll down to the bottom of the page first to ensure all messages are loaded into the browser's memory before exporting.
  • Missing Button? If the button doesn't appear, try refreshing the page. Some AI sites use complex single-page application (SPA) routing, but the script is designed to automatically detect and reappear.

🔒 Privacy & Security

This script runs 100% locally in your browser. It does not send your chat data to any external servers, analytics trackers, or third parties. It simply reads the text currently visible on your screen and packages it into a downloadable file.


Created with ❤️ for the AI community.