https://github.com/friedev/ttypist
TUI typing test
https://github.com/friedev/ttypist
tui typing-test
Last synced: 9 months ago
JSON representation
TUI typing test
- Host: GitHub
- URL: https://github.com/friedev/ttypist
- Owner: friedev
- License: mit
- Created: 2024-11-26T14:30:09.000Z (about 1 year ago)
- Default Branch: main
- Last Pushed: 2024-11-26T14:30:10.000Z (about 1 year ago)
- Last Synced: 2025-02-08T01:27:56.232Z (11 months ago)
- Topics: tui, typing-test
- Language: C
- Homepage:
- Size: 4.88 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE.txt
Awesome Lists containing this project
README
# ttypist
A terminal-based typing test written in C using ncurses, with a wrapper script written in POSIX shell.
## Dependencies
- C
- ncurses
- GNU make
- POSIX-compliant shell
## Compiling
```sh
make
```
## Installation
As root:
```sh
make install
```
## Usage
To use a custom string for the typing test:
```sh
ttypist "my custom string"
```
To generate a random string of 10 words from a word list:
```sh
ttypist-gen /path/to/words.txt 10
```
## Word Lists
A word list is a plain text file consisting of individual words each separated by a newline (LF).
If you have the UNIX dictionary installed, you can use `/usr/share/dict/words`.
(On Arch Linux, install the `words` package.)
Other word lists:
- [ttyper](https://github.com/max-niederman/ttyper/tree/main/resources/runtime/language)
- [tt](https://github.com/lemnos/tt/tree/master/words)
You can also search for word lists online (e.g. "english words txt").
Make sure to convert to LF line endings instead of CRLF if necessary (e.g. use `dos2unix`).
## License
ttypist is licensed under the [MIT License](https://mit-license.org/).
## Similar Programs
- [ttyper](https://github.com/max-niederman/ttyper) (Rust)
- [tt](https://github.com/lemnos/tt) (Go)
- [typespeed](http://typespeed.sourceforge.net) (C)