Repomix
Packs your whole project into one file you can paste.
Why use Repomix?
Most AI chat windows cannot see your project folder, and pasting files one at a time is slow. Repomix flattens the whole project into one organized file. It skips the clutter folders a project collects, hides anything that looks like a password or a key, and tells you how large the result is. That hiding only covers things shaped like a credential, though: names, prices and client details sitting in your files travel with the pack, so read the output before you paste it anywhere.
When should you use Repomix?
Getting a second opinion from a different AI, having code reviewed by a model that cannot open your folder, or bringing an assistant up to speed on code it has never seen.
How do you install and use Repomix?
- Run the command below in the main folder of your project (in the Terminal: type cd, a space, then drag the folder onto the window and press enter).
- It produces a single file, named repomix-output.xml.
- Paste that file into whichever AI you want to ask. If the project is big, add --compress to the command to shrink it further.
Paste into the Terminal app
npx repomix@latest