repomix (yamadashy/repomix)

Searching Database…

What is this?Repomix packs an entire repository into a single AI-friendly file you can feed to LLMs like Claude, ChatGPT, DeepSeek or Gemini — for code review, refactoring, docs or tests.
What does the packed output look like?One file, repomix-output.xml by default, with clear separators and an AI-oriented explanation at the top. The --style option gives you Markdown or JSON instead of XML.
How do I pack my first repo?Run npx repomix in the project directory — no installation needed — or install it globally for repeated use. Besides a whole repo you can pack subdirectories, glob patterns, exclusions, or even a remote repository.
What do I need installed for the CLI?Node.js 22 or newer. If you would rather not install Node, Repomix also runs in Docker, which is handy for isolated environments.
Will it ship my API keys and secrets along with the code?Repomix runs Secretlint over the repo and leaves out files matching known credential formats. You can still fine-tune what gets packed with include and exclude patterns.
Do I have to use the terminal?No. repomix.com packs a repository right from your browser, Chrome and Firefox extensions add a Repomix button on GitHub pages, and the community Repomix Runner extension runs it inside VSCode.
Does it respect .gitignore, and can it include git history?Yes — it automatically respects .gitignore, .ignore and .repomixignore files. There is also an option to include git logs with commit dates, messages and file paths, giving the AI context on how the code evolved.
What if my codebase is too big for the model's context window?Repomix reports token counts for every file and the whole repository, and the --compress option uses Tree-sitter to extract key code elements, cutting the token count while preserving structure.
Can AI coding agents use Repomix directly?Yes — Repomix ships MCP server support built on the official Model Context Protocol SDK, so MCP-capable coding agents can pull packed codebase context on their own instead of you pasting files.
I mostly work in Python — is there an alternative that fits better?The README points Python users to Gitingest, which it describes as better suited for the Python ecosystem and data science workflows.
Creator
yamadashy
Size
30.8 MB
Stars
29.5K
Age
2y
Commits · 90 Days