RUST ferrum-scan
Pure Multithreaded Rust Intelligence Engine

Ultra-Fast Repository
Analysis & Inspection

Analyze millions of lines of code, breakdown storage hogs, and detect duplicate files in milliseconds. Built with zero bloat and multi-core parallelism.

Installation
irm https://raw.githubusercontent.com/caya8205-2/ferrum-scan/main/install.ps1 | iex

Downloads pre-compiled ferrum-scan.exe directly into %LOCALAPPDATA%\ferrum-scan and updates PATH.

5.5M+
Lines of Code Processed
34k+
Files Scanned Simultaneously
~5s
Full Scan Execution Time
100%
Pure Rust Parallel Engine

Terminal Output Preview

ferrum-scan --full -s -d -j
⚡ FERRUM-SCAN REPOSITORY REPORT ⚡

📌 Path               : .
📁 Total Files        : 34,293
💾 Total Size         : 239.91 MB (251,565,402 bytes)
⏱️ Scan Time          : 7,392 ms
📝 Total Lines        : 5,561,948 (Code: 4.67M, Blank: 264k, Comments: 628k)

--- LANGUAGE BREAKDOWN ---
┌──────────────────┬───────┬──────────┬────────┬─────────┬───────────┬─────────┐
│ Language         ┆ Files ┆ Code LOC ┆ Blank  ┆ Comment ┆ Total LOC ┆ Share % │
├──────────────────┼───────┼──────────┼────────┼─────────┼───────────┼─────────┤Other            ┆ 11508 ┆ 1856450  ┆ 15146  ┆ 3255    ┆ 1874851   ┆ 39.8%   │
│ JavaScript       ┆ 12430 ┆ 1757605  ┆ 119502 ┆ 212924  ┆ 2090031   ┆ 37.6%   │
│ C                ┆ 22    ┆ 339409   ┆ 36073  ┆ 188454  ┆ 563936    ┆ 7.3%    │
│ TypeScript       ┆ 4763  ┆ 268006   ┆ 36599  ┆ 212529  ┆ 517134    ┆ 5.7%    │
│ JSON             ┆ 3485  ┆ 252681   ┆ 53     ┆ 24      ┆ 252758    ┆ 5.4%    │
│ Markdown         ┆ 678   ┆ 94747    ┆ 36078  ┆ 3760    ┆ 134585    ┆ 2.0%    │
│ Rust             ┆ 25    ┆ 52878    ┆ 498    ┆ 46      ┆ 53422     ┆ 1.1%    │
│ HTML             ┆ 84    ┆ 16132    ┆ 15683  ┆ 1870    ┆ 33685     ┆ 0.3%    │
│ TypeScript (TSX) ┆ 34    ┆ 11199    ┆ 910    ┆ 97      ┆ 12206     ┆ 0.2%    │
│ TOML             ┆ 1038  ┆ 8004     ┆ 2022   ┆ 4146    ┆ 14172     ┆ 0.2%    │
│ C++              ┆ 7     ┆ 6061     ┆ 884    ┆ 268     ┆ 7213      ┆ 0.1%    │
│ YAML             ┆ 142   ┆ 3168     ┆ 389    ┆ 108     ┆ 3665      ┆ 0.1%    │
│ CSS              ┆ 23    ┆ 2000     ┆ 435    ┆ 375     ┆ 2810      ┆ 0.0%    │
│ Shell Script     ┆ 49    ┆ 1115     ┆ 77     ┆ 245     ┆ 1437      ┆ 0.0%    │
│ Makefile         ┆ 3     ┆ 22       ┆ 12     ┆ 0       ┆ 34        ┆ 0.0%    │
│ XML              ┆ 2     ┆ 9        ┆ 0      ┆ 0       ┆ 9         ┆ 0.0%├──────────────────┼───────┼──────────┼────────┼─────────┼───────────┼─────────┤TOTAL3429346694862643616281015561948100.0%└──────────────────┴───────┴──────────┴────────┴─────────┴───────────┴─────────┘

--- TOP DIRECTORIES BY STORAGE (--storage) ---node_modules : 207.07 MB (26,134 files)
• src-tauri    : 15.55 MB (7,741 files)
• frontend     : 8.50 MB (101 files)
• backend      : 8.36 MB (215 files)

--- DUPLICATE FILES DETECTOR (--duplicates) ---
⚠️ Wasted Storage Space: 21.85 MB (1,930 duplicate groups)

--- 🚨 JUMBO FILES DETECTOR (--jumbo > 5 MB) ---node_modules\kuromoji\test\resource\minimum-dic\matrix.def  : 21.94 MBnode_modules\better-sqlite3\build\Release\obj\...\sqlite3.c : 8.81 MBnode_modules\better-sqlite3\deps\sqlite3\sqlite3.c          : 8.81 MBnode_modules\typescript\lib\typescript.js                   : 8.69 MBnode_modules\typescript\lib\_tsc.js                         : 5.93 MB

--- 💡 REPOSITORY INSIGHTS ---
• Dominant Language: Other / JavaScript (39.8% / 37.6% of code LOC).
• Moderate documentation ratio (11.3% comments).
• Jumbo files alert: 5 file(s) exceed 5 MB threshold (total 54.17 MB).
• Overall Repository Health Rating: A+ (Optimal & Clean)

Engine Capabilities

Storage Breakdown

Inspect top-level directories and pinpoint which folders consume disk space in bloated repositories.

Duplicate Detector

Identify duplicate files across your workspace using parallel content hashing and calculate wasted space.

Full Scan Override

Optionally bypass .gitignore and ignore rules to scan every single file in the directory tree.

Native Uninstaller

Uninstall cleanly with ferrum-scan uninstall or -Uninstall script flag with safety prompts.

Git Health Inspector

Inspect commit counts, total contributors, top committers, and recent activity dates automatically.

Markdown & JSON Export

Export formatted reports to SCAN_REPORT.md or structured JSON for documentation & CI pipelines.

Built with 🦀 Rust & Rayon by caya8205-2. Released under MIT License.