TypeRush: a typing trainer for English and Thai
Published:
A dark-mode typing trainer I built to get faster at typing in both English and Thai. It runs in the browser, or as a Mac app with its own Dock icon.
Three ways to practise
- Test: 15, 30 or 60 second runs, or 10, 25 or 50 words, with live WPM, a combo counter and an on-screen keyboard that lights up the next key
- Drill: the app records which keys you miss or hesitate on, then builds word lists around your five weakest keys
- Arcade (Word Defense): type the falling words before they reach your ship; waves speed up, every fifth wave sends a boss phrase, and clean streaks raise a ×4 multiplier
Built for Thai as well as English
- One keystroke, one character. Thai vowels and tone marks are typed as separate keys, so the app checks every code point while still drawing whole syllables on screen.
- Kedmanee keyboard on screen. The next key lights up, including Shift for shifted characters.
- Wrong-keyboard warning. Three English letters in a Thai test bring up a reminder to press ⌃Space and switch the Mac keyboard.
- Fonts that show Thai properly. Each of the five font choices is paired with a Thai font.
Keeping it fun
XP and levels, a daily goal with a 🔥 streak, personal-best confetti, four key-sound packs and five colour themes. Progress stays in the browser on your own computer; nothing is sent anywhere.
How it is built
- Logic separate from the screen. Scoring, weak-key tracking, XP and the arcade simulation are plain TypeScript with no React or browser code, covered by 114 unit tests.
- Standard definitions. WPM is correct characters ÷ 5 per minute, the same rule typing sites use, so results can be compared.
- A usage diagram in the repository. A draw.io map shows how to run the app, move between its screens, and change its options.
