a sleek typing tui written in rust
sh
$ cargo install thokr
sh
$ docker run -it coloradocolby/thokr
Install thokr-git
from the AUR
For detailed usage run thokr -h
.
| command | test contents |
| :-------------------------- | ---------------------------------------------------------------: |
| thokr
| 50 of the 200 most common english words |
| thokr -w 100
| 100 of the 200 most common English words |
| thokr -w 100 -l english1k
| 100 of the 1000 most common English words |
| thokr -w 10 -s 5
| 10 of the 200 most common English words (hard stop at 5 seconds) |
| thokr -p "$(cat foo.txt)"
| custom prompt with the output of cat foo.txt
|
During a test you can press โ to start over or โ to see a new prompt (assuming you didn't supply a custom one)
The following languages are available by default:
| name | description |
| :----------- | ------------------------------: |
| english
| 200 most common English words |
| english1k
| 1000 most common English words |
| english10k
| 10000 most common English words |
Upon completion of a test, a row outlining your results is appended to the
log.csv
file found in the following platform-specific folders. This way you
can easily track your progress over time.
| platform | value | example | | :------- | ---------------------------------------------------------------- | ---------------------------------------------: | | Linux | $XDGCONFIG_HOME/_project_path or $HOME/.config/projectpath_ | /home/colby/.config/thokr | | macOS | $HOME/Library/Application Support/projectpath_ | /Users/Colby/Library/Application Support/thokr | | Windows | {FOLDERIDRoamingAppData}_project_path\config | C:\Users\Colby\AppData\Roamingthokr\config |
All contributions are greatly appreciated.
If you have a suggestion that would make thokr better, please fork the repo and
create a pull request. You can
also simply open an issue and select Feature Request
git checkout -b feature/xyz
)git commit -m 'Add some xyz'
)git fetch --all && git rebase origin/main
)git push origin feature/xyz
)See the open issues for a full list of proposed features (and known issues).
Distributed under the MIT License. See LICENSE.md for more information.
Check out these amazing projects that inspired thokr!