Repomix: One-click packaging of code repositories into files that can be read by AIRepomix:一键把代码仓库打包成AI能读的文件
Package the entire project into a structured text file and feed it directly to AI analysis: an artifact to modify old projects and understand other people’s code.
把整个项目打包成一个结构化文本文件,直接喂给AI分析:改老项目、读懂别人代码的神器。

What can it do for you?它能帮你做什么
Scan the entire code warehouse and output a file in an AI-friendly format, including all source code and structure description.
By sending this file to AI, AI can understand the entire project and make modification suggestions more accurately.
扫描整个代码仓库,按AI友好的格式输出一个文件,包含全部源码和结构说明。
把这个文件发给AI,就能让AI理解整个项目,再做修改建议准确得多。
Installation in two steps安装两步
Step 1: Click the green button at the bottom of this page to download the installation package (npm package format).
Step 2: After installing Node.js, unzip it and execute npm install -g in the directory. Complete the installation.
第一步:点本页下方绿色按钮下载安装包(npm包格式)。
第二步:装好Node.js后解压,在该目录执行 npm install -g . 完成安装。
Getting started上手用法
Execute repomix in the project directory to generate repomix-output.xml.
Paste or upload the generated file directly to AI to start analysis.
在项目目录执行 repomix,生成 repomix-output.xml。
把生成的文件直接粘贴或上传给AI即可开始分析。
Notes使用提醒
This article is compiled from public sources and ships with the matching resource. Product features and pricing are subject to the official page. Resources are for learning and exchange only — please respect the original license.
本文整理自公开资料并附上配套资源;涉及产品的功能与价格以官方页面为准。资源仅供学习交流,请遵循来源许可。
⬇ Download · 点击下载:Repomix v1.18.1 · npm安装包(0.2MB)
开源项目官方发布包(MIT许可)。需要Node.js环境。
阅读与点赞数据保存在你的浏览器本地,欢迎留下你的想法。
今日正能量学一点,用一点;今天种下的种子,会长成明天的能力。去免费下载专区 →广告
评论 文明发言,让讨论更有价值