--- title: "snap2txt · Sergei Vorniches" description: "Fold your whole codebase into one LLM-ready prompt." canonical: "https://vorniches.com/portfolio/snap2txt/" language: "en" --- Canonical page: https://vorniches.com/portfolio/snap2txt/ [← Portfolio](https://vorniches.com/portfolio/) AI / Dev tools # snap2txt. Fold your whole codebase into one LLM-ready prompt. 109 Habr 98K views Open-source · Open-source ## The product. A single-purpose CLI: point it at a repo and it folds the whole project – file tree and contents – into one structured text blob, ready to paste into an LLM. [PROJECT README ↗](https://github.com/vorniches/snap2txt#readme) [PYPI ↗](https://pypi.org/project/snap2txt/) [GitHub ↗](https://github.com/vorniches/snap2txt) [Product Hunt ↗](https://www.producthunt.com/products/snap2txt) [snap2txt walkthrough](https://www.youtube.com/watch?v=OzhYfEQ7dPw) DEMO · [snap2txt walkthrough ↗](https://www.youtube.com/watch?v=OzhYfEQ7dPw) ## Problem Feeding a real codebase to an LLM by hand was tedious and lossy: copy-pasting file after file, losing the structure, burning the context window on noise. ## The call Keep it one job, one command – structured, paste-ready context out, nothing else. No config, no dashboard. ## Outcome My first product shipped and launched on Product Hunt – open-source and MIT. It hit a real, recurring need – getting a whole repo into LLM context – early and got picked up. ## Writing & launch [snap2txt - Convert your project into prompt | Product Hunt ↗](https://www.producthunt.com/products/snap2txt/launches/snap2txt?embed=true&utm_source=badge-featured&utm_medium=badge&utm_campaign=badge-snap2txt) ## Built with Python · CLI · LLM context YOUR PROJECT ## Let’s talk about your product. [Discuss your product ↗](https://calendly.com/vorniches/20-min-intro) [Homepage](https://vorniches.com/) [Full portfolio ↗](https://vorniches.com/portfolio/) [Back to top ↑](https://vorniches.com/portfolio/snap2txt/#main) [Read as Markdown](https://vorniches.com/portfolio/snap2txt/index.txt) [Site index](https://vorniches.com/readable-index.txt) [Privacy](https://vorniches.com/privacy/)