https://github.com/andrejkoller/countwords-rs
A clean and simple Rust word counter for the terminal.
https://github.com/andrejkoller/countwords-rs
cli rust word-counter
Last synced: 5 months ago
JSON representation
A clean and simple Rust word counter for the terminal.
- Host: GitHub
- URL: https://github.com/andrejkoller/countwords-rs
- Owner: andrejkoller
- License: mit
- Created: 2025-11-01T16:01:03.000Z (8 months ago)
- Default Branch: master
- Last Pushed: 2025-12-04T12:37:08.000Z (7 months ago)
- Last Synced: 2025-12-07T20:38:27.912Z (6 months ago)
- Topics: cli, rust, word-counter
- Language: Rust
- Homepage:
- Size: 12.7 KB
- Stars: 1
- Watchers: 0
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
## Short description
A simple and efficient **Word Counter CLI tool** written in Rust.
It analyzes text files and counts the number of words contained within.
## ✨ Features
- Count words from any text file
- Export counted words and frequencies to a **CSV file**
- Simple command-line interface using **Clap**
## 📦 Installation
Make sure you have [Rust](https://www.rust-lang.org/tools/install) installed.
```bash
git clone https://github.com/andrejkoller/countwords-rs.git
cd countwords-rs
cargo build --release
```
```bash
cargo run --
```
```bash
cargo run -- --output
```