Skip to main content

⌨ TYPEFASTER

CI PyPI Python License: MIT

A terminal-first typing game inspired by MonkeyType and TypeRacer — race quotes, beat your ghost, climb leaderboards, and play live multiplayer with friends. Pure TUI, no browser, no GUI.

brew install Anoshor/typefaster/typefaster   # or: pipx install typefaster-cli
typefaster

Install

Homebrew (macOS / Linux)

brew install Anoshor/typefaster/typefaster
# or tap once, then use the short name:
brew tap anoshor/typefaster && brew install typefaster

pipx (any OS with Python 3.11+) — fastest install

pipx install typefaster-cli

Verify: typefaster version · Upgrade: brew upgrade typefaster or pipx upgrade typefaster-cli

Play (offline — no account, no internet)

Just run it:

typefaster

Keyboard-only menu:

  • Quick Race — a fresh random quote each time; race your personal-best ghost.
  • Time Attack — type for 30 / 60 / 120s (←/→ to change the duration inline).
  • Practice — pick a mode/ghost.
  • Daily Challenge — same quote for everyone each day, local leaderboard.
  • 🎯 Typing Coach — see the keys you miss most, a per-key accuracy heatmap, and finger-position tips; press d to launch a drill weighted toward your weak keys. All computed locally — no account, no internet, no AI service.
  • Stats / History / Profile / Leaderboard / Settings.

Practice modes (MonkeyType-style): in Settings, toggle Lowercase only or Words only (pure a–z, no punctuation or numbers) to strip the text down.

Live WPM, accuracy, progress, and an animated ghost bar. Backspace corrects mistakes (original errors still count, MonkeyType-style). All progress is saved locally in SQLite.

Direct commands too:

typefaster race                      # quote race
typefaster race --mode time --time 60
typefaster daily
typefaster stats   |   typefaster history

Play online (multiplayer lobbies)

It works out of the box against the public server — no setup. From the main menu pick Account to register/login, then Play Online:

Account      → Register / Login (password, GitHub, or Google)
Play Online  → ➕ Create a lobby  → share the join code
             → or type a friend's code + Enter to join

In the waiting room press R to ready; the server runs the countdown, sends everyone the same quote, shows live progress bars, and scores results authoritatively (with anti-cheat). Esc leaves.

Prefer the CLI?

typefaster register <name>      # or: typefaster login --github / --google
typefaster lobby create --name "Friday" --time 60
typefaster lobby join ABC123
typefaster leaderboard global   # global | daily | weekly

Self-host the server (optional)

The game ships pointing at a public server, but you can run your own:

git clone https://github.com/Anoshor/typefaster-cli && cd typefaster-cli
cp .env.example .env            # set TYPEFASTER_JWT_SECRET
make up                         # Redis + FastAPI server on :8000 (Docker)
typefaster config set-server http://localhost:8000

Deploy guides: docs/deploy-oracle.md (free 24/7 VM) · docs/deploy-fly.md · TLS + hardening in docs/SECURITY-REVIEW.md.

How it works

  • Client: Python · Typer (CLI) · Textual + Rich (TUI) · SQLite (local progress) · httpx + websockets (online).
  • Server: FastAPI · WebSockets · Redis · Pydantic — server-authoritative race timing and scoring.
  • Deep dive: docs/DEEPDIVE.md · architecture: docs/architecture.md.

Develop

make install     # editable install + dev deps
make play        # run it
make check       # ruff + mypy + pytest  (CI parity)

Contributions welcome! main is protected — fork, branch, and open a PR; CI must pass and a maintainer review is required before merge. Full guide: CONTRIBUTING.md.

License

MIT — see LICENSE.

Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

typefaster_cli-0.3.3.tar.gz (145.6 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

typefaster_cli-0.3.3-py3-none-any.whl (85.0 kB view details)

Uploaded Python 3

File details

Details for the file typefaster_cli-0.3.3.tar.gz.

File metadata

  • Download URL: typefaster_cli-0.3.3.tar.gz
  • Upload date:
  • Size: 145.6 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.13.14

File hashes

Hashes for typefaster_cli-0.3.3.tar.gz
Algorithm Hash digest
SHA256 47bf3ef92e8792f235d06581a64dc1b496083a7eb2c646ac30e562b771cf8bbf
MD5 738b989b286e8ec2960d25d225e5d447
BLAKE2b-256 7362e8afed8ae68df981056019476d872de9c040a05df80c29bd7a7ac3d55477

See more details on using hashes here.

Provenance

The following attestation bundles were made for typefaster_cli-0.3.3.tar.gz:

Publisher: release.yml on Anoshor/typefaster-cli

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file typefaster_cli-0.3.3-py3-none-any.whl.

File metadata

  • Download URL: typefaster_cli-0.3.3-py3-none-any.whl
  • Upload date:
  • Size: 85.0 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.13.14

File hashes

Hashes for typefaster_cli-0.3.3-py3-none-any.whl
Algorithm Hash digest
SHA256 ee719f876974f55f725d076bdf9e35f25982e506c76cfe27d6aff605b9da5997
MD5 27c603449406f35565a67f7a428e1efe
BLAKE2b-256 679d6cb5847a69339c75227eaf171a07065f3ee39150acd24a33a4d481bc5bd1

See more details on using hashes here.

Provenance

The following attestation bundles were made for typefaster_cli-0.3.3-py3-none-any.whl:

Publisher: release.yml on Anoshor/typefaster-cli

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page