Skip to content

A simple, distraction-free typing speed tester for your terminal.

License

Notifications You must be signed in to change notification settings

Raeid-U/typeZero

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

typeZero

A simple, distraction-free typing speed tester for your terminal.

What’s typeZero?

The classic WPM typing test. Whether you’ve tried Monkey Type, Nitro Type, or any of the others, typeZero brings that straight to your terminal—no browser, no bells and whistles, just you, your keyboard, and a randomly picked sentence. When you finish typing, it clears the screen and gives you your Words Per Minute (WPM). Easy.

Whether you need a quick break from coding, a way to warm up your fingers, or just a quick dopamine hit, typeZero has got you covered.

Features

  • Random prompts: Every time you start, you (should) get a fresh sentence.
  • Real-time feedback: See your mistakes in red, correct keystrokes in green.
  • WPM calculation: Counts characters, converts to words, and tells you how fast you’re really typing.

Prerequisites

  • A C compiler (e.g. gcc or clang)
  • CMake (≥ 3.20)
  • A UNIX-style shell (Linux, macOS, WSL, etc.)

Quickstart: Build & Run

From the project root:

cmake -S . -B build/ \
  && cmake --build build/ \
  && ./build/typeZero

That will configure, compile, and launch typeZero in a single command.

Installing to /usr/local/bin

If you’d like to run typeZero from anywhere, copy it into your PATH. For example:

cmake -S . -B build/                      # configure
cmake --build build/                      # compile
sudo cp build/typeZero /usr/local/bin/    # install

Now you can simply type:

typeZero

from any directory.

How to Play

  1. Launch typeZero.
  2. Watch the “Starting in 3…2…1…” countdown.
  3. Type the sentence exactly as shown.
  4. Press Esc at any time to quit early.
  5. When you finish, your time and WPM appear.

Customization & Development

  • All the source lives in src/:
    • main.c handles terminal input and game loop.
    • session.c tracks your progress.
    • tooling.c picks prompts and computes WPM.
  • Feel free to tweak the prompt list or add new features!

Troubleshooting

  • No output? Make sure your terminal supports ANSI escape codes.
  • Build errors? Check your CMake and C compiler versions.
  • Permissions issues? Try sudo when installing to system directories.

About

A simple, distraction-free typing speed tester for your terminal.

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published