Sakura-sx/typr

TUI typing test with a word selection algorithm inspired by keybr

Python

236

18 commits

updated Jul 1, 2025

See the code

README

typr

typr

TUI typing test with a word selection algorithm inspired by keybr

Features

  • Word selection algorithm to optimize your typing speed inspired by keybr weighted by:
    • Accuracy with the letter
    • Frequency of the letter in the English language
    • Speed at which you type the letter
  • A cool TUI with curses
  • Stores your data in a JSON file

Installation

Windows

git clone https://github.com/Sakura-sx/typr.git
cd typr
pip install -r requirements.txt
python3 main.py

Linux

git clone https://github.com/Sakura-sx/typr.git
cd typr
python3 main.py

Usage

Running it normally

python3 main.py

To forgive errors

python3 main.py --forgive-errors

To set the time limit

python3 main.py --time 60

To set the words limit

python3 main.py --words 100

To run it forever

python3 main.py --forever

Roadmap

  • Add a setting for the wordlist.
  • Add a setting for the language.

Contributing

Pull requests are welcome. For major changes, please open an issue first to discuss what you would like to change.

License

GPL-3.0

python
tui
typing
typing-game
typing-practice

Contributors

Sakura-sx

18 commits

Sakura-sx/typr

TUI typing test with a word selection algorithm inspired by keybr

Python

236

18 commits

updated Jul 1, 2025

See the code

README

typr

typr

TUI typing test with a word selection algorithm inspired by keybr

Features

  • Word selection algorithm to optimize your typing speed inspired by keybr weighted by:
    • Accuracy with the letter
    • Frequency of the letter in the English language
    • Speed at which you type the letter
  • A cool TUI with curses
  • Stores your data in a JSON file

Installation

Windows

git clone https://github.com/Sakura-sx/typr.git
cd typr
pip install -r requirements.txt
python3 main.py

Linux

git clone https://github.com/Sakura-sx/typr.git
cd typr
python3 main.py

Usage

Running it normally

python3 main.py

To forgive errors

python3 main.py --forgive-errors

To set the time limit

python3 main.py --time 60

To set the words limit

python3 main.py --words 100

To run it forever

python3 main.py --forever

Roadmap

  • Add a setting for the wordlist.
  • Add a setting for the language.

Contributing

Pull requests are welcome. For major changes, please open an issue first to discuss what you would like to change.

License

GPL-3.0

python
tui
typing
typing-game
typing-practice

Contributors

Sakura-sx

18 commits

Languages

Python

100.0%