Ultra-fast multithreaded repository scanner and health inspector CLI tools built in Rust
Install binary directly from GitHub Releases without needing Rust toolchains or Visual Studio Build Tools:
irm https://raw.githubusercontent.com/caya8205-2/ferrum-scan/main/install.ps1 | iexcurl -fsSL https://raw.githubusercontent.com/caya8205-2/ferrum-scan/main/install.sh | bash- Ultra-Fast Repository Scanner: Scans project directories in parallel within milliseconds using
rayonandignore. Respects.gitignore,.ignore, and automatically skips.git,node_modules,target, and hidden directories by default. - Repository Insights & Health Rating: Evaluates overall repository health, documentation ratio, Git status, and assigns an overall health score (e.g.,
A+ (Optimal & Clean)). - Storage Breakdown (
--storage,-s): Analyzes disk space consumption across top subdirectories to identify storage hogs. - Duplicate Files Detector (
--duplicates,-d): Finds identical duplicate files across the repository using fast parallel content hashing and calculates total wasted storage space. - Full Scan Option (
--full): Bypasses ignore rules to scan all files. - Language Breakdown & Metrics: Computes exact Lines of Code (LOC), blank lines, and comment lines per programming language.
- Git Health Inspector: Analyzes total commits, active contributors, top contributors, and last commit dates.
- Jumbo File Detector: Flags large files exceeding a customizable threshold (default 5MB).
- Terminal Visuals & Export: Formats statistics in clean terminal tables using
comfy-tableand supports exporting reports toMarkdown(SCAN_REPORT.md) orJSON.
Check out a real-world full benchmark report scanning 34,000+ files and 5.5 Million+ lines of code:
cargo build --releasecargo install --path .ferrum-scanferrum-scan --storage
# or short flag:
ferrum-scan -sferrum-scan --duplicates
# or short flag:
ferrum-scan -dferrum-scan --full -s -dferrum-scan /path/to/repositoryferrum-scan export --format md --output SCAN_REPORT.md -s -dThis project is licensed under the MIT License.
