#typing #terminal #termion #fun #tui-rs

app typeracer

A terminal typing game. Race to see the fastest time you can get!

18 stable releases

✓ Uses Rust 2018 edition

1.7.0 May 10, 2020
1.6.0 Mar 28, 2020
1.4.3 Jan 6, 2020
1.4.2 Dec 15, 2019
1.1.1 Jul 27, 2019

#1 in #fun

Download history 23/week @ 2020-01-24 11/week @ 2020-01-31 6/week @ 2020-02-07 26/week @ 2020-02-14 50/week @ 2020-02-21 123/week @ 2020-02-28 36/week @ 2020-03-06 28/week @ 2020-03-13 50/week @ 2020-03-20 65/week @ 2020-03-27 25/week @ 2020-04-03 129/week @ 2020-04-10 23/week @ 2020-04-17 10/week @ 2020-04-24 5/week @ 2020-05-01 29/week @ 2020-05-08

191 downloads per month

GPL-3.0 license

125KB
3K SLoC

Typeracer

pipeline status

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.

User typing away having a great time in their terminal

Or see it in action here!

Installing

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.

Windows is not supported if you are not running Windows Subsystem for Linux. If you would like to run on Windows, install WSL and use the Linux binaries.

Releases here

Running

$ 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.

Configuration

What good would a typing game be without a config file?

You can find docs on configuring here.

Building

There isn't much to building, but steps are documented here.

Contributing

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.

Dependencies

~23MB
~486K SLoC