shubhamoy/dir2txt

A blazing-fast CLI tool to export a directory's structure and contents into a neatly formatted `.txt` or `.json` file.

34
/ 100
Emerging

This tool helps developers and AI engineers quickly prepare their project's source code for AI language models. It takes an entire project directory and converts its structure and file contents into a clean, readable text or JSON output. This output is ideal for feeding into AI pipelines, allowing models to easily understand and process your codebase.

No commits in the last 6 months.

Use this if you need to provide a structured, digestible view of your codebase to large language models for tasks like code generation, analysis, or automated documentation.

Not ideal if you are looking for a GUI-based file explorer or a tool to simply list files without processing their contents for AI consumption.

AI-engineering LLM-workflows code-analysis prompt-engineering source-code-preprocessing
Stale 6m No Package No Dependents
Maintenance 2 / 25
Adoption 8 / 25
Maturity 15 / 25
Community 9 / 25

How are scores calculated?

Stars

66

Forks

5

Language

C++

License

MIT

Last pushed

Apr 18, 2025

Commits (30d)

0

Get this data via API

curl "https://pt-edge.onrender.com/api/v1/quality/ai-coding/shubhamoy/dir2txt"

Open to everyone — 100 requests/day, no key needed. Get a free key for 1,000/day.