Greasy Fork

Greasy Fork is available in English.

Claude Project Files Extractor

Download/extract all files from a Claude project as a single ZIP

当前为 2025-07-02 提交的版本,查看 最新版本

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

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

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

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

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

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

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

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

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

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

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

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

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

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

作者
sharmanhall
评分
0 0 0
版本
2.0
创建于
2025-07-02
更新于
2025-07-02
大小
14.5 KB
许可证
MIT
适用于

Claude Project Files Extractor (ZIP Export)

A powerful Tampermonkey userscript that extracts all files from your Claude AI projects and downloads them as a single ZIP file with intelligent filename detection.

🚀 Features

  • One-Click ZIP Export: Downloads all project files in a single convenient ZIP archive
  • Smart File Detection: Automatically finds and extracts project knowledge files from the sidebar
  • Intelligent Naming: Recognizes file types and gives meaningful names:
    • Project Instructions.txt for project prompts/instructions
    • filename.txt for knowledge base files
    • filename.pdf.txt for PDF content extracted as text
  • Real-Time Status Updates: Button shows progress with clear status messages
  • Automatic Fallback: Falls back to individual file downloads if ZIP creation fails
  • Cross-Browser Compatible: Works reliably in Chrome, Firefox, and Edge
  • No Manual Setup: Automatically loads required libraries (JSZip) from CDN

🎯 What Gets Exported

  • All Project Knowledge Files: Every file you've uploaded to the project
  • Full Text Content: Extracts readable text from PDFs and other file types
  • Project Metadata: Export timestamp, project title, URL, and file count
  • Clean Organization: Files are properly named and organized within the ZIP

📦 Export Format

Downloads a single ZIP file containing: ProjectName_export_2025-00-00T00-00.zip ├── Project Instructions.txt ├── filename.txt ├── filename2.txt ├── filename3.txt └── _metadata.json

🔧 How to Use

  1. Install the script via Tampermonkey
  2. Navigate to any Claude project (claude.ai/project/...)
  3. Click the floating export button in the bottom-right corner
  4. Watch the progress as files are extracted and packaged
  5. Download your ZIP when complete!

💡 Button Status Messages

  • 🔄 Loading ZIP library... - Setting up export tools
  • 🔄 Finding files... - Scanning project for files
  • 🔄 Creating ZIP (3 files)... - Packaging files
  • ✅ ZIP exported! (3 files) - Success!

🛠️ Technical Details

  • No External Dependencies: Dynamically loads JSZip library only when needed
  • Modal Interaction: Intelligently clicks files and extracts content from dialogs
  • Content Filtering: Removes UI elements and extracts only meaningful content
  • Error Handling: Graceful fallback and clear error reporting
  • Memory Efficient: Processes files one at a time to avoid browser limits

🎨 Use Cases

Perfect for:

  • Backing up Claude projects before making changes
  • Sharing project files with team members
  • Archiving completed projects for future reference
  • Migrating projects between accounts
  • Offline access to project content
  • Documentation workflows and content management

🔒 Privacy & Security

  • No data transmission: All processing happens locally in your browser
  • No external servers: Files go directly from Claude to your download folder
  • No tracking: Script only interacts with Claude.ai pages
  • Open source: Full code visible for review and modification

🚀 Installation Requirements

  • Tampermonkey extension (or similar userscript manager)
  • Modern browser with JavaScript enabled
  • Access to Claude AI projects

⭐ Why This Script?

Unlike manual copy-paste or individual file downloads, this script:

  • Saves time - One click vs manual extraction of each file
  • Preserves organization - Maintains file structure and metadata
  • Handles all file types - PDFs, text files, knowledge bases
  • Works reliably - Tested across different browsers and project types
  • Zero configuration - Works immediately after installation

Transform your Claude project management workflow with this essential productivity tool!