BetterTyping
A typing game for getting faster: practice alone, race other people or a bot, and come back every day for a new challenge.

What you can do
-
Typing test
Type a short quote and get your speed, accuracy and the letters you missed. Or go for 30 seconds, 1 or 2 minutes, with punctuation and numbers if you like.
-
Daily challenge
Everyone types the same text each day. Your best try counts on the day's leaderboard.
-
Races
Race other people live, invite friends to a lobby, or race a bot that types at about your own speed.
-
Learn touch typing
Lessons with finger guides unlock letter by letter. Extra practice targets the keys you miss most.
-
Streaks and goals
A daily streak with freezes for busy days, optional reminder emails and a WPM goal to work towards.
-
Share and compare
Challenge a friend to beat you on the same text, copy your result as an image, or add a WPM badge to your README.
Under the hood
- Elixir and Phoenix LiveView for the whole app, with a Lit web component for the text you type.
- One process per lobby. Each multiplayer lobby is its own GenServer, and each bot is one too.
- Results are checked on the server. The speed is recomputed from the text and the time instead of trusting the browser.
- Result images are rendered as SVG and converted to PNG with libvips, in the language of the text.
- Self-hosted as a single Docker container behind nginx.
- Built with AI coding agents. I use the project to try out Codex, Claude Code, Cursor and Amp on a real codebase.
