if you're like me and prefer using llms the traditional way (copy pasting into your llm interface) rather than through cursor or whatnot, this tool is for you.
you can use this to dump your entire filesystem into a single .txt file
on mac:
brew tap evapilotno17/vomit
brew install vomit
vomit --helpon windows:
kysbasic dump:
vomitignore certain paths (like .git/, *.ipynb, etc):
vomit --ignore .vomitignoreonly include certain paths (inverse filter):
vomit --contains .vomitincludeprint a live ASCII tree of the directory structure before dumping:
vomit --treereport token usage per file (and embed it into the dump file for LLMs to see):
vomit --tokensfull example:
vomit --ignore .vomitignore --contains .vomitinclude --tree --tokensthis will:
- print a live tree to stdout
- dump only files matching your
.vomitincludepatterns - ignore files matching
.vomitignore - embed a full token usage table at the top of
vomit.txt
to test vomit inside the provided test_directory, run:
cd test_directory
vomit --ignore ../vomitignore.txt --contains ../vomitinclude.txt --tree --tokens