You can support this project by giving a star on GitHub ! ⭐️ 🔭 🙏
Repomix Runner is a VSCode extension that allows you to easily bundle files into a single output for AI processing. It uses the great Repomix tool.
- 📁 Pack your selection of files into a single output for AI processing.
- 📦 Create reusable bundles for parts of your project you frequently package.
- 📎 Two copy modes for clipboard: content or file. -> you can paste a whole file not just content.
- 🗑️ Optional output file cleanup. -> But you still have it in clipboard! 😀
- 🛠️ Easy settings in vscode and/or support a repomix.config.json file.
With the REPOMIX custom view, all is in one place 🎉 :
(keep in mind the output-file is also in your clipboard).
repomix-demo.mp4
Or you can use the commands ⬇️
Open the palette with Cmd+Shift+P
or Ctrl+Shift+P
then:
Repomix Run
to run repomix on the root folder of your projectRepomix Run On Open Files
to run repomix on the open filesRepomix Run On Selection
to run repomix on the selected files or directoriesRepomix Run Bundle
to select a bundle to runRepomix Manage Bundles
to edit or delete your bundlesRepomix Settings
for a quick access to the settingsRepomix Output
to open the repomix output channel
- Open VS Code
- Press
Cmd+P
(macOS) orCtrl+P
(Windows/Linux) - Type
ext install DorianMassoulier.repomix-runner
- Press Enter
- The extension support the repomix.config.json file in your project root folder, it will override the settings in the extension. Except for the runner settings.
- VS Code 1.93.0 or higher
- Node.js and npm installed (for
npx
) - macOS for file copy mode
- xclip installed for file copy mode on linux
- File copy mode is only available on macOS and linux (you need to install xclip for file copy mode on linux)
Any feedback, issue or feature request is much appreciated !
This project is licensed under the MIT License - see the LICENSE.md file for details.