
About Repomix
Developer Tools · Free · Open source
Repomix is a command-line tool that packages an entire local or remote codebase into a single AI-friendly file such as XML, Markdown, JSON, or plain text. It automatically respects gitignore rules, detects security credentials with Secretlint, and provides token counts to help developers share repository context efficiently with LLMs.
Written by our automated systems from Repomix's own description and website. It is a summary, not a scored review — we publish no rating, score or percentage we did not measure ourselves. The maker of this listing can edit or remove it.
What is Repomix?
Repomix is a command-line tool that packages an entire local or remote codebase into a single AI-friendly file. It is designed to help developers share repository context efficiently with LLMs and generative AI tools. The product generates output formats such as XML, Markdown, JSON, or plain text to assist with tasks like code reviews, refactoring, and documentation generation.
Repomix key features
- Packages entire local or remote codebases into a single file
- Automatically respects gitignore rules
- Detects security credentials using Secretlint to leave them out of the output
- Provides token counts for each file and the entire repository
- Offers code compression using Tree-sitter to extract essential code signatures and structure while removing implementation details
- Supports custom include and ignore patterns using glob patterns
- Includes options to remove comments and empty lines, show line numbers, and output a parsable format
Repomix pros and cons
Pros
- Useful for packaging entire repositories into AI-friendly formats for tools like Claude, ChatGPT, and Gemini
- Works with private repositories by utilizing locally installed git
- Provides flexibility through multiple installation methods including npm, yarn, bun, Homebrew, and Docker
- Reduces token usage through optional code compression and comment removal features
Cons
- Escape output options based on the chosen style schema can increase token count
- Relies on Secretlint for credential detection, which requires verifying specific credential format matches
- Requires manual configuration or command-line flags to filter specific files, directories, or remote branches
Who Repomix is for
Repomix fits developers and technical teams working with LLMs who need to supply full repository context for refactoring, bug investigation, and code generation. It is built for users of command-line tools who want to bundle code for assistants like Claude, ChatGPT, Gemini, and Aider. It is a poor fit for non-technical users who do not use the command line or Docker and require a graphical user interface.
What makes Repomix different
Unlike manual file exploration or copying individual files into chat interfaces, Repomix aggregates local or remote repositories into a single structured file via the command line. It combines repository-wide context packing with automated gitignore compliance, security credential filtering via Secretlint, and built-in token counting. It also supports specialized output options like Tree-sitter code compression to reduce token usage.
Repomix integrations and compatibility
Repomix works with Claude, ChatGPT, Gemini, Grok, Aider, MCP, and Secretlint. It supports output file formats including XML, Markdown, JSON, and plain text, and runs on MacOS, Linux, and Windows platforms via npm, yarn, bun, Homebrew, or Docker.
Repomix alternatives
The developer tools listed here closest to Repomix, by shared categories and tags and by how alike the two descriptions read. Not a ranking against Repomix — open one and judge for yourself.
GitingestTurn any Git repository into a prompt-friendly text digest
Open InterpreterAn open-source terminal coding agent
ButterfishAI prompting and shell integration for the command line
AiderPair programming with an LLM in your terminal
PotpieAI-native SDLC automation for engineering teams
mini-SWE-agentA minimal 100-line AI coding agent using bash
Be the first to comment