Repomix
@yamadashy
About Repomix
๐ฆ Repomix (formerly 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, DeepSeek, Perplexity, Gemini, Gemma, Llama,
Overview
What is Repomix?
Repomix is a powerful CLI tool that packs an entire repository into a single, AI-friendly file, designed for feeding codebases to large language models (LLMs) like Claude, ChatGPT, DeepSeek, and others. It runs via npx, npm global install, Docker, a web interface at repomix.com, and a community-maintained VSCode extension.
How to use Repomix?
Run npx repomix in any project directory to generate a repomix-output.txt file. Options include --include/--ignore for glob patterns, --remote for remote repositories, --compress for token reduction, --style xml for XML output, and --init to create a config file. A website at repomix.com allows browser-based use.
Key features of Repomix
- Packs entire repository into a single AI-friendly file
- Token counting for files and total repository
- Git-aware; respects
.gitignoreand.git/info/exclude - Security checks via Secretlint to prevent sensitive data leaks
- Code compression with Tree-sitter to reduce token count
- Customizable include/exclude patterns and output style (Plain Text, XML, Markdown)
Use cases of Repomix
- Code review and refactoring suggestions by feeding the packed file to an LLM
- Generating project documentation from the codebase
- Creating comprehensive test cases for main functions and classes
- Assessing code quality and adherence to best practices
- Getting a high-level overview of a libraryโs architecture
FAQ from Repomix
What is Repomix and how does it differ from other tools?
Repomix is a tool that packs your entire repository into a single, AI-friendly file. It is optimized for LLM consumption with features like token counting, security scanning, and compression, unlike simple concatenation tools. It supports multiple output formats and can work with remote repositories.
What platforms or AI tools can I use with Repomix?
Repomix works with Claude, ChatGPT, DeepSeek, Perplexity, Gemini, Gemma, Llama, Grok, and more. You can copy the generated file into any LLM chat or use it with API-based workflows.
How do I install and run Repomix?
You can run it instantly with npx repomix without installation, or install globally via npm install -g repomix, yarn global add repomix, brew install repomix, or use the Docker image ghcr.io/yamadashy/repomix. A web version is available at repomix.com.
Is Repomix free and open source?
Yes, Repomix is open source (MIT license) and free to use. There is no pricing or licensing fee mentioned in the README.
Does Repomix support remote repositories?
Yes, use repomix --remote <url> to pack a remote repository. You can specify a branch, commit hash, or URL with branch/commit details.
Basic information
More IDE & Code Editors MCP clients
NASA API Integration with MCP
jmand626The MCP Project for CSE 473 Winter 2025. Coded with the assistance of Cursor AI and Claude 3.7
VIBE-BLOCKS-MCP-FOR-ROBLOX-STUDIO
majidmanzarpourZENGLIANGYI
ZengLiangYiUS Government Open Data MCP
lzingaMCP server with 188 tools for 36 U.S. government APIs. Access Treasury, FRED, Congress, FDA, CDC, FEC, lobbying disclosures, SEC, USGS, and many more. Cross-references data automatically across sources. 18 APIs need no key.
prodex-js
tarasyaremaThe ultimate vide coding MCP!
Comments