CodeHarvester

A powerful web-based tool that recursively processes folders to extract and combine text files into a single output, with advanced visualization and analysis features.

Available on: codeharvester.pages.dev

✨ Key Features

📁 File Processing

  • Recursive folder processing - Automatically processes all text files in selected folder and subfolders
  • Smart file detection - Intelligently identifies text files based on extensions and MIME types
  • Multiple encoding support - Handles UTF-8, Windows-1252, and ISO-8859-1 encodings
  • Large file handling - Safely skips files larger than 10MB to prevent browser freezing
  • Pause/Resume functionality - Control processing with pause and resume capabilities

🎨 User Interface

  • Modern responsive design - Clean, professional interface that works on all devices
  • Dark/Light theme toggle - Switch between themes with automatic persistence
  • Progress tracking - Real-time progress bar showing processing status
  • Tabbed interface - Organized views for output, errors, and file preview

🌳 Directory Visualization

  • Interactive directory tree - Visual representation of folder structure
  • Expandable/Collapsible nodes - Navigate through directory hierarchy
  • File status indicators - Visual indicators showing processed (✅), skipped (⏭️), or error (❌) files
  • File size display - Shows individual file sizes in the tree
  • Copy tree structure - Export directory tree as formatted text

📊 Analytics & Statistics

  • Processing statistics - Track files processed, errors, total size, and skipped files
  • File type analysis - Visual chart showing distribution of file types
  • Error tracking - Detailed error log with timestamps and descriptions
  • Real-time updates - Statistics update during processing

📝 Output Options

  • Multiple formats:
    • Tagged format - <file path> and <file content> tags (default)
    • Markdown format - Clean markdown with code blocks
    • JSON format - Structured data with metadata
  • File filtering - Filter output by filename or extension
  • Download support - Save results as .txt or .json files
  • Clipboard integration - One-click copy to clipboard

🔍 File Preview

  • In-app file preview - View individual file contents without processing
  • Syntax preservation - Maintains original formatting and structure
  • Quick access - Click any processed file in the directory tree to preview

🚀 How to Use

Getting Started

  1. Select Folder: Click the "📂 Select Folder" button to choose your target directory
  2. Monitor Progress: Watch the real-time progress bar and statistics
  3. Control Processing: Use pause/resume functionality if needed
  4. Review Results: Examine the directory tree, statistics, and any errors

Viewing Results

Export Options

Advanced Features

🛠️ Technical Details

Browser Support

File Type Support

Supports 80+ file extensions including:

Security & Privacy

🎯 Use Cases

🔧 Advanced Configuration

Custom File Filtering

The app intelligently detects text files but you can also:

Error Handling

📋 Requirements


Perfect for developers, researchers, and anyone who needs to efficiently process and analyze folder structures!