repodocs
v0.0.13
Published
A simple CLI tool to combine all markdown files from a git repository into a single file. Useful for creating context files for LLMs.
Downloads
879
Readme
repodocs
A simple CLI tool to combine all markdown files from a git repository into a single file. Useful for creating context files for LLMs.
Installation
npm install -g repodocs
Usage
npx repodocs https://github.com/user/repo
This will:
- Clone the repository
- Find all .md files
- Combine them into a single file named
username__repository-name__latestSha__timestamp-YYYY-MM-DD.txt
- Clean up temporary files
Each file in the combined output is separated by:
<file
path="file pathname in the repository"
>
Development
- Clone this repository
- Run
npm install
- Make your changes
- Test locally with
node index.js
License
MIT