Repomix is a tool designed to package entire codebases into single files formatted specifically for compatibility with AI systems. It addresses the challenge of providing large-scale code context to generative AI tools by consolidating repositories into AI-friendly outputs, making it easier to perform tasks such as code review, refactoring, bug investigation, and documentation generation with AI assistance. The tool is suitable for developers who want to share comprehensive repository context with AI models for analysis and insight generation.
Repomix offers several features aimed at optimizing codebases for AI consumption. It supports multiple output formats, including XML, Markdown, JSON, and plain text, and allows users to customize output with options such as including file summaries, directory structures, and line numbers. gitignore files. Advanced processing options include compressing code, removing comments or empty lines, and utilizing Tree-sitter to extract code signatures and structure while omitting implementation details, which helps reduce token count for AI models. Repomix also incorporates Secretlint for security checks to detect sensitive information and provides token counts for each file and the entire repository, which is especially useful for managing large language model context limits.
The tool can be used as a command-line interface (CLI) application, supporting direct operation within project directories or on remote repositories. Installation is flexible, with options including npx, npm, yarn, bun, and Homebrew, and it can also be run in isolated environments via Docker. Users can create configuration files for persistent settings, and Repomix can access private repositories using the local git installation. Additionally, a Chrome extension is mentioned, suggesting browser-based integration.
Repomix is positioned as a developer tool for those seeking to leverage AI in understanding, reviewing, and improving codebases.
Repomix is a Developer Tools product. It focuses on making codebases easier to analyze and review by converting them into AI-friendly formats. Repomix is a consumer product aimed at developers. Repomix costs nothing to use. It runs on the web and embeddable surfaces.
Behind Repomix is yamadashy, and the product first shipped in 2024. The project is developed in the open on GitHub with 26.7k stars and 744 commits in the last 90 days. Among its 5 catalogued features are AI code packaging, codebase analysis, and online usage.
Latest indexed changes and source events
Other apps tracked under the same category.