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. Crafted by Anoshor Paul.

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.1.tar.gz (145.5 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.1-py3-none-any.whl (85.0 kB view details)

Uploaded Python 3

File details

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

File metadata

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

File hashes

Hashes for typefaster_cli-0.3.1.tar.gz
Algorithm Hash digest
SHA256 d1b98aa3c2e125f20027ed9e4dd1318231edbabf9946468a0722d85ddeba5dde
MD5 46c05ee02f0fe0502cac358c4fd4751f
BLAKE2b-256 fbe747575c91693b2fe662195fff25b81c8fcc80782f0a5f4bb6fbcec6c70871

See more details on using hashes here.

Provenance

The following attestation bundles were made for typefaster_cli-0.3.1.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.1-py3-none-any.whl.

File metadata

  • Download URL: typefaster_cli-0.3.1-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.12

File hashes

Hashes for typefaster_cli-0.3.1-py3-none-any.whl
Algorithm Hash digest
SHA256 2835a4ac47093592e5228fd0516b8eecdeb51a89716c77bd1cb7f13124771d8d
MD5 d1efaa8f4280b7ec0978a6a2b2a04277
BLAKE2b-256 1e57a334fe7cef79b34807ea9a87b6431eab38a2b18b502ce6ac77b626d3b255

See more details on using hashes here.

Provenance

The following attestation bundles were made for typefaster_cli-0.3.1-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