Skip to content

Flatten your git repo into a single file to feed an LLM Assistant

License

Notifications You must be signed in to change notification settings

BenDavidAaron/coadsquash

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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
  1. Build it
cd codesquash
cargo build --release
  1. 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

About

Flatten your git repo into a single file to feed an LLM Assistant

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages