cli-type

Crates.iocli-type
lib.rscli-type
version0.1.1
created_at2025-07-10 10:15:30.424201+00
updated_at2025-07-11 04:21:03.932459+00
descriptionA fast Rust-based terminal typing test
homepage
repositoryhttps://github.com/AvhiMaz/cargo-type
max_upload_size
id1746120
size22,893
Avhi (AvhiMaz)

documentation

README

cli-type

A blazing fast, minimal, and fun terminal typing speed test, built in Rust.
Measures WPM, and gives you real-time feedback — all in your terminal.


Install via Cargo

cargo install cli-type

Usage

Once installed, just run:

cli-type

You’ll see something like:

Type the following:

> let boxed: Box<dyn Fn()> = Box::new(|| println!("hello from box"));

Start typing:
> 

And once you finish typing the sentence correctly, it will show:

Time taken: 7.32 seconds
WPM: 42.83
Accuracy: 97.06%

Features

  • Terminal-based typing test
  • Random Rust syntax on each run
  • Calculates WPM
  • Supports backspace + ESC to quit
  • Built using crossterm and rand

Developer Notes

Clone and build locally:

git clone https://github.com/yourname/cli-type.git
cd cli-type
cargo run

Crate Info

  • Crates.io: cli-type
  • Built with: Rust 2021
  • License: MIT

Contribute

Pull requests welcome! To run locally:

cargo run

Commit count: 0

cargo fmt