FreeAIRepo
LLMs & chat

mufeedvh/code2prompt

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

MITRust
Stars
7.7k
Forks
455
Open issues
5
Last push
5d ago

About code2prompt

code2prompt is a free, open-source LLM chat app by mufeedvh, written mainly in Rust. A CLI tool to convert your codebase into a single LLM prompt with source tree, prompt templating, and token counting. It has 7.7k GitHub stars and 455 forks, and was last updated 5d ago. It's released under the MIT license, a standard open-source license.

License
MIT
Language
Rust
Stars
7,730
Last update
5d ago
Runs on Mac
Not stated
GPU
Not stated
Paid API key
Not stated
Self-hostable
Yes

Similar free tools

All LLMs & chat tools →

code2prompt FAQ

Is code2prompt free?

Yes. code2prompt is open source and free to use. It's released under the MIT license, a standard open-source license.

Does code2prompt run on a Mac?

The project doesn't say. Check its installation guide before you start.

Does code2prompt need a GPU?

The project doesn't state hardware needs. AI models generally run much faster with a GPU.

Is code2prompt still maintained?

Yes. It was last updated 5d ago and has 5 open issues on GitHub.

What are alternatives to code2prompt?

Similar free, open-source tools include rtk, OpenHands, repomix, gpt4free.

Related topics