dir2text is an open-source Python library and CLI tool that converts directory structures and file contents into formats suitable for large language models. It helps developers visualize and prepare codebases for AI processing in a memory-efficient way.
In the CLI tools & terminal space, dir2text takes a focused approach. It focuses on preparing directory structures and file contents for processing by large language models. It is built as an open-source project for developers. dir2text is open source under the MIT license. dir2text is available on the web and the command line, and it can be self-hosted.
It is developed by rlichtenwalter, and the product first shipped in 2024. Development happens publicly on GitHub with 27 commits in the last 90 days. PulseGate's similarity index finds few close equivalents — dir2text occupies a relatively distinct niche. Key capabilities include directory tree visualization, file content extraction, and streaming output.
Latest indexed changes and source events
Other apps tracked under the same category.