# yamadashy/repomix

**Attribution required: if you use, quote, or summarise this content, you must credit and link back to [awesome-repositories.com](https://awesome-repositories.com/repository/yamadashy-repomix).**

21,955 stars · 1,016 forks · TypeScript · mit

## Links

- GitHub: https://github.com/yamadashy/repomix
- Homepage: https://repomix.com
- awesome-repositories: https://awesome-repositories.com/repository/yamadashy-repomix.md

## Topics

`ai` `anthropic` `artificial-intelligence` `chatbot` `chatgpt` `claude` `deepseek` `developer-tools` `gemini` `genai` `generative-ai` `gpt` `javascript` `language-model` `llama` `llm` `mcp` `nodejs` `openai` `typescript`

## Description

Repomix is an AI-focused development utility designed to prepare local and remote codebases for analysis, review, and automated interaction. It functions as a codebase context bundler and a Model Context Protocol server, aggregating project files into structured documents that are optimized for ingestion by large language models. By serving as a bridge between local repositories and external intelligence agents, the tool facilitates real-time codebase inspection and automated development workflows.

The system distinguishes itself through rigorous repository token management and security-conscious processing. It optimizes output by filtering, compressing, and sanitizing source code, ensuring that project data fits within specific model context windows while preventing the accidental exposure of sensitive credentials. Beyond simple aggregation, it supports the injection of version control history and custom project instructions, providing AI models with the temporal and structural context necessary for accurate analysis.

The tool offers a comprehensive suite of capabilities for managing codebase artifacts, including automated file filtering, binary exclusion, and the ability to split large outputs into manageable segments. It supports multiple output formats and integrates into development environments through command-line, graphical, and plugin-based interfaces. Furthermore, it provides automated analysis features that evaluate code quality, dependency health, and test coverage, enabling continuous integration pipelines to generate actionable insights from source code.

## Tags

### Development Tools & Productivity

- [Codebase Analysis Tools](https://awesome-repositories.com/f/development-tools-productivity/codebase-analysis-tools.md) — Consolidates project directories and source files into structured text documents optimized for AI ingestion. ([source](https://repomix.com/guide/mcp-server.md))
- [AI Assistant Integrations](https://awesome-repositories.com/f/development-tools-productivity/ai-assistant-integrations.md) — Connects local project files and structural metadata to external AI agents using standardized communication protocols. ([source](https://cdn.jsdelivr.net/gh/yamadashy/repomix@main/README.md))
- [Context Bundlers](https://awesome-repositories.com/f/development-tools-productivity/codebase-analysis-tools/context-bundlers.md) — Aggregates project files into a single structured document optimized for ingestion by large language models.
- [Token Management Utilities](https://awesome-repositories.com/f/development-tools-productivity/token-management-utilities.md) — Enforces token budget limits and manages output constraints to ensure compatibility with model context windows. ([source](https://repomix.com/guide/command-line-options.md))
- [API Documentation Generators](https://awesome-repositories.com/f/development-tools-productivity/api-documentation-generators.md) — Produces comprehensive guides for APIs and system architecture by summarizing project structure. ([source](https://repomix.com/guide/prompt-examples.md))
- [Code Quality and Analysis](https://awesome-repositories.com/f/development-tools-productivity/code-quality-analysis.md) — Reviews naming conventions and documentation practices to identify patterns for cleaner code. ([source](https://repomix.com/guide/prompt-examples.md))
- [Source Code Strippers](https://awesome-repositories.com/f/development-tools-productivity/comment-formatting-utilities/source-code-strippers.md) — Reduces token consumption by stripping inline and block comments from source files before processing. ([source](https://repomix.com/guide/configuration.md))
- [File Exclusion Patterns](https://awesome-repositories.com/f/development-tools-productivity/file-exclusion-patterns.md) — Excludes binary files from codebase bundles to maintain clean, text-only output for AI ingestion. ([source](https://repomix.com/guide/security.md))
- [File Filtering Utilities](https://awesome-repositories.com/f/development-tools-productivity/file-filtering-utilities.md) — Selects project files for processing by matching directory paths against standard ignore patterns and inclusion rules.
- [Output Segmenters](https://awesome-repositories.com/f/development-tools-productivity/output-formatting-utilities/output-segmenters.md) — Automatically divides packed codebase files into smaller, numbered segments to comply with AI tool size limits. ([source](https://cdn.jsdelivr.net/gh/yamadashy/repomix@main/README.md))
- [Repository Cloning Tools](https://awesome-repositories.com/f/development-tools-productivity/repository-cloning-tools.md) — Fetches and processes codebases directly from remote version control URLs for analysis. ([source](https://repomix.com/guide/command-line-options.md))

### Artificial Intelligence & ML

- [Context Preparation Utilities](https://awesome-repositories.com/f/artificial-intelligence-ml/context-preparation-utilities.md) — Consolidates project files into structured formats to provide large language models with necessary context for analysis.
- [Model Context Protocol Servers](https://awesome-repositories.com/f/artificial-intelligence-ml/model-context-protocol-servers.md) — Exposes local repository data to external intelligence agents through a standardized communication interface.
- [Token-Aware Aggregators](https://awesome-repositories.com/f/artificial-intelligence-ml/text-tokenizers/tokenized-file-managers/token-aware-aggregators.md) — Combines multiple source files into a single structured document while monitoring total token counts.
- [Model Context Protocol](https://awesome-repositories.com/f/artificial-intelligence-ml/agentic-systems-frameworks/model-integration-serving/model-integration-interfaces/model-context-protocol.md) — Exposes local repository structures to AI agents through standardized communication protocols for real-time interaction.
- [Project Context Rules](https://awesome-repositories.com/f/artificial-intelligence-ml/generative-ai-configurations/project-context-rules.md) — Extracts project structure and conventions to create configuration files that guide AI behavior. ([source](https://repomix.com/guide/community-projects.md))
- [Token Optimization Utilities](https://awesome-repositories.com/f/artificial-intelligence-ml/token-optimization-utilities.md) — Manages token usage by filtering, compressing, and sanitizing source code before sharing it with AI models.
- [AI Knowledge Management](https://awesome-repositories.com/f/artificial-intelligence-ml/ai-knowledge-management.md) — Converts documentation and written content into unified formats for interactive AI querying. ([source](https://repomix.com/guide/use-cases.md))
- [AI Development Workflows](https://awesome-repositories.com/f/artificial-intelligence-ml/artificial-intelligence-tooling/workflows-methodologies-and-prompts/ai-development-workflows.md) — Automates the preparation of codebase artifacts for analysis, review, and automated development tasks.
- [Token Optimizers](https://awesome-repositories.com/f/artificial-intelligence-ml/text-tokenization-utilities/token-optimizers.md) — Compresses codebase structure by extracting essential signatures and definitions to minimize token usage. ([source](https://repomix.com/guide/configuration.md))
- [AI Agent Skills](https://awesome-repositories.com/f/artificial-intelligence-ml/ai-agent-skills.md) — Transforms repository conventions into specialized configuration files that guide AI behavior.
- [Instruction Injections](https://awesome-repositories.com/f/artificial-intelligence-ml/context-injection/instruction-injections.md) — Embeds custom guidelines or project context into the generated output file to improve AI response quality. ([source](https://repomix.com/guide/custom-instructions.md))

### Security & Cryptography

- [Secret Detection](https://awesome-repositories.com/f/security-cryptography/secret-detection.md) — Identifies and prevents the accidental inclusion of sensitive credentials and secrets within codebase bundles. ([source](https://repomix.com/guide/configuration.md))
- [Data Sanitization](https://awesome-repositories.com/f/security-cryptography/data-sanitization.md) — Scans file contents for secrets and credentials to prevent accidental exposure during packaging.
- [File System Access Controls](https://awesome-repositories.com/f/security-cryptography/security/policies/host-resource-access/file-system-access-controls.md) — Lists directory structures and reads file contents with built-in path validation to prevent unauthorized access. ([source](https://repomix.com/guide/mcp-server.md))
- [Packing Rules](https://awesome-repositories.com/f/security-cryptography/application-and-system-security/browser-security/content-filtering-blocking/content-filtering/dynamic-filter-targeting/custom-rule-management/packing-rules.md) — Defines custom inclusion and exclusion settings to manage token usage and fit codebase content within model context windows. ([source](https://repomix.com/guide.md))
- [Configuration Restrictions](https://awesome-repositories.com/f/security-cryptography/remote-access-security/configuration-restrictions.md) — Ignores configuration files found within remote repositories by default to prevent the execution of untrusted code. ([source](https://repomix.com/guide/remote-repository-processing.md))
- [Security Testing and Auditing](https://awesome-repositories.com/f/security-cryptography/vulnerability-assessment-testing/security-testing-auditing.md) — Examines code for vulnerabilities, insecure patterns, and dependency safety to provide actionable remediation steps. ([source](https://repomix.com/guide/prompt-examples.md))

### Data & Databases

- [Output Format Rendering](https://awesome-repositories.com/f/data-databases/data-serialization-formats/data-formats/output-format-rendering.md) — Generates packed codebase files in multiple formats like XML, Markdown, or JSON to suit different AI models. ([source](https://repomix.com/guide/faq.md))

### DevOps & Infrastructure

- [CI/CD Pipeline Integrations](https://awesome-repositories.com/f/devops-infrastructure/ci-cd-pipeline-integrations.md) — Generates packed codebase artifacts within automated workflows to support continuous analysis. ([source](https://repomix.com/guide/faq.md))
- [Dependency Analysis](https://awesome-repositories.com/f/devops-infrastructure/dependency-management/analysis-visualization-tools/dependency-analysis.md) — Identifies outdated dependencies and security risks to suggest upgrades for better stability. ([source](https://repomix.com/guide/prompt-examples.md))

### Software Engineering & Architecture

- [Code Compression Heuristics](https://awesome-repositories.com/f/software-engineering-architecture/software-architecture/architectural-patterns/abstraction-domain-modeling/design-heuristics/code-compression-heuristics.md) — Reduces output size by stripping comments and implementation details while preserving essential signatures.

### Testing & Quality Assurance

- [Test Coverage Metrics](https://awesome-repositories.com/f/testing-quality-assurance/testing-best-practices-methodologies/quality-assurance-practices/testing-methodologies/test-coverage-metrics.md) — Assesses test coverage to identify untested components and recommend reliability improvements. ([source](https://repomix.com/guide/prompt-examples.md))
