An open API service indexing awesome lists of open source software.

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

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
```