AST-Aware, Personalized-PageRank-Ranked, Token-Budgeted Codebase Compressor for LLMs
-
Updated
Nov 1, 2026 - Rust
AST-Aware, Personalized-PageRank-Ranked, Token-Budgeted Codebase Compressor for LLMs
export any codebase to a single LLM-ready markdown prompt
Turn a local codebase into clean, token-counted context for an LLM. One Rust binary with gitignore-aware selection, clipboard/pipe workflows, and a built-in UI.
Pack your codebase into a single markdown file optimized for LLMs. Supercharge your AI coding sessions. Zero dependencies.
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.
Ultra-fast codebase-to-prompt packer & interactive token optimizer (TUI/CLI) for Claude, ChatGPT & Gemini. Local-first, comment-stripping, secret-scanning.
To associate your repository with the codebase-to-prompt topic, visit your repo's landing page and select "manage topics."