mufeedvh/code2prompt
Convert codebases into LLM prompts for context engineering.
- 7.8kstars
- 457forks
- 9open issues
- updated 7d ago
code2prompt star history
+6 this week
About code2prompt
code2prompt is a free, open-source AI developer tool by mufeedvh, written mainly in Rust. Convert codebases into LLM prompts for context engineering. It has 7.8k GitHub stars and 457 forks, and was last updated 7d ago. It's released under the MIT license, a standard open-source license. According to the project, it runs on a regular CPU without a GPU.
Similar free tools
langchain150k stars · The agent engineering platform.
prompt-optimizer42k stars · Optimizes AI prompts for better results and quality.
pi126k stars · AI agent toolkit: unified LLM API, agent loop, TUI, coding agent CLI
promptfoo28k stars · Test your prompts, agents, and RAGs. Red teaming/pentesting/vulnerability scanning for AI. Compare performance of GPT, Claude, Gemini, DeepSeek, and more. Simple declarative configs with command line
prompt-master17k stars · Writes accurate prompts for any AI tool, saving tokens and credits.
opik24k stars · Monitor and evaluate LLM applications and AI agents with comprehensive tracing and dashboards.
code2prompt FAQ
Can I use code2prompt commercially?
Yes. MIT is a permissive license: commercial use is allowed as long as you keep the license notice. This is a plain-English summary, not legal advice.
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?
No. According to the project, code2prompt runs on a regular CPU.
Is code2prompt still maintained?
Yes. It was last updated 7d ago and has 9 open issues on GitHub.
How hard is code2prompt to set up?
Easy: typically about 5 min, using Homebrew. The project's install command is: brew install code2prompt
What are alternatives to code2prompt?
Similar free, open-source tools include langchain, prompt-optimizer, pi, promptfoo.
Related topics
Maintain code2prompt? Add a FreeAIRepo badge to your README
[](https://www.freeairepo.com/repo/mufeedvh/code2prompt)