Discover and explore top open-source AI tools and projects—updated daily.
kamilstanuchCLI tool for LLM-assisted codebase analysis
Top 85.5% on SourcePulse
Codebase-digest is a Python CLI tool designed to analyze and package codebases for Large Language Models (LLMs). It helps developers quickly understand project structure, statistics, and consolidated file content, making it ideal for feeding into LLMs for tasks like code analysis, documentation generation, and security assessments.
How It Works
The tool traverses a specified directory, generating a hierarchical tree view of files and directories. It calculates statistics like total files, directories, code size, and token counts. A key feature is its ability to consolidate all text-based file content into a single output, optionally excluding specific files or directories via a flexible ignore system that supports custom patterns, .gitignore, and a .cdigestignore file.
Quick Start & Requirements
pip install codebase-digestcdigest [path_to_directory] [options]Highlighted Details
Maintenance & Community
The project is maintained by Kamil Stanuch. Contributions are welcome via Pull Requests.
Licensing & Compatibility
Licensed under the MIT License, permitting commercial use and integration with closed-source projects.
Limitations & Caveats
The README does not specify Python version requirements or provide performance benchmarks. The extensive prompt library might require careful selection and adaptation for specific LLM use cases.
1 year ago
Inactive
context-labs
Codium-ai
yamadashy