Signed-off-by: Daniel Henry <iamdanhenry@gmail.com>
Dumpy
A simple tool for dumping a directory in a way that an LLM can understand it for adding to the context of a conversation. By default it recursively dumps from the current directory into the clipboard.
Installation
git clone https://git.danhenry.dev/daniel/dumpy.git
cd dumpy
uv tool install .
Updating
git clone https://git.danhenry.dev/daniel/dumpy.git
cd dumpy
uv tool install . --force
Uninstalling
uv tool uninstall dumpy
Usage
usage: dumpy.py [-h] [--no-gitignore] [--include-git-dir] [--no-clipboard] [--no-stats] [--ignore IGNORE]
Dumpy: A tool for providing a text representation of a project formatted in a way that LLMs will understand.
options:
-h, --help show this help message and exit
--no-gitignore Ignore the .gitignore file and include all files
--include-git-dir Include the .git directory in the output
--no-clipboard Skip putting content into the clipboard and ouput directly to the console
--no-stats Skip printing stats at the end of the output
--ignore IGNORE Comma separated list of patterns to ignore.
Notes
- Token estimation is really bad, it's just the number of total characters divided by 4
Description
Languages
Python
100%