Live data from Hacker News

Show HN: Dump entire Git repos into a single file for LLM prompts

news.ycombinator.com

21–25 of 25 posts

Re: Show HN: Dump entire Git repos into a single file for LLM prompts

#21

These are extremely common these days. Here are a few I've collected over the past few months: - [files-to-prompt]( https://github.com/simonw/files-to-prompt ) (from the GOAT simonw) - [code2prompt]( https://github.com/mufeedvh/code2prompt ) - https://gh-repo-dl.cottonash.com/ - [1filellm]( https://github.com/jimmc414/1filellm ) - [repopack]( https://github.com/yamadashy/repopack ) - [ingest]( https://github.com/samm…

I found this tool (repo2file) helpful for my workflows - quickly giving context for questions to my local LLM about my working (small) repo in the terminal. Until I saw this post, I wasn't aware of any of those.

What makes his better? Since you're asking, I tried these and here's my verdict:

- [files-to-prompt](https://github.com/simonw/files-to-prompt) (from the GOAT simonw) --> There's no option to specify files to include, must work backwards with ignore option

- [code2prompt](https://github.com/mufeedvh/code2prompt) --> It always puts the output to the paste buffer even if you specify output file

- https://gh-repo-dl.cottonash.com/ --> There's no CLI

- [1filellm](https://github.com/jimmc414/1filellm) --> Many dependencies and complicated setup(have to setup GitHub access token which I've never done)

- [repopack](https://github.com/yamadashy/repopack) - [ingest](https://github.com/sammcj/ingest) --> haven't tried these yet, but they actually look promising...

Re: Show HN: Dump entire Git repos into a single file for LLM prompts

#22
post #15

These are extremely common these days. Here are a few I've collected over the past few months: - [files-to-prompt]( https://github.com/simonw/files-to-prompt ) (from the GOAT simonw) - [code2prompt]( https://github.com/mufeedvh/code2prompt ) - https://gh-repo-dl.cottonash.com/ - [1filellm]( https://github.com/jimmc414/1filellm ) - [repopack]( https://github.com/yamadashy/repopack ) - [ingest]( https://github.com/samm…

I tried code2prompt but the interface has a quirk—even if you specified an output file, it will always put the output to the paste buffer. Which one of these you find the best? It’s quite tempting to write one myself for something as simple as this.

I think most of these projects are bit overkill, OG poster's repo is about what I'd do myself.

Re: Show HN: Dump entire Git repos into a single file for LLM prompts

#25

These are extremely common these days. Here are a few I've collected over the past few months: - [files-to-prompt]( https://github.com/simonw/files-to-prompt ) (from the GOAT simonw) - [code2prompt]( https://github.com/mufeedvh/code2prompt ) - https://gh-repo-dl.cottonash.com/ - [1filellm]( https://github.com/jimmc414/1filellm ) - [repopack]( https://github.com/yamadashy/repopack ) - [ingest]( https://github.com/samm…

I found this tool (repo2file) helpful for my workflows - quickly giving context for questions to my local LLM about my working (small) repo in the terminal. Until I saw this post, I wasn't aware of any of those. What makes his better? Since you're asking, I tried these and here's my verdict: - [files-to-prompt]( https://github.com/simonw/files-to-prompt ) (from the GOAT simonw) --> There's no option to specify files…

I tried [repopack] and it did a very good job (y) Simple installation too.
Post reply on HN