A simple terminal app that converts a given project folder into text feedable to ChatGPT (or any other LLM).
- Outputs the file tree of the project follow by the content of each file
- Ignores dot files/folders (e.g. .git folder)
- Ignores files/folders in .gitignore (e.g. venv, build files, etc.)
git clone https://github.com/Ed1123/2gpt.git
cd 2gpt
pip install .
2gpt path_to_project
Inside your project directory:
2gpt .
I wanted to get feedback for a project I have and I couldn't find anything similar online so I build it.
I may consider uploading it to PyPi.