Overview of Repomix features
mainRepomix is a tool designed to pack entire repositories into a single, AI-optimized file for use with LLMs (Claude, ChatGPT, Gemini).
Key capabilities include:
- AI-Optimized Formatting: Structures code for easy LLM processing.
- Token Counting: Uses
tiktokento provide counts per file and for the whole repo (configure via--token-count-encoding). - Git-Aware: Automatically respects
.gitignore,.repomixignore, and.ignorefiles. - Security: Uses
detect-secretsto prevent sensitive data inclusion. - Compression: Multiple modes to reduce output size.
- Performance: Uses multiprocessing/threading for speed.
- Robustness: Automatically detects file encodings using
chardet.