Repomix 代码库上下文打包器用于 LLMs
Repomix packs an entire code repository into a single AI-friendly file optimized for LLM consumption. It provides token counting, security scanning via Secretlint, Tree-sitter-based code compression, and outputs in XML, Markdown, or plain text format.
Installation
Use the upstream install or setup path that matches your environment:
- npx repomix@latest
- npm install -g repomix
- yarn global add repomix
- brew install repomix
Requirements and caveats from upstream:
- If you're using Python, you might want to check out Gitingest, which is better suited for Python ecosystem and data
- ### Docker Usage 🐳
- You can also run Repomix using Docker.
Basic usage or getting-started notes:
- <i>Get help with configuration and usage</i><br>
- ## 🚀 Quick Start
- # Alternatively using yarn
- Source: https://github.com/1991513ccie-png/skills
- Extracted from upstream docs: https://raw.githubusercontent.com/yamadashy/repomix/HEAD/README.md