GitType is a Rust CLI typing game that turns source code from real repositories
into typing challenges. It parses code with tree-sitter, renders a terminal UI,
tracks real-time WPM/accuracy/consistency metrics, and unlocks developer titles
through a ranking system. Multi-language support includes Rust, TypeScript,
JavaScript, Python, Go, Ruby, Swift, Kotlin, Java, PHP, C#, C, C++, Haskell,
Dart, Scala, Clojure, Elixir, Erlang, and Zig.
README
Turn your own source code into typing challenges.
Show your AI who's boss โ just you, your keyboard, and your coding sins.
If you have Nix installed, you can run GitType directly:
# Stable version (recommended)
nix run github:unhappychoice/gittype
# Development version (latest from main branch)
nix run github:unhappychoice/gittype#unstable
Binary Downloads
Get pre-compiled binaries for your platform from our releases page.
Available platforms:
x86_64-apple-darwin (Intel Mac)
aarch64-apple-darwin (Apple Silicon Mac)
x86_64-unknown-linux-gnu (Linux x64)
aarch64-unknown-linux-gnu (Linux ARM64)
x86_64-pc-windows-msvc (Windows)
Quick Start ๐
# cd into your messy codebase
cd ~/that-project-you-never-finished
# Start typing your own spaghetti code (uses current directory by default)
gittype
# Or specify a specific repository path
gittype /path/to/another/repo
# Clone and play with any GitHub repository
gittype --repo clap-rs/clap
gittype --repo https://github.com/ratatui-org/ratatui
gittype --repo git@github.com:dtolnay/anyhow.git
# Discover and practice with trending GitHub repositories
gittype trending # Browse trending repos interactively
gittype trending rust # Filter by language (Rust)
# Play with cached repositories interactively
gittype repo play
Why GitType? ๐ค
Look busy at work โ "I'm studying the codebase" (technically true!)
Beat the AI overlords โ Type faster than ChatGPT can generate
Stop typing boring stuff โ Your own bugs are way more interesting than lorem ipsum
Discover forgotten treasures โ That elegant function you wrote at 3am last year
Procrastinate like a pro โ It's code review, but gamified!
Embrace your legacy code โ Finally face those variable names you're not proud of
Debug your typing skills โ Because pubic static void main isn't a typo anymore
Therapeutic code reliving โ Type through your programming journey, tears included
Climb the dev ladder โ From "Code Monkey" to "Quantum Computer" - each rank comes with fancy ASCII art
"Basically, you need an excuse to avoid real work, and this one's pretty good."