Skip to content
forked from ny64/typist

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

mutageneral/typist

This branch is 1 commit ahead of ny64/typist:master.

Folders and files

NameName
Last commit message
Last commit date

Latest commit

662ea9b · Sep 1, 2024

History

65 Commits
Dec 21, 2020
Jan 16, 2021
Sep 1, 2024
Dec 21, 2020
Sep 1, 2024
Dec 20, 2020
Jan 16, 2021

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 and a shell 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
# or
utils/randomize.sh 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.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • C 86.3%
  • Shell 8.4%
  • Python 5.3%