Open-Awesome
CategoriesAlternativesStacksSelf-HostedExplore
Open-Awesome

© 2026 Open-Awesome. Curated for the developer elite.

TermsPrivacyAboutGitHubRSS
  1. Home
  2. Angular
  3. repomix

repomix

MITTypeScriptv1.13.1

Pack your entire codebase into a single AI-friendly file for analysis by LLMs like Claude, ChatGPT, and Gemini.

Visit WebsiteGitHubGitHub
23.8k stars1.2k forks0 contributors

What is repomix?

Repomix is a command-line tool that packages an entire code repository into a single, AI-friendly file. It transforms complex codebases into structured formats (XML, Markdown, JSON, or plain text) that are optimized for ingestion by Large Language Models like Claude, ChatGPT, and Gemini. This solves the problem of feeding large projects to AI assistants while respecting token limits and maintaining code context.

Target Audience

Developers and teams using AI coding assistants (Claude Code, Cursor, GitHub Copilot) who need to analyze entire codebases, conduct code reviews, generate documentation, or refactor projects with LLM support.

Value Proposition

Repomix offers a secure, git-aware, and highly configurable way to prepare code for AI analysis. Unlike manual file concatenation, it provides token optimization, security scanning, remote repository support, and multiple output formats—making it the most comprehensive tool for AI-powered codebase workflows.

Overview

📦 Repomix 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, Grok, and more.

Use Cases

Best For

  • Feeding entire code repositories to Claude or ChatGPT for architectural review
  • Generating documentation from existing codebases using AI assistants
  • Conducting AI-powered code refactoring across multiple files
  • Analyzing remote GitHub repositories without cloning them locally
  • Optimizing token usage when sending large projects to LLM context windows
  • Securely sharing codebases with AI tools while scanning for sensitive data

Not Ideal For

  • Projects that do not use AI or LLMs for code analysis, documentation, or refactoring
  • Teams needing real-time, interactive code editing or collaboration without generating static files
  • Scenarios where code must remain in separate files for version control or CI/CD pipeline integration

Pros & Cons

Pros

AI-Optimized Formatting

Structures code in XML, Markdown, JSON, or plain text specifically for LLM comprehension, as the README highlights outputs designed for tools like Claude and ChatGPT with clear separators and metadata.

Built-in Security Scanning

Integrates Secretlint to detect and prevent inclusion of sensitive data like API keys, ensuring secure code sharing with AI tools without manual filtering.

Remote Repository Support

Can directly clone and pack public Git repos via URL or shorthand (e.g., user/repo) without local cloning, enabling quick analysis of external codebases from the command line.

Flexible Configuration Options

Supports multiple config file formats (JSON, TypeScript) and extensive CLI options for precise control over file inclusion, output styles, and token optimization, as shown in the detailed configuration section.

Cons

Experimental Compression Feature

The --compress option using Tree-sitter is labeled experimental in the README, which may lead to unstable or incomplete code extraction in some languages or edge cases.

Security vs. Functionality Trade-off

By default, config files from remote repositories are not loaded for security reasons (mentioned in the README), potentially limiting customization and requiring manual overrides for trusted repos.

CLI Complexity Overhead

With over 50 command-line options and nuanced configuration, casual users may find it overwhelming to leverage advanced features like MCP integration or skill generation without significant trial and error.

Frequently Asked Questions

Quick Stats

Stars23,786
Forks1,166
Contributors0
Open Issues131
Last commit1 day ago
CreatedSince 2024

Tags

#ai#developer-tools#openai#security-scanning#chatbot#ai-developer-tools#cli-tool#llm#claude#generative-ai#model-context-protocol#chatgpt#javascript#llm-tooling#code-analysis#gpt#git-integration

Built With

T
TypeScript
N
Node.js
T
Tree-sitter
D
Docker

Links & Resources

Website

Included in

Angular10.0k
Auto-fetched 1 day ago

Related Projects

context7context7

Context7 Platform -- Up-to-date code documentation for LLMs and AI code editors

Stars53,482
Forks2,529
Last commit1 day ago
deep-chatdeep-chat

Fully customizable AI chatbot component for your website

Stars3,591
Forks436
Last commit2 days ago
Community-curated · Updated weekly · 100% open source

Found a gem we're missing?

Open-Awesome is built by the community, for the community. Submit a project, suggest an awesome list, or help improve the catalog on GitHub.

Submit a projectStar on GitHub