Repository Information

LanguageRust
Stars3
Forks0
Last Updated11/8/2025

🧮 Stats

A command-line tool written in Rust for analyzing programming language statistics in a directory.

📜 Features

  • Analyzes directories to count files and lines of code by programming language
  • Filters out common directories like .git, node_modules, etc.
  • Displays results in a colorful, formatted table

🛠 Installation

From Source

  1. Clone the repository
  2. Install the project:
cargo install --path .

🛠 Usage

# Analyze the current directory
stats

# Analyze a specific directory
stats /path/to/directory

Example Output

Language Statistics
┏━━━━━━━━━━━━┳━━━━━━━┳━━━━━━━┳━━━━━━━━┳━━━━━━━━┓
┃ Language   ┃ Files ┃ Lines ┃ File % ┃ Line % ┃
┡━━━━━━━━━━━━╇━━━━━━━╇━━━━━━━╇━━━━━━━━╇━━━━━━━━┩
│ rs         │    10 │  1250 │  62.5% │  75.8% │
│ js         │     4 │   250 │  25.0% │  15.2% │
│ py         │     2 │   150 │  12.5% │   9.1% │
└────────────┴───────┴───────┴────────┴────────┘

📄 License

GNU General Public License v3.0

© 2025 ✰λster✰