yamadashy / repopack

📦 Repopack is a powerful tool that packs your entire repository into a single, AI-friendly file. Perfect for when you need to feed your codebase to Large Language Models (LLMs) or other AI tools like Claude, ChatGPT, and Gemini.
MIT License
653 stars 32 forks source link

Enhance performance and user experience with improved progress reporting #65

Closed yamadashy closed 2 weeks ago

yamadashy commented 2 weeks ago

This PR addresses performance issues and improves the user experience by preventing the appearance of hanging during CPU-intensive operations.

Key changes:

  1. Performance improvements:

    • Introduced sleep() in CPU-heavy processes (security check, metrics calculation) to prevent event loop blocking
    • Optimized CLI spinner for more efficient updates
  2. Progress reporting enhancements:

    • Implemented a progress callback system for real-time updates
    • Added detailed progress messages for each stage of the packing process
  3. Python support:

    • Extended default ignore list with essential Python-related entries

These changes significantly improve the responsiveness of the application during long-running tasks and provide users with better visibility into the packing process.