Skip to content
/ typist Public

typist is a simple, terminal typing speed test using only the standard c libraries.

License

Notifications You must be signed in to change notification settings

ny64/typist

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

64 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

typist

typist is a simple, terminal typing speed test using only the standard c libraries.

typist v0.1 GIF

Installation

There already is a binary file you can download directly. To compile it yourself you need a C compiler like gcc. Your installed version will most likely work.

git clone https://github.com/ny64/typist.git
cd typist
gcc src/*.c -o typist

Now you can already check if typist is working! Try it out by typing ./typist most-used-words.txt into your terminal.

If you want to install typist for other users or use it anywhere on your system, move the binary file to one of the folders in your $PATH outside of your home directory. To view these folders type echo $PATH into your terminal. Then move the binary file into one of the folders. For this example I will put it into /usr/bin.

sudo mv typist /usr/bin

Usage

To start a typing test you need to provide a text file you want to write off.

typist file.txt

The test starts after the program receives the first input. It checks the time after each input and charts your result after 60 seconds.

There are options you can use to change the behavior of typist, like changing the time you have till the test ends. In this example the time is set to 10 minutes.

typist --time 600 file.txt

To see all available options type typist --help or just typist.

Keybindings

Binding Function
Ctrl + q; Ctrl + c Exit
Ctrl + r Restart typing test

Tips

Doing the same test over and over again isn't good practice. I have provided a text file and a small python script to randomize the most used words in the English language. You can use this script on any text file, though it will remove punctuation marks and reformats the text.

python3 utils/randomize.py most-used-words.txt

You can also contact me via email if you have any further questions.


License

GNU GPLv3 © Peter Breitzler

About

typist is a simple, terminal typing speed test using only the standard c libraries.

Topics

Resources

License

Stars

Watchers

Forks

Packages

No packages published