| Crates.io | sherlock-io |
| lib.rs | sherlock-io |
| version | 1.2.0 |
| created_at | 2025-09-11 02:42:50.541032+00 |
| updated_at | 2025-09-11 03:38:01.782481+00 |
| description | SherlockIO - Language detection CLI tool |
| homepage | |
| repository | https://github.com/GriffinCanCode/SherlockIO.git |
| max_upload_size | |
| id | 1833256 |
| size | 375,978 |
Fast and accurate language detection CLI tool that analyzes your codebase while automatically filtering out dependencies, build artifacts, and cache files.
Sherlock uses a two-stage intelligent filtering system:
Smart Filtering: Automatically skips non-source files using sophisticated pattern matching
node_modules/, venv/, vendor/, target/dist/, build/, __pycache__/, .class files.vscode/, .idea/, .git/Advanced Language Detection: Identifies programming languages using sophisticated multi-stage analysis
.xml → XML vs Maven)Dockerfile, Makefile, package.json)Result: Analyze only your actual source code, not the noise!
# Install from crates.io (recommended)
cargo install sherlock-io
# Or build from source
cargo build --release
cargo install --path .
# Analyze current directory
sherlock
# Analyze specific directory
sherlock /path/to/project
# Set depth limit
sherlock -d 5 /path/to/project
# Output formats
sherlock --format table # default
sherlock --format json
sherlock --format csv
# Options
sherlock --verbose # detailed output
sherlock --include-hidden # include hidden files
sherlock --min-percentage 1.0 # minimum threshold
Language Detection Report
Total Files: 127 (filtered from 50,000+ files)
Total Size: 2.3 MB
Language Files Percentage Size Bar
──────────────────────────────────────────────────────────────────────
Rust 45 35.4% 1.2 MB ███████████████░░░░░ 35.4%
JavaScript 32 25.2% 654.2 KB ██████████░░░░░░░░░░ 25.2%
TypeScript 18 14.2% 423.1 KB █████░░░░░░░░░░░░░░░ 14.2%
JSON 12 9.4% 89.4 KB ███░░░░░░░░░░░░░░░░░ 9.4%
Markdown 8 6.3% 45.2 KB ██░░░░░░░░░░░░░░░░░░ 6.3%
Notice: Only source files analyzed - dependencies, build artifacts, and cache files automatically filtered out!
SherlockIO automatically ignores these non-source files:
Dependencies & Packages
node_modules/, venv/, vendor/, target/, deps/__pycache__/, .pytest_cache/, .gradle/, .m2/Build Artifacts
dist/, build/, out/, bin/, *.class, *.o, *.so.next/, .nuxt/, coverage/, *.min.jsIDE & Editor Files
.vscode/, .idea/, .git/, .DS_Storepackage-lock.json, yarn.lock, Cargo.lock🚀 Major Detection Improvements
🔧 Technical Enhancements
MIT License