| Crates.io | ratatype |
| lib.rs | ratatype |
| version | 0.1.1 |
| created_at | 2025-06-03 18:39:26.125727+00 |
| updated_at | 2025-06-05 21:37:42.977896+00 |
| description | A fast, minimalist yet feature packed typing test application for the terminal. |
| homepage | |
| repository | https://github.com/pato/ratatype |
| max_upload_size | |
| id | 1699369 |
| size | 108,047 |
A fast, minimalist typing test application for the terminal.
This was developed using Claude Code (with 3.5 Haiku and Sonnet 4) for a grand total of $15.
Every commit has alongside with it the prompt I used that generated the contents of the commit (with the exception of commits marked as no ai, but there was no code that wasn't written by the model).
> /cost
⎿  Total cost: $14.14
Total duration (API): 47m 58.7s
Total duration (wall): 8h 34m 55.9s
Total code changes: 1080 lines added, 234 lines removed
Token usage by model:
claude-3-5-haiku: 287.7k input, 7.4k output, 0 cache read, 0 cache write
claude-sonnet: 488 input, 74.3k output, 24.7m cache read, 1.4m cache write
git clone https://github.com/pato/ratatype.git
cd ratatype
cargo build --release
cargo install --path .
# Basic 30-second test
ratatype
# 60-second test
ratatype -d 60
# Error correction mode (must fix mistakes)
ratatype -c
# Short words only (max 5 characters)
ratatype -m 5
# Use system dictionary words instead of google top 10k
ratatype -s system
# Use built-in sample texts
ratatype -s builtin
# Combine options
ratatype -d 120 -c -s system -m 4
-d, --duration <SECONDS> - Test duration (default: 30)-c, --require-correction - Must correct errors before proceeding-s, --text-source <SOURCE> - Text source: google (top 10k words, default), system (/usr/share/dict/words), builtin (sample texts)-m, --max-word-length <LENGTH> - Maximum word length for dictionary mode (default: 7)Test results are automatically saved to ~/.ratatype_history.csv with:
/usr/share/dict/words file (for dictionary mode)