From e557bd0b33932b98b3d132f6c38b6f78f158d2fb Mon Sep 17 00:00:00 2001 From: Yusuf Yaman Date: Sun, 22 Jun 2025 23:20:21 +0300 Subject: [PATCH] games/typtea: new port: Minimal terminal-based typing speed test Minimal terminal-based typing speed test with support for dozens of programming languages. Features: - Terminal-based typing with WPM and accuracy tracking - Multi-language support including English and 30+ programming languages - Infinite word generation with smooth 3-line scrolling display - Minimalist TUI built with Bubble Tea and Lipgloss - Embedded language data for easy distribution - Accurate metrics following standard typing test calculations WWW: https://github.com/ashish0kumar/typtea PR: 287725 Reported by: Yusuf Yaman (new maintainer) --- games/Makefile | 1 + games/typtea/Makefile | 21 +++++++++++++++++++++ games/typtea/distinfo | 5 +++++ games/typtea/pkg-descr | 10 ++++++++++ 4 files changed, 37 insertions(+) create mode 100644 games/typtea/Makefile create mode 100644 games/typtea/distinfo create mode 100644 games/typtea/pkg-descr diff --git a/games/Makefile b/games/Makefile index 60ad4a6c2b36..ce79f2a29fe2 100644 --- a/games/Makefile +++ b/games/Makefile @@ -1008,6 +1008,7 @@ SUBDIR += twind SUBDIR += tycho SUBDIR += typespeed + SUBDIR += typtea SUBDIR += tyrian-data SUBDIR += ufoai SUBDIR += ufoai-data diff --git a/games/typtea/Makefile b/games/typtea/Makefile new file mode 100644 index 000000000000..afe92671b2d4 --- /dev/null +++ b/games/typtea/Makefile @@ -0,0 +1,21 @@ +PORTNAME= typtea +DISTVERSIONPREFIX= v +DISTVERSION= 0.1.4 +CATEGORIES= games + +MAINTAINER= nxjoseph@protonmail.com +COMMENT= Minimal terminal-based typing speed test +WWW= https://github.com/ashish0kumar/typtea + +LICENSE= MIT +LICENSE_FILE= ${WRKSRC}/LICENSE + +USES= go:1.23,modules + +GO_MODULE= github.com/ashish0kumar/typtea + +GO_BUILDFLAGS+= -ldflags="-s -w -X github.com/ashish0kumar/typtea/cmd.version=${DISTVERSIONFULL}" + +PLIST_FILES= bin/typtea + +.include diff --git a/games/typtea/distinfo b/games/typtea/distinfo new file mode 100644 index 000000000000..3809aa084f08 --- /dev/null +++ b/games/typtea/distinfo @@ -0,0 +1,5 @@ +TIMESTAMP = 1750623293 +SHA256 (go/games_typtea/typtea-v0.1.4/v0.1.4.mod) = 6154ff747f01685820d152913b88a3b69f4ac690bdadea502cc5a92801a8657b +SIZE (go/games_typtea/typtea-v0.1.4/v0.1.4.mod) = 1309 +SHA256 (go/games_typtea/typtea-v0.1.4/v0.1.4.zip) = 0d00138dd38ab15507caa1f2b29230c875b0f6eda2b23646f47355fe5c6c9c2e +SIZE (go/games_typtea/typtea-v0.1.4/v0.1.4.zip) = 957723 diff --git a/games/typtea/pkg-descr b/games/typtea/pkg-descr new file mode 100644 index 000000000000..809cf91acb7a --- /dev/null +++ b/games/typtea/pkg-descr @@ -0,0 +1,10 @@ +Minimal terminal-based typing speed test with +support for dozens of programming languages. + +Features: +- Terminal-based typing with WPM and accuracy tracking +- Multi-language support including English and 30+ programming languages +- Infinite word generation with smooth 3-line scrolling display +- Minimalist TUI built with Bubble Tea and Lipgloss +- Embedded language data for easy distribution +- Accurate metrics following standard typing test calculations