# yamadashy/repomix

> Repomix is a tool that packs an entire repository into a single, AI-friendly file. It is meant for feeding a codebase to Large Language Models and other AI tools such as Claude, ChatGPT, DeepSeek, Gemini and Llama. It is written in TypeScript and distributed as an npm package.

Source: https://github.com/yamadashy/repomix
Indexed: commit d7abd41 on 2026-06-16 by Repowise. Facts come from the source and git history, not from the maintainer.

## Facts

- Type: MCP server
- Language: TypeScript
- Stars: 29,276 at index time
- License: MIT
- Code health: 8.0/10, Good
- Last commit: 2026-06-14

## Install

From the README: https://github.com/yamadashy/repomix#install

Install the npm package.
    npm install repomix

## How to use

Pack a specific directory.
    repomix path/to/directory

Pack only files that match glob patterns.
    repomix --include "src/**/*.ts,**/*.md"

## How it works

The src directory holds the core of the command-line tool, and the packaging logic lives in src/core/packager.ts. src/core/file/fileSearch.ts is a central file for locating the files to include, and it works with the include and ignore patterns passed on the command line. Security checks use @secretlint/core, and the --compress option uses Tree-sitter through @repomix/tree-sitter-wasms to extract key code elements. The browser directory contains the browser extension that provides one-click access to Repomix for GitHub repositories. The website directory holds the project's web code, split into client and server parts, and it is the largest module by file count. The result is a single packed file that can be given to AI tools.

- .agents/agents/reviewer-code-quality.md: entry point
- .agents/agents/reviewer-conventions.md: entry point
- .agents/agents/reviewer-holistic.md: entry point
- .agents/agents/reviewer-performance.md: entry point
- .agents/agents/reviewer-security.md: entry point
Modules: website, tests, src, .github, .agents, browser, root, .claude. 1,002 files, 96,921 lines, 986 symbols.

## Code health

- Score: 8.0/10 (Good)
- Rank: #69 of 4,000+ indexed repos
- Hotspots: website/client/composables/useTurnstile.ts, src/core/packager.ts, src/core/file/fileSearch.ts, tests/cli/actions/remoteAction.test.ts, website/server/tests/turnstile.test.ts
- Lowest file: src/cli/actions/defaultAction.ts
- Dead code: none found

## Maintenance

- Last commit 2026-06-14
- bus factor 1

## Security

- Security findings are shown to signed-in users at https://repowise.dev/repo/yamadashy/repomix/security

## More

- Page: https://repowise.dev/repo/yamadashy/repomix
- Ask this codebase: https://repowise.dev/repo/yamadashy/repomix/chat
- Docs: https://repowise.dev/repo/yamadashy/repomix/docs
- MCP (signs in with Repowise on first use):
    claude mcp add --transport http repowise https://api.repowise.dev/mcp/yamadashy/repomix
