snap2txt is a Python utility that captures the structure and contents of a project directory and saves them into a text file. This text file is a ready-to-use base for a prompt to develop new features with ChatGPT.
Greetings, Hunters!
I am Sergei, a solo maker, and I'm just getting into the PH community. In order to get to know each other, I'm launching my little personal tool for developement, snap2txt, as a product.
What is this tool about:
snap2txt is a simple Python utility that can grab the structure of your project and the content of every single file in it, and put it in a single text file in a human-readable form. The content of this file is a ready-to-use base for a prompt for ChatGPT ā just add a task or describe a feature to add, and get a response with the code and instructions that are 100% related to your project's code and structure.
Additional features:
ā White List, or --wl ā a flag and also a text file, where you can define which exact files and/or folders to grab;
ā Ignore List, or --il ā a flag and a text file, where you can define which files and folders to ignore, similar to .gitignore.
Feel free to ask anything, I'll be happy to participate in the discussion!
Prototype