← PortfolioAI / Dev tools

snap2txt.

Fold your whole codebase into one LLM-ready prompt.

109Habr 98K views

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.

DEMO · snap2txt walkthrough ↗

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

Built with

Python · CLI · LLM context

YOUR PROJECT

Let’s talk about your product.

Discuss your product