4 stable releases
✓ Uses Rust 2018 edition
|1.2.0||Aug 31, 2019|
|1.1.1||Jul 27, 2019|
|1.1.0||Jul 23, 2019|
|1.0.10||Jul 16, 2019|
#3 in #fun
37 downloads per month
An open source terminal based version of Typeracer written in rust.
Gives you a random passage and you type it out. While you type it will tell you where you're making errors and give you a set of words per minute.
We're on crates.io! Grab the latest version with:
$ cargo install typeracer
Or if you prefer, binaries are included with each release.
Binaries are statically linked and available for a few platforms (currently x86_64 Linux and macOS). To use them, download and execute like any regular binary.
$ typeracer # Or if you want to take the passage from somewhere else $ typeracer -r $(echo 'racing using a passage from elsewhere')
Hit ^C at any time to quit.
What good would a typing game be without a config file?
Where you can find your config file:
And roughly in:
-- Note typeracer uses whatever the proper mechanism is for data and config folders are for your OS. If you customized the variables used, it may be elsewhere.
With your config, you can enable or disable language packs.
[lang_packs] whitelisted = ["default"]
[lang_packs] blacklisted = ["harry-potter"]
You need rust version 1.33.0 or higher (using some newer time APIs) and git. If you're on macOS, you'll probably need to install openssl too.
$ cargo build --release
The binary you'll get is called
typeracer and runnable immediately!
If you're trying to cross compile to macOS from Linux you'll need:
clang g++ gcc git zlib1g-dev libmpc-dev libmpfr-dev libgmp-dev
and to add the apple target via rustup:
$ rustup target add x86_64-apple-darwin
You can then build just the macOS target with
$ make mac
I'd love to have more contributors! If you're looking to make any drastic changes (e.g. Redis integration or something like that) consider contacting me via email first so we can discuss.
All rust should be formatted with rustfmt. And if you're adding a new feature, please add some tests too!
License is GPLv3 in the spirit of open source.