Crates.io | mecano |
lib.rs | mecano |
version | 0.2.2 |
source | src |
created_at | 2024-09-03 19:35:30.672015 |
updated_at | 2024-09-06 14:56:36.975921 |
description | A minimalist typing test |
homepage | |
repository | https://github.com/alvarojsino813/mecano |
max_upload_size | |
id | 1362008 |
size | 92,484 |
A minimalist typing test.
You can install it with any AUR package manager, like yay:
yay -Sy mecano
cargo install mecano
This way the executable will be installed at ~/.cargo/bin/mecano
.
You can add that path to your paths. Example for linux:
In .bashrc
:
export PATH="$HOME/.cargo/bin:$PATH"
Just execute and type!
Mecano, a typing train
Usage: mecano [OPTIONS] [FLAGS]
OPTIONS:
-f, --file <FILE> Plays using the chosen file or dictionary
-m, --mode <MODE> Plays the chosen mode
-r, --rate <RATE> Plays with the chosen rate. This affects time measures accuracy. The higher the better.
-t, --time <SECS> Choose the game time in seconds
FLAGS:
-h, --help Print help
-v, --version Print version
--list-dictionaries List all dicitonaries. You can add more at ~/.config/mecano/dictionaries
--list-modes List all available modes
Tip: You can change the
TextBox
size using the arrow keys.
You can change some default values like the theme, the time or some starting values at ~/.config/mecano/config.toml
.
# Maximum width of each line
width = 80
# Game time for the test
max_time = 60
# Max lines shown
lenght = 2
# File from which words are taken
file = "100_english"
# Play mode. [ dictionary | file ]
mode = "dictionary"
# update rate: 1000 suggested value
rate = 1000
# Color theme (more coming soon)
[theme] # Uncomment this line to change theme
# Selected char color
selected = "#888888"
# Wrong char color
wrong = "#FF8888"
# Right char color
right = "#44FF44"
Modify the configuration file in ~/.config/mecano/mecano.toml
Add more dictionaries at ~/.config/mecano/dictionaries/
Use any file on your system