{"repo":"shubhamoy/dir2txt","free":true,"listed":false,"github":"https://github.com/shubhamoy/dir2txt","clone":"git clone https://github.com/shubhamoy/dir2txt.git","description":"A blazing-fast CLI tool to export a directory's structure and contents into a neatly formatted `.txt` or `.json` file.","language":"C++","stars":70,"topics":["code-generation","context","cpp","gpt","llm","rag"],"license":"MIT","category":"ai-agents","readme_excerpt":"dir2txt Turn your entire project directory into a clean, readable, and AI-friendly output — effortlessly. A blazing-fast CLI tool to export a directory's structure and contents into a neatly formatted .txt or .json file. --- 🔍 Features - 📁 Generates a beautiful directory tree view - 📄 Dumps actual file contents (optionally stripped of comments) - 🎯 Respects .gitignore , .dockerignore , and custom ignore files - 🧠 Smart binary file detection (skips them) - 🧠 Outputs in text or structured JSON — perfect for feeding into AI pipelines --- 🤖 Built for AI & LLM Workflows Working with GPT-based agents? Retrieval-Augmented Generation (RAG)? Code-aware copilots? dir2txt simplifies the first step: structuring your codebase for context ingestion . Use it to: ✅ Prepare prompt-friendly project dumps for ChatGPT or Claude ✅ Feed clean file trees + contents into a vector database ✅ Preprocess source code for embedding + search ✅ Power local AI agents that operate on code ✅ Automate audits, changelogs, and debugging assistants Instead of manually collecting files or asking LLMs to interpret a directory — dir2txt gives them context on a silver platter. --- 🧠 Integrating with AI Pipelines dir2txt is designed to be the first step in your AI workflow — transforming messy source directories into clean, structured input for language models. Whether you're working on Retrieval-Augmented Generation (RAG), AI copilots, code search, or documentation bots — dir2txt prepares your project for int","default_branch":null,"files":null,"tree":[],"storefront":"/r/shubhamoy","claimed":false,"request_supported":{"post":"https://gitbuyer.com/r/shubhamoy/dir2txt/request-supported","requests":0},"note":"indexed from public GitHub; nothing is for sale on this page. Clone it from GitHub. Paid listings live at /search."}