Settings

Theme

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

project2txt.com

1 points by regsvr32 3 months ago · 0 comments · 1 min read

Reader

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.

No comments yet.

Keyboard Shortcuts

j
Next item
k
Previous item
o / Enter
Open selected item
?
Show this help
Esc
Close modal / clear selection