Show HN: Project2txt – Export your codebase to a single text file for LLMs

Hi HN,

I use ChatGPT a lot for my code. But it's very annoying to give it my whole project context. Copying files one by one is slow, and zip files don't work.

So I made a small tool for myself: project2txt.

You just drag your project folder into the browser. It reads all the files and puts them into one big .txt file.

The most important thing for me: it's 100% private. All the work happens inside your browser. Your code is never uploaded anywhere. No server, no data collected.

It automatically ignores junk folders like node_modules and .git.

You can select which folders and file types you want.

The output text has file paths, so the AI knows your project structure. No signup needed. Just use it.

I built this with Next.js. It's my first time trying something like this, so maybe there are bugs.

Here is the link: https://project2txt.com

Let me know what you think. Is it useful? Any feedback is welcome.

Thanks.

1 points regsvr32 1 year ago 0 comments

No comments yet

Be the first to share your thoughts.

Live from the official Hacker News API

A modern reader for Hacker News · SvelteKit + Skeleton