itsitgroup/repo2txt ? reverse-engineered prompt
Reverse engineered prompt
Build me a simple web app that turns a GitHub repository into one clean text file I can paste into an AI chat.
I want to be able to open a repo, see the folder tree, choose which files and folders to include, and filter by file type if needed. Then the app should generate a nicely formatted text version of the selected contents, with file names and structure preserved, and let me copy it to the clipboard or download it as a text file. It should also let me download the selected files as a zip.
Please make it work in the browser so it feels private and fast, and include support for both GitHub repos and local folders or uploaded files. If you need to look up current docs online for anything, go ahead. Keep the UI simple, clean, and easy to use.
Are you gonna build this?
make sure you review the code using coderabbit