https://github.com/bendavidaaron/coadsquash
Flatten your git repo into a single file to feed an LLM Assistant
https://github.com/bendavidaaron/coadsquash
Last synced: 3 months ago
JSON representation
Flatten your git repo into a single file to feed an LLM Assistant
- Host: GitHub
- URL: https://github.com/bendavidaaron/coadsquash
- Owner: BenDavidAaron
- License: gpl-3.0
- Created: 2024-09-15T15:39:44.000Z (9 months ago)
- Default Branch: master
- Last Pushed: 2024-09-15T15:57:57.000Z (9 months ago)
- Last Synced: 2025-01-18T03:28:34.580Z (4 months ago)
- Language: Rust
- Homepage:
- Size: 17.6 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# codesquash
A tool for packing source code into single files for LLM consumption.
## What it does
* Traverses git repostories
* Concats all source code into stdout## What you do
### First Time
1. Clone it```
git clone [email protected]:BenDavidAaron/coadsquash.git
```2. Build it
```
cd codesquash
cargo build --release
```3. install it
```
sudo cp ./target/release/codesquash /usr/local/bin/
```### Every Time
Package the git repo you're in
```
codesquash > /tmp/output.txt
```Package another repo on your system
```
codesquash /path/to_other/repo > /tmp/output.txt
```