A simple, distraction-free typing speed tester for your terminal.
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.
- 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.
- A C compiler (e.g.
gccorclang) - CMake (≥ 3.20)
- A UNIX-style shell (Linux, macOS, WSL, etc.)
From the project root:
cmake -S . -B build/ \
&& cmake --build build/ \
&& ./build/typeZeroThat will configure, compile, and launch typeZero in a single command.
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/ # installNow you can simply type:
typeZerofrom any directory.
- Launch
typeZero. - Watch the “Starting in 3…2…1…” countdown.
- Type the sentence exactly as shown.
- Press Esc at any time to quit early.
- When you finish, your time and WPM appear.
- All the source lives in
src/:main.chandles terminal input and game loop.session.ctracks your progress.tooling.cpicks prompts and computes WPM.
- Feel free to tweak the prompt list or add new features!
- No output? Make sure your terminal supports ANSI escape codes.
- Build errors? Check your CMake and C compiler versions.
- Permissions issues? Try
sudowhen installing to system directories.