samestrin/llm-prepare
Converts complex project directory structures and files into a streamlined file (or set of flat files), optimized for processing with In-Context Learning (ICL) prompts; prompts are included.
This tool helps software developers and technical writers consolidate complex project files and their directory structure into a single, organized text file or multiple smaller files. It takes your project's code and documentation, processes it, and outputs a clean, compressed representation. This is ideal for quickly preparing project context for large language models to help with tasks like code analysis or documentation.
No commits in the last 6 months.
Use this if you need to feed an entire codebase or project directory, including its structure and file contents, into a large language model for analysis, summarization, or other in-context learning tasks.
Not ideal if you primarily work with individual text files or do not need to process entire directory structures for large language model prompts.
Stars
8
Forks
—
Language
JavaScript
License
MIT
Category
Last pushed
Jun 27, 2025
Commits (30d)
0
Get this data via API
curl "https://pt-edge.onrender.com/api/v1/quality/prompt-engineering/samestrin/llm-prepare"
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...