SMRTR ProgrammingMay 28, 2026Hacker News

code2prompt: Convert any folder into a single LLM prompt

SMRTR summary

Code2Prompt is a Rust-based CLI tool that converts codebases into structured, LLM-ready prompts with gitignore filtering, templating, and token tracking. Available as a CLI, Python SDK, or MCP server, it automates code context formatting for AI models and agent pipelines.

SMRTR provides this summary for quick context. The original article belongs to Hacker News.

Read the original article
SMRTR Programming

Get the next batch of curated summaries in your inbox.

This archive is built from SMRTR newsletter summaries. Subscribe for hand-picked stories without the extra noise.