repomix

repomix

4.3

If you are the rightful owner of repomix and would like to certify it and/or have it hosted online, please leave a comment on the right or send an email to henry@mcpreview.com.

Repomix is a tool that packs your codebase into AI-friendly formats, making it easier to use with AI tools like LLMs.

Repomix is a powerful tool designed to package entire code repositories into a single, AI-friendly file. This is particularly useful for developers who need to feed their codebases to Large Language Models (LLMs) or other AI tools such as ChatGPT, Claude, and more. Repomix supports various output formats including XML, Markdown, and plain text, and offers features like token counting, code compression, and security checks. It is highly customizable, allowing users to configure what to include or exclude, and respects .gitignore files. Repomix can be used via CLI, a web interface, browser extensions, or as a library in Node.js applications. It also supports integration with GitHub Actions for automated workflows.

Features

  • AI-Optimized: Formats codebases for easy AI processing.
  • Token Counting: Provides token counts for files and repositories.
  • Simple to Use: One command to pack entire repositories.
  • Customizable: Configure inclusions and exclusions easily.
  • Security-Focused: Uses Secretlint for security checks.

Tools

  • pack_codebase: Package a local code directory into a consolidated XML file for AI analysis.
  • pack_remote_repository: Fetch, clone, and package a GitHub repository into a consolidated XML file for AI analysis.
  • read_repomix_output: Read the contents of a Repomix-generated output file.
  • grep_repomix_output: Search for patterns in a Repomix output file using grep-like functionality.
  • file_system_read_file: Read a file from the local file system using an absolute path.