Heysh1n/sfc — reverse-engineered prompt
Reverse engineered prompt
Build me a small Python command line tool called Smart File Collector that helps me package a project’s source code into one clean text file so I can paste it into AI chats.
I want it to run with python -m sfc and open an interactive terminal menu where I can browse files, tick the ones I want, search or quick pick paths, preview the selection, and then generate a structured output file. It should also have simple command line commands for collecting all files, picking specific files or patterns, showing the project tree, finding files, reading paths from a text file, and saving reusable presets.
Please make it zero runtime dependencies, Python 3.10 plus, and cross platform for Windows, macOS, and Linux. It should ignore junk like git folders, node modules, env files, caches, and let me customize ignores in saved settings. Include auto splitting by character limit, optional clipboard copy using native OS tools, and an option to strip Python comments and docstrings before export.
Want more depth? Deep Reverse