{"id":17465918,"url":"https://github.com/exyreams/codetree","last_synced_at":"2025-03-28T08:43:24.427Z","repository":{"id":257886340,"uuid":"869482190","full_name":"exyreams/Codetree","owner":"exyreams","description":"Utility tool that generates a comprehensive overview of your project.","archived":false,"fork":false,"pushed_at":"2025-03-16T05:10:34.000Z","size":29,"stargazers_count":0,"open_issues_count":0,"forks_count":1,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-03-28T08:43:19.449Z","etag":null,"topics":["rust","rust-lang","walkdir"],"latest_commit_sha":null,"homepage":"","language":"Rust","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/exyreams.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2024-10-08T11:23:47.000Z","updated_at":"2025-03-16T05:10:37.000Z","dependencies_parsed_at":null,"dependency_job_id":"d2d5f977-eb95-45b6-bcb8-0c2a3f9dc4e1","html_url":"https://github.com/exyreams/Codetree","commit_stats":null,"previous_names":["exyreams/codetree"],"tags_count":2,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/exyreams%2FCodetree","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/exyreams%2FCodetree/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/exyreams%2FCodetree/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/exyreams%2FCodetree/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/exyreams","download_url":"https://codeload.github.com/exyreams/Codetree/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":245999318,"owners_count":20707554,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["rust","rust-lang","walkdir"],"created_at":"2024-10-18T13:07:05.413Z","updated_at":"2025-03-28T08:43:24.420Z","avatar_url":"https://github.com/exyreams.png","language":"Rust","funding_links":[],"categories":[],"sub_categories":[],"readme":"\u003cdiv align=\"center\"\u003e\n  \n\u003cpre\u003e\n░█████╗░░█████╗░██████╗░███████╗████████╗██████╗░███████╗███████╗\n██╔══██╗██╔══██╗██╔══██╗██╔════╝╚══██╔══╝██╔══██╗██╔════╝██╔════╝\n██║░░╚═╝██║░░██║██║░░██║█████╗░░░░░██║░░░██████╔╝█████╗░░█████╗░░\n██║░░██╗██║░░██║██║░░██║██╔══╝░░░░░██║░░░██╔══██╗██╔══╝░░██╔══╝░░\n╚█████╔╝╚█████╔╝██████╔╝███████╗░░░██║░░░██║░░██║███████╗███████╗\n░╚════╝░░╚════╝░╚═════╝░╚══════╝░░░╚═╝░░░╚═╝░░╚═╝╚══════╝╚══════╝\n\u003c/pre\u003e\n\n\u003c/div\u003e\n\u003cp align=\"center\"\u003e\n  \u003ca href=\"https://github.com/exyreams/Codetree/releases/latest\"\u003e\n    \u003cimg src=\"https://img.shields.io/github/v/release/exyreams/Codetree\" alt=\"GitHub release (latest by date)\"\u003e\n  \u003c/a\u003e\n  \u003ca href=\"https://opensource.org/licenses/MIT\"\u003e\n    \u003cimg src=\"https://img.shields.io/badge/License-MIT-yellow.svg\" alt=\"License: MIT\"\u003e\n  \u003c/a\u003e\n\u003c/p\u003e\n\nCodetree is a powerful Rust-based command-line tool that generates a comprehensive overview of your project's file structure, code statistics, and contents. It intelligently analyzes your codebase, detecting frameworks and project types while automatically protecting sensitive information.\n## 🚀 What's New in v2.0.0\n\nOur latest release includes:\n\n- **Framework Detection**: Automatically identifies 20+ frameworks including React, Vue, Angular, Next.js, Three.js, Django, and more\n- **Enhanced Project Type Detection**: Detects Rust, Node.js, Python, Java, .NET, Go, Ruby, and PHP projects\n- **Build Directory Auto-Exclusion**: Intelligently excludes build directories based on project type\n- **Security Enhancements**: Detects and protects sensitive information like API keys and credentials\n- **Improved Statistics**: Detailed breakdown of code, comments, and blank lines\n\n**[Check out the latest release](https://github.com/exyreams/Codetree/releases/latest)**\n\n## 🔍 Why Use Codetree?\n\nSharing your codebase with AI assistants or collaborators typically requires tedious manual copying of files and explaining directory structures. Codetree eliminates this friction by:\n\n1. Generating a complete representation of your project structure\n2. Collecting all source code into a single, well-organized document\n3. Providing insightful statistics about your codebase\n4. Protecting sensitive information like API keys and credentials\n5. Detecting frameworks and project types automatically\n\nPerfect for:\n- Getting AI assistance with your code\n- Sharing project overviews with colleagues\n- Documenting your codebase\n- Analyzing project statistics\n\n## 📦 Installation\n\n### Option 1: Download Prebuilt Binaries\n\n**[Download the latest release](https://github.com/exyreams/Codetree/releases/latest)**\n\nChoose the appropriate binary for your system:\n- `codetree-v2.0.0-windows.exe` for Windows\n- `codetree-v2.0.0-linux` for Linux\n\n### Option 2: Build from Source\n\n```bash\n# Clone the repository\ngit clone https://github.com/exyreams/Codetree.git\ncd Codetree\n\n# Build the project\ncargo build --release\n\n# The binary will be in target/release/\n```\n\n### Option 3: Install from crates.io\n\n```bash\ncargo install codetree\n```\n\n## 🖥️ Usage\n\n### Basic Usage\n\nTo analyze the current directory:\n\n```bash\ncodetree\n```\n\nTo analyze a specific directory:\n\n```bash\ncodetree /path/to/your/project\n```\n\n### Windows Examples\n\n```bash\n# Current directory\ncodetree.exe\n\n# Specific directory\ncodetree.exe C:\\path\\to\\your\\project\n```\n\n## ✨ Features\n\n### Framework and Project Detection\n\nCodetree intelligently detects:\n\n- **Frontend Frameworks**: React, Vue.js, Angular, Next.js, Three.js, Svelte, etc.\n- **Backend Frameworks**: Express.js, Django, Flask, Spring Boot, Rails, Laravel, etc.\n- **Project Types**: Rust, Node.js, Python, Java, .NET, Go, Ruby, PHP\n- **UI Libraries**: Tailwind CSS, Material UI, Bootstrap, Chakra UI\n- **State Management**: Redux, MobX\n- **Testing Frameworks**: Jest, Cypress, Pytest\n\n### Comprehensive Code Statistics\n\n- Total files and lines of code\n- Breakdown of code, comment, and blank lines\n- Files and lines by language/extension\n- Project size metrics\n\n### Security Features\n\nCodetree automatically detects and protects sensitive files like:\n- Environment variables (`.env` files)\n- API keys and tokens\n- Configuration files with credentials\n- Connection strings\n\n### Smart Build Directory Exclusion\n\nBased on your project type, Codetree automatically excludes:\n- `node_modules` for JavaScript/Node.js projects\n- `target` for Rust projects\n- `__pycache__` and `.venv` for Python projects\n- `bin` and `obj` for .NET projects\n- And many more\n\n## 📋 Output\n\nCodetree generates a `codetree.txt` file in the analyzed directory containing:\n\n1. Project type and framework detection information\n2. A visual representation of the project's file structure\n3. Comprehensive code statistics\n4. The contents of each file (with sensitive information protected)\n\n## 🤝 Contributing\n\nContributions are welcome! Feel free to:\n\n1. Fork the repository\n2. Create a feature branch: `git checkout -b my-feature`\n3. Commit your changes: `git commit -am 'Add new feature'`\n4. Push to the branch: `git push origin my-feature`\n5. Submit a pull request\n\n## 📜 License\n\nThis project is licensed under the **[MIT License](https://github.com/exyreams/Codetree?tab=MIT-1-ov-file)** - see the LICENSE file for details.\n\n---\n\n*Made with ❤️ by [exyreams](https://github.com/exyreams)*","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fexyreams%2Fcodetree","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fexyreams%2Fcodetree","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fexyreams%2Fcodetree/lists"}