mufeedvh/code2prompt
View on GitHub ↗ ★ 7,745 Rust
A CLI tool to convert your codebase into a single LLM prompt with source tree, prompt templating, and token counting.
14 mentions on Hacker News by 10 people: 6 stories, 8 comments · first 2024-03-11 · latest 2026-05-28
20082026
-
▲ 1
code2prompt: Convert any folder into a single LLM promptstory by SweetSoftPillow · 2026-05-28 · 0 comments
-
https://github.com/mufeedvh/code2prompt https://github.com/yamadashy/repomix
comment by SweetSoftPillow · 2025-03-31 · in Gemini 2.5 Pro vs. Claude 3.7 Sonnet: Coding Comparison -
…exists. Good work! From a rough glance it looks pretty similar to another tool that I've been using https://github.com/mufeedvh/code2prompt
comment by megadragon9 · 2025-02-14 · in Show HN: Transform your codebase into a single Markdown doc for feeding into AI -
▲ 1
Mufeedvh/code2prompt:A CLI tool to convert your codebase in a single LLM promptstory by ulrischa · 2025-01-16 · 1 comment
-
▲ 2
Ask HN: How do you load your code base as context window in ChatGPT?story by alfonsodev · 2025-01-07 · 2 comments
-
▲ 1
Code2promptstory by handfuloflight · 2024-12-17 · 0 comments
-
▲ 1
Show HN: Source to Prompt- Turn your code into an LLM prompt with more featuresstory by eigenvalue · 2024-12-16 · 0 comments
-
…repo2txt: https://repo2txt.simplebasedomain.com/ code2prompt: https://github.com/mufeedvh/code2prompt repomix: https://github.com/yamadashy/repomix ingest: https://github.com/sammcj/ingest 1filellm: https://github.com/ji
comment by eigenvalue · 2024-12-14 · in Source to Prompt- Turn your code into an LLM prompt, but with more features -
…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 -…
comment by samsepi01 · 2024-09-10 · in Show HN: Dump entire Git repos into a single file for LLM prompts -
…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](…
comment by subeadia · 2024-09-09 · in Show HN: Dump entire Git repos into a single file for LLM prompts -
Sounds a bit like code2prompt - https://github.com/mufeedvh/code2prompt
comment by smcleod · 2024-07-21 · in Prelude – a tiny CLI tool building context prompts from your code -
I use code2prompt ( https://github.com/mufeedvh/code2prompt ) with the following zsh wrapper: function code2prompt() { # wrap the code2prompt command in a function that sets a number of default excludes #…
comment by smcleod · 2024-05-02 · in Show HN: FileKitty – Combine and label text files for LLM prompt contexts -
This would be good to have in the README.md, I've submitted a PR with your comment here: https://github.com/mufeedvh/code2prompt/pull/1 :) I could see this tool being useful for a few of my use cases, thank you.
comment by smcleod · 2024-03-12 · in Show HN: Code2prompt – Generate LLM prompts from your codebase -
▲ 4
Show HN: Code2prompt – Generate LLM prompts from your codebasestory by mufeedvh · 2024-03-11 · 7 comments