Transform your code project into a Markdown document optimized for interaction with Language Learning Models like GPT-4, complete with dynamic file selection and token management features.
-
Updated
Sep 29, 2023 - TypeScript
Transform your code project into a Markdown document optimized for interaction with Language Learning Models like GPT-4, complete with dynamic file selection and token management features.
Convert any GitHub repository into a single Markdown file - AI-ready codebase export!
Convert an entire code repository (local or remote) to a single markdown or pdf file
litdown: A simple Perl script that converts source code files into markdown-formatted documents for literate programming by treating specially prefixed comments as markdown text.
PySide6 desktop utility that packs a Python project into LLM-ready Markdown and restores it back to disk
AST-aware JS/TS codebase-to-prompt compiler in Rust. Uses SWC & Rayon to prune Tailwind bloat, retain structural stubs, extract Next.js/Nest routes, and compress repos into hyper-dense prompts for GPT-4o, Claude 3.5 & Ollama. Benchmarked with Tiktoken o200k for 80%+ token savings.
This script takes all files with a specific extension (specified with the -n argument) from a folder and subfolders and writes them to a markdown file. You can also exclude specific folders (using the -e argument). It excludes all hidden folders (with '.' at the beginning).
To associate your repository with the code-to-markdown topic, visit your repo's landing page and select "manage topics."