Skip to content

evapilotno17/vomit

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

vomit

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

installation

on mac:

brew tap evapilotno17/vomit
brew install vomit
vomit --help

on windows:

kys

usage

basic dump:

vomit

ignore certain paths (like .git/, *.ipynb, etc):

vomit --ignore .vomitignore

only include certain paths (inverse filter):

vomit --contains .vomitinclude

print a live ASCII tree of the directory structure before dumping:

vomit --tree

report token usage per file (and embed it into the dump file for LLMs to see):

vomit --tokens

full example:

vomit --ignore .vomitignore --contains .vomitinclude --tree --tokens

this will:

  • print a live tree to stdout
  • dump only files matching your .vomitinclude patterns
  • ignore files matching .vomitignore
  • embed a full token usage table at the top of vomit.txt

testing

to test vomit inside the provided test_directory, run:

cd test_directory
vomit --ignore ../vomitignore.txt --contains ../vomitinclude.txt --tree --tokens

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Packages

 
 
 

Contributors

Languages