A terminal based typing test.
sudo curl -L https://github.com/lemnos/tt/releases/download/v0.3.0/tt-linux -o /usr/local/bin/tt && sudo chmod +x /usr/local/bin/tt
sudo curl -L https://github.com/lemnos/tt/releases/download/v0.3.0/tt-osx -o /usr/local/bin/tt && sudo chmod +x /usr/local/bin/tt
There is a windows binary but it is largely untested. Using WSL is strongly encouraged (or alternatively switching to a proper OS ;)).
git clone github.com/lemnos/tt make && sudo make install
go get github.com/lemnos/tt if you have
$GOPATH/bin in your
Best served on a terminal with truecolor and cursor shape support (e.g kitty, iterm)
By default 50 words from the top 1000 words in the English language are used to
constitute the test. Custom text can be supplied by piping arbitrary text to
the program. Each paragraph in the input is shown as a separate segment of the
escapeat any point restarts the test.
C-cexits the test.
tt -n 10produces a test consisting of 10 randomly drawn English words
tt -n 10 -g 5produces a test consisting of 50 randomly drawn words in 5 groups of 10 words each.
tt -t 10starts a timed test consisting of 50 words
tt -theme gruvboxStarts tt with the gruvbox theme
The default behaviour is equivalent to
tt -n 50.
-help for an exhaustive list of options.
Custom themes and word lists can be defined in
and used in conjunction with the
-words flags. A list of
preloaded themes and word lists can be found in
themes/ and are
accessible by default using the respective flags.
tt is designed to be easily scriptable and integrate nicely with
other *nix tools. With a little shell scripting most features the user can
conceive of should be possible to implement. Below are some simple examples of
what can be achieved.
shuf -n 40 /usr/share/dict/words|ttProduces a test consisting of 40 random words drawn from your system's dictionary.
curl http://api.quotable.io/random|jq -r .content|ttProduces a test consisting of a random quote.
alias ttd='tt -csv >> ~/wpm.csv'Creates an alias called ttd which keeps a log of your progress in your home directory`.