Glyph
A typing test that never left the terminal.
Repo
https://github.com/MentalDecoherence/Glyph
What is this
Every typing test lives in a browser tab nowadays. Glyph doesn’t.
It’s a fully functional typing test that runs entirely in your terminal - same ghost text you type over, same live stats - minus the tab, the ads, and the internet connection. Open a terminal, run one command, start typing.
No account. No telemetry. No JS. No TS. No BS. Just curses and a word list.
Why it feels right
Most terminal typing tests either regenerate a whole new screen per test which is annoying, don’t show you a real prompt to type against which feels like a guessing game, or make you dig through a settings menu every single run (annoying again.) Glyph fixes all three.
How it’s built
Glyph is one dependency-free Python file built on curses . A few things worth knowing if you’re reading the source:
- Layout engine - a small word-wrap pass maps every character index in the target passage to a (row, col) on screen before rendering, so the ghost text, the typed overlay, and the real cursor position always agree with each other, even after a terminal resize.
- Time mode auto-extends - if you’re typing fast enough to reach the end of the buffered passage before your timer runs out, Glyph silently generates more text behind the scenes. You’ll never hit a wall mid-sprint.
- WPM math - standard
(correct characters ÷ 5) ÷ minutes elapsed, plus a separate raw WPM that includes mistakes, so you can see both your real throughput and your typing accuracy trade-off.
Contributing
Issues and PRs welcome - especially new themes and word lists. Keep it dependency-free, that’s the whole point.
License
MIT. Do whatever you want with it. Seriously.
Comments 0
No comments yet. Be the first!
Sign in to join the conversation.