{"id":28412618,"url":"https://github.com/sidiqovabbos/diryzer","last_synced_at":"2026-02-14T06:31:39.174Z","repository":{"id":273060592,"uuid":"918592764","full_name":"SidiqovAbbos/diryzer","owner":"SidiqovAbbos","description":"A sleek tool for analyzing directory contents with visual file type distribution.","archived":false,"fork":false,"pushed_at":"2025-01-21T09:33:31.000Z","size":116,"stargazers_count":1,"open_issues_count":1,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-06-03T11:37:56.337Z","etag":null,"topics":["analyzer","dir","files"],"latest_commit_sha":null,"homepage":"https://www.npmjs.com/package/diryzer","language":"TypeScript","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/SidiqovAbbos.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,"zenodo":null}},"created_at":"2025-01-18T10:45:02.000Z","updated_at":"2025-01-21T09:32:39.000Z","dependencies_parsed_at":null,"dependency_job_id":"1300a890-f3d1-43c5-b2fb-35cbae96ec59","html_url":"https://github.com/SidiqovAbbos/diryzer","commit_stats":null,"previous_names":["sidiqovabbos/diryzer"],"tags_count":15,"template":false,"template_full_name":null,"purl":"pkg:github/SidiqovAbbos/diryzer","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/SidiqovAbbos%2Fdiryzer","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/SidiqovAbbos%2Fdiryzer/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/SidiqovAbbos%2Fdiryzer/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/SidiqovAbbos%2Fdiryzer/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/SidiqovAbbos","download_url":"https://codeload.github.com/SidiqovAbbos/diryzer/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/SidiqovAbbos%2Fdiryzer/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":261685287,"owners_count":23194078,"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":["analyzer","dir","files"],"created_at":"2025-06-02T23:14:46.525Z","updated_at":"2026-02-14T06:31:39.130Z","avatar_url":"https://github.com/SidiqovAbbos.png","language":"TypeScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"\u003cdiv align=\"center\"\u003e\n\n# 🔍 Diryzer\n\nA sleek command-line tool for analyzing directory contents with visual file type distribution.\n\n[![npm version](https://img.shields.io/npm/v/diryzer.svg)](https://www.npmjs.com/package/diryzer)\n[![License: MIT](https://img.shields.io/badge/License-MIT-yellow.svg)](https://opensource.org/licenses/MIT)\n[![GitHub issues](https://img.shields.io/github/issues/SidiqovAbbos/diryzer)](https://github.com/SidiqovAbbos/diryzer/issues)\n[![GitHub stars](https://img.shields.io/github/stars/SidiqovAbbos/diryzer)](https://github.com/SidiqovAbbos/diryzer/stargazers)\n\n\u003c/div\u003e\n\n## ✨ Features\n\n- 📊 Visual progress bar showing file type distribution\n- 🎨 Color-coded output for different file types\n- 🔄 Customizable directory depth scanning\n- 🚫 Pattern-based directory exclusion\n- 📈 Optional percentage display\n\n## 🌟 Inspired By\n\nGitHub's repository languages section - A visual representation of language distribution in repositories:\n\n![GitHub Languages](images/gh-languages.png)\n\n## 💻 Global Usage\n\n```bash\nnpm install -g diryzer\n```\n\n### Basic Command\n\n```bash\ndiryzer \u003cdirectory\u003e\n```\n\n### Options\n\n```bash\nOptions:\n  -V, --version              output the version number\n  -e, --exclude \u003cpatterns\u003e   patterns to exclude from analysis\n  -d, --depth \u003cnumber\u003e       depth of subdirectories to analyze (default: \"5\")\n  -h, --help                 display help for command\n```\n\n### 📝 Examples\n\nAnalyze current directory:\n```bash\ndiryzer .\n```\n\nExclude specific directories:\n```bash\ndiryzer --exclude 'node_modules/**' '.git' .\n```\n\nSet scan depth:\n```bash\ndiryzer --depth 3 .\n```\n\n### 🖥️ Example Output\n\n![Output](images/example.png)\n\n## 🔧 Programmatic Usage\n\nTo install `diryzer` as a development dependency in your project, run:\n\n```bash\nnpm install diryzer --save-dev\n```\n\nYou can then use it in your project scripts or directly in your code.\n```typescript\nimport { DirectoryAnalyzer } from 'diryzer';\n\nconst diryzer = new DirectoryAnalyzer({\n  directoryPath: './my-project',\n  depth: 5,\n  excludePatterns: ['node_modules/**']\n});\n\nconst result = diryzer.analyze();\n/* result is Record\u003cstring, FileType\u003e\n  {\n    \".js\": {\n      extension: \".js\";\n      count: 2; \n      percentage: 25; \n    }\n    ... others\n  }\n*/\n```\n\n## 🤝 Contributing\n\n1. Fork the repository\n2. Create your feature branch (`git checkout -b feature/amazing-feature`)\n3. Commit your changes (`git commit -m 'Add amazing feature'`)\n4. Push to the branch (`git push origin feature/amazing-feature`)\n5. Open a Pull Request\n\n## 📄 License\n\nThis project is licensed under the MIT License - see the [LICENSE](LICENSE) file for details.\n\n## 🙏 Acknowledgments\n\n- Built with TypeScript and Node.js\n- Uses Commander.js for CLI interface\n- Chalk for colorful terminal output\n\n## 🌐 Links\n\n- [GitHub Repository](https://github.com/SidiqovAbbos/diryzer)\n- [Bug Reports](https://github.com/SidiqovAbbos/diryzer/issues)\n- [npm Package](https://www.npmjs.com/package/diryzer)\n\n---\n\n\u003cdiv align=\"center\"\u003e\nMade with ❤️ by developers for developers\n\u003c/div\u003e\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsidiqovabbos%2Fdiryzer","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fsidiqovabbos%2Fdiryzer","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsidiqovabbos%2Fdiryzer/lists"}