yigitkonur/cli-repo-to-prompt
export any codebase to a single LLM-ready markdown prompt
This tool helps software developers quickly provide context to AI coding assistants by scanning their project codebase or a public GitHub repository. It takes a directory or a GitHub link as input and produces a clean, formatted Markdown output of the relevant code, ready to be pasted into an LLM prompt. Developers can use this to get better code suggestions and explanations from AI.
Use this if you are a developer who regularly uses AI coding assistants and needs an efficient way to feed your project's code context to them without manually copying files.
Not ideal if you primarily work on projects with highly sensitive or proprietary code that cannot be shared with external AI services, or if you prefer a different method for providing context to your AI.
Stars
48
Forks
4
Language
TypeScript
License
—
Category
Last pushed
Feb 21, 2026
Commits (30d)
0
Get this data via API
curl "https://pt-edge.onrender.com/api/v1/quality/prompt-engineering/yigitkonur/cli-repo-to-prompt"
Open to everyone — 100 requests/day, no key needed. Get a free key for 1,000/day.
Higher-rated alternatives
shcherbak-ai/contextgem
ContextGem: Effortless LLM extraction from documents
mufeedvh/code2prompt
A CLI tool to convert your codebase into a single LLM prompt with source tree, prompt...
ShahzaibAhmad05/gitree
An upgrade from "ls" for developers. An open-source tool to analyze folder structures and to...
nicepkg/ctxport
Copy AI conversations as clean Markdown Context Bundles — one click from ChatGPT, Claude,...
nikolay-e/treemapper
Export your entire codebase to ChatGPT/Claude in one command. Structure + contents in YAML/JSON...