{"name":"Repomix: Efficiently Prepare Your Codebase for Large Language Models","description":"Repomix is an innovative tool designed to package your entire codebase into a single, AI-friendly file. This makes it incredibly easy to feed your projects to various Large Language Models (LLMs) and other AI tools, streamlining code analysis and interaction. It supports a wide range of AI platforms, enhancing developer workflows.","github":"https://github.com/yamadashy/repomix","url":"https://osrepos.com/repo/yamadashy-repomix","source":"osrepos.com","sourceDescription":"This repository profile is provided by osrepos.com, an open source repository discovery platform.","repositoryProfile":"https://osrepos.com/repo/yamadashy-repomix","generatedFor":"open source discovery and AI-assisted research","markdown":"https://osrepos.com/repo/yamadashy-repomix.md","json":"https://osrepos.com/repo/yamadashy-repomix.json","topics":["AI","LLM","Code Analysis","Developer Tools","TypeScript","ChatGPT","Generative AI","GitHub"],"keywords":["AI","LLM","Code Analysis","Developer Tools","TypeScript","ChatGPT","Generative AI","GitHub"],"stars":null,"summary":"Repomix is an innovative tool designed to package your entire codebase into a single, AI-friendly file. This makes it incredibly easy to feed your projects to various Large Language Models (LLMs) and other AI tools, streamlining code analysis and interaction. It supports a wide range of AI platforms, enhancing developer workflows.","content":"## Introduction\nRepomix is a powerful and innovative tool designed to streamline how developers interact with Large Language Models (LLMs) and other AI tools. It efficiently packs your entire codebase into a single, AI-friendly file, making it easy to feed complex projects to platforms like Claude, ChatGPT, DeepSeek, and Gemini. Repomix has even been nominated for the \"Powered by AI\" category at the [JSNation Open Source Awards 2025](https://osawards.com/javascript/), highlighting its significant impact on AI-driven development workflows.\n\n## Installation\nGetting started with Repomix is straightforward, whether you prefer a quick, temporary run or a global installation for frequent use.\n\nTo try Repomix instantly in your project directory without installation:\nbash\nnpx repomix@latest\n\n\nFor repeated use, you can install it globally:\nbash\n# Install using npm\nnpm install -g repomix\n\n# Alternatively using yarn\nyarn global add repomix\n\n# Alternatively using bun\nbun add -g repomix\n\n# Alternatively using Homebrew (macOS/Linux)\nbrew install repomix\n\nAfter installation, simply run `repomix` in any project directory to generate your AI-friendly output file.\n\n## Examples\nRepomix offers flexible usage options, from local directories to remote repositories, and various output formats.\n\n### Basic Usage:\nTo pack your current repository into an `repomix-output.xml` file:\nbash\nrepomix\n\n\n### Packing a Remote Repository:\nAnalyze a GitHub repository directly without cloning:\nbash\nrepomix --remote yamadashy/repomix\n# Or with a full URL and specific branch\nrepomix --remote https://github.com/yamadashy/repomix --remote-branch main\n\n\n### Code Compression:\nReduce token count while preserving code structure using the `--compress` option, ideal for large codebases:\nbash\nrepomix --compress\n\n\n### Different Output Styles:\nRepomix supports XML (default), Markdown, JSON, and Plain Text formats. For example, to output in Markdown:\nbash\nrepomix --style markdown\n\n\n### Using the Website or Extensions:\nFor quick online use, visit [repomix.com](https://repomix.com). Browser extensions for Chrome and Firefox, and a VSCode extension, also provide convenient ways to use Repomix directly from your development environment.\n\n## Why Use Repomix\nRepomix addresses the critical challenge of providing comprehensive codebase context to AI models. Its key features ensure efficient and secure AI interaction:\n*   **AI-Optimized Output:** Formats your code for optimal AI comprehension, enhancing analysis and generation tasks.\n*   **Token Counting:** Provides essential token counts for files and the entire repository, helping manage LLM context limits.\n*   **Simple & Customizable:** Pack your repository with a single command, or configure inclusions, exclusions, and output styles to fit your needs.\n*   **Git-Aware & Secure:** Automatically respects `.gitignore` rules and includes [Secretlint](https://github.com/secretlint/secretlint) for robust security checks, preventing sensitive data leakage.\n*   **Code Compression:** Utilizes [Tree-sitter](https://github.com/tree-sitter/tree-sitter) to extract key code elements, significantly reducing token count while maintaining structural integrity.\n*   **Versatile Access:** Available as a CLI tool, a web application, browser extensions, a VSCode extension, and even integrates as an [MCP server](https://modelcontextprotocol.io) for advanced AI assistant workflows.\n\n## Links\n*   **GitHub Repository:** [https://github.com/yamadashy/repomix](https://github.com/yamadashy/repomix)\n*   **Official Website:** [https://repomix.com](https://repomix.com)\n*   **Discord Community:** [https://discord.gg/wNYzTwZFku](https://discord.gg/wNYzTwZFku)\n*   **Chrome Extension:** [Repomix - Chrome Web Store](https://chromewebstore.google.com/detail/repomix/fimfamikepjgchehkohedilpdigcpkoa)\n*   **Firefox Add-on:** [Repomix - Firefox Add-ons](https://addons.mozilla.org/firefox/addon/repomix/)\n*   **VSCode Extension (Repomix Runner):** [Repomix Runner - VSCode Marketplace](https://marketplace.visualstudio.com/items?itemName=DorianMassoulier.repomix-runner)\n*   **JSNation Open Source Awards:** [JSNation Open Source Awards 2025](https://osawards.com/javascript/)","metrics":{"detailViews":1,"githubClicks":2},"dates":{"published":null,"modified":"2025-10-11T21:15:54.000Z"}}