Greasy Fork

Greasy Fork is available in English.

Claude Chat Downloader

Add download button to save Claude AI conversations in TXT, MD, or JSON format

目前为 2024-10-28 提交的版本。查看 最新版本

作者
papacasper
评分
0 0 0
版本
2.0 alpha
创建于
2024-10-25
更新于
2024-10-28
大小
8.7 KB
许可证
MIT
适用于

Claude Chat Downloader

A userscript that adds an Export button to Claude.ai, allowing you to download your conversations in multiple formats.

Features

  • 📥 Adds an Export button to the Claude.ai interface
  • 💾 Download conversations in TXT, MD, or JSON formats
  • 🎨 Seamlessly integrates with Claude's UI design
  • 🌓 Supports both light and dark modes
  • 📱 Works on desktop and mobile views
  • 🔍 Preserves code blocks and formatting

Installation

  1. Install Tampermonkey for your browser
  2. Click the "Install" button above
  3. Approve the installation in Tampermonkey

Usage

  1. Go to Claude.ai
  2. Open any conversation
  3. Look for the "Export" button in the top toolbar
  4. Click and choose your preferred format:
    • TXT: Simple text format with clear speaker labels
    • MD: Markdown format with headers and formatting preserved
    • JSON: Complete conversation data in JSON format

Export Format Examples

TXT Format

User:
Hello Claude!

Claude:
Hello! How can I help you today?

MD Format

# Claude Chat Export

*Exported on [timestamp]*

### User
Hello Claude!

---

### Claude
Hello! How can I help you today?

---

JSON Format

{
  "chat_messages": [
    {
      "sender": "human",
      "text": "Hello Claude!"
    },
    {
      "sender": "assistant",
      "text": "Hello! How can I help you today?"
    }
  ]
}

Support

Changelog

v1.0 alpha (Current)

  • Initial public release
  • Added support for multiple export formats (TXT, MD, JSON)
  • Added mobile view support
  • Improved dark/light mode handling