GitHub - raminsharifi/mtype: A fast terminal typing test for the command line. A Monkeytype style WPM typing speed test that runs in your terminal, offline, with no account. · GitHub
/" data-turbo-transient="true" />
Skip to content
Search or jump to...
Search code, repositories, users, issues, pull requests...
-->
Search
Clear
Search syntax tips
Provide feedback
--><br>We read every piece of feedback, and take your input very seriously.
Include my email address so I can be contacted
Cancel
Submit feedback
Saved searches
Use saved searches to filter your results more quickly
-->
Name
Query
To see all available qualifiers, see our documentation.
Cancel
Create saved search
Sign in
/;ref_cta:Sign up;ref_loc:header logged out"}"<br>Sign up
Appearance settings
Resetting focus
You signed in with another tab or window. Reload to refresh your session.<br>You signed out in another tab or window. Reload to refresh your session.<br>You switched accounts on another tab or window. Reload to refresh your session.
Dismiss alert
{{ message }}
raminsharifi
mtype
Public
Notifications<br>You must be signed in to change notification settings
Fork
Star
main
BranchesTags
Go to file
CodeOpen more actions menu
Folders and files<br>NameNameLast commit message<br>Last commit date<br>Latest commit
History<br>1 Commit<br>1 Commit
.github/workflows
.github/workflows
assets
assets
src
src
.gitignore
.gitignore
Cargo.lock
Cargo.lock
Cargo.toml
Cargo.toml
LICENSE
LICENSE
NOTICE.md
NOTICE.md
README.md
README.md
View all files
Repository files navigation
mtype
A typing speed test that runs in your terminal. It is a port of Monkeytype,<br>so if you have used monkeytype.com you already know how it works. Words show up,<br>you type them, and it measures your typing speed and accuracy in real time. No<br>browser, no account, no network. It works fully offline.
mtype is a command line typing test, a terminal WPM test, and a Monkeytype style<br>typing trainer for macOS and Linux.
30
the quick brown fox jumps over the lazy dog and then keeps<br>going while the timer counts down and your wpm and accuracy<br>update as you type each word in the test
tab restart esc menu ctrl+c quit
Why this exists
I wanted Monkeytype without leaving the terminal, so I could run a quick typing<br>test between other work without opening a browser or signing in. mtype keeps the<br>parts that matter (the test, the modes, the live stats, the results graph) and<br>drops the account system. Your results and personal bests are saved on your own<br>machine instead.
Features
Test modes: time, words, quote, zen, and custom text
Punctuation, numbers, and three difficulty levels (normal, expert, master)
Live words per minute, accuracy, and a timer while you type
A results screen with a WPM over time graph, raw WPM, consistency, and a full<br>character breakdown
Personal best tracking saved locally, which is the offline replacement for the<br>online account
Every English word list from Monkeytype bundled and ready offline: english,<br>english_1k, english_5k, english_10k, english_25k, english_450k, and themed sets<br>like english_medical, english_legal, and english_shakespearean
A command palette (press Esc) with fuzzy search to change any setting
Funbox modifiers such as rot13, ALL_CAPS, sponge case, morse, binary, hex, and<br>gibberish
True color themes
Install
You do not need Rust to run mtype if you grab a prebuilt binary.
Option 1: download a prebuilt binary
Open the releases page and download the file for your system:
https://github.com/raminsharifi/mtype/releases/latest
macOS on Apple Silicon (M1, M2, M3, and newer):
curl -L -o mtype https://github.com/raminsharifi/mtype/releases/latest/download/mtype-macos-arm64<br>chmod +x mtype<br>xattr -d com.apple.quarantine mtype<br>./mtype
The xattr line clears the flag macOS puts on downloaded files. The binary is not<br>code signed, so without it macOS may refuse to open the file the first time. You<br>can also right click the file in Finder and choose Open.
To run it from anywhere, move it onto your PATH:
sudo mv mtype /usr/local/bin/<br>mtype
If your platform is not on the releases page yet, use Option 2.
Option 2: build it from source
This works on Linux, Intel Macs, and Apple Silicon. The command below installs<br>Rust first if you do not already have it, then builds and installs mtype. It<br>takes about a minute.
# skip this line if you already have Rust<br>curl --proto '=https' --tlsv1.2 -sSf https://sh.rustup.rs | sh
cargo install --git https://github.com/raminsharifi/mtype
The binary is installed to ~/.cargo/bin/mtype, which rustup adds to your PATH.<br>Open a new terminal and run mtype.
Usage
Run it with no arguments to start a 30 second test:
mtype
Type to begin. A few examples:
mtype --time 60 --punctuation<br>mtype --mode words --words 50<br>mtype --mode quote<br>mtype --mode zen<br>mtype --language english_10k --time 30<br>mtype --custom "the quick brown fox jumps over the lazy dog"
Keys
Type to take the test
Space moves to the next...