#tui #game #typing

bin+lib termitype

Terminal-based typing test inspired by a certain typing test you might know

22 releases

new 0.0.1-alpha.25 Apr 30, 2025
0.0.1-alpha.22 Apr 26, 2025
0.0.1-alpha.13 Mar 26, 2025
0.0.1-alpha.7 Feb 24, 2025

#772 in Command line utilities

Download history 85/week @ 2025-02-14 446/week @ 2025-02-21 151/week @ 2025-02-28 158/week @ 2025-03-07 12/week @ 2025-03-14 383/week @ 2025-03-21 86/week @ 2025-03-28 468/week @ 2025-04-04 50/week @ 2025-04-11 271/week @ 2025-04-18 313/week @ 2025-04-25

1,103 downloads per month

MIT license

425KB
5.5K SLoC

termitype

Just another rusty TUI typing game
Development · Installation

image

Development

Getting Started

  1. Clone the repository:
git clone https://github.com/emanuel2718/termitype.git
cd termitype
  1. Optional: Install theme Pack
# NOTE: This is only required for local development. In production, this is handled automatically by the build process.
./scripts/install-themes.sh
  1. Build and run:
# Normal run
cargo run

# Debug mode
cargo run -- --debug

Installation

cargo install termitype@0.0.1-alpha.25

TODO

  • Locally track stats (results) with sqlite (can be opted-out with termitype --no-track)
  • Release on:
    • crates.io
    • Homebrew
    • AUR
    • nixpkgs

Done

  • Layout cleanup pass
  • Settings persistance
  • Proper Results screen
  • Build Github CI
  • Theme swap at runtime (Menu -> Themes -> )
  • Theme preview in menu
  • Change cursor style via cli
  • Change cursor style at runtime
  • Only show (3) lines with scroll off
  • underline wrong words (must have at least one wrong character for it to be underlined)
  • Add scrolbar to the menu
  • Preview the cusror style change like we do with the theme picker
  • Change language at runtime
  • Add more languages and word lists (good enough for now)
  • Change mode/value with the menu
  • Fetch themes at build time from iterm2Themes url
  • Don't include debug flag in release
  • Add LICENSE

Dependencies

~9–20MB
~310K SLoC