code2prompt icon indicating copy to clipboard operation
code2prompt copied to clipboard

A CLI tool to convert your codebase into a single LLM prompt with source tree, prompt templating, and token counting.

Results 60 code2prompt issues
Sort by recently updated
recently updated
newest added

```ahonnecke@antonym:~/src/wayward/src/wayward$ code2prompt . ▹▹▹▹▸ Done! [✓] Prompt copied to clipboard! ``` However, nothing had been copied to the clipboard. Has this been tested on a linux machine?

bug

![image](https://github.com/mufeedvh/code2prompt/assets/3397452/33472908-61a6-4dcf-b5c5-28ef0c4df015)

Hello, first of all, a cool project! Larger codebases often significantly exceed even the largest context windows available these days, while offline LLMs are even more troublesome in this regard....

enhancement
help wanted
wontfix

Could a flag be added to skip copying the output to clipboard so code2prompt can be used on a remote without a clipboard.

Is it possible to add an argument so that any excluded files/folders/extensions are also excluded from the source tree? I am currently working with some folders that have thousands of...

Hello, thanks for creating this! It looks super interesting. With Gemini having 1 million tokens available. And the possibility to get 2 million soon, it will be amazing to see...

Issue: If you have a folder called "data" in your target repo code2prompt will skip it even if it contains relevant files. ``` To replicate: > my_repo > ├── folder_a...

Basically, I am a Mac developer. However, I sometimes develop on Ubuntu with Windows WSL2 due to circumstances. I can use Mac without any problem, but in WSL2 environment, the...

Hi, mufeedvh. Thank you for a very nice application. I'm running into a problem right now when dealing with large code repositories. When I'm dealing with small code repositories, code2prompt...

Thank you for a very nice application. I am a beginner in programming, so I especially use "clean-up-code.hbs" and "document-the-code.hbs". Thanks to you, I am enjoying a very comfortable development...