ktype-0.2.1 is not a library.
ktype
A terminal-native typing test inspired by Monkeytype — fast, minimal, and offline-first.
Features
- Timed tests: 15s, 30s, or 60s (cycle with
Tab) - Live WPM, raw WPM, accuracy, and character breakdown
- Persistent stats saved to
~/.config/ktype/stats.json - Zero config, zero network — runs entirely offline
Install
From crates.io
From source
Usage
ktype starts a 15-second timed test immediately. Press Tab to cycle through duration options (15s → 30s → 60s) before typing begins.
Keybindings
| Key | Action |
|---|---|
Tab |
Cycle duration (when not typing) / Restart |
Space / Enter |
Commit current word |
Backspace |
Delete last character |
Esc |
Quit |
Results
After each test, ktype shows:
- WPM — words per minute (correctly typed words only)
- Raw WPM — all keystrokes, including errors
- Accuracy — percentage of correct keystrokes
- Breakdown — correct / incorrect / extra / missed characters
Stats are saved automatically to ~/.config/ktype/stats.json.
Contributing
See CONTRIBUTING.md.
License
MIT — see LICENSE.