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 <nxjoseph@protonmail.com> (new maintainer)
This commit is contained in:
Yusuf Yaman 2025-06-22 23:20:21 +03:00 committed by Hiroki Tagato
parent 8b9fe9588f
commit e557bd0b33
4 changed files with 37 additions and 0 deletions

View File

@ -1008,6 +1008,7 @@
SUBDIR += twind
SUBDIR += tycho
SUBDIR += typespeed
SUBDIR += typtea
SUBDIR += tyrian-data
SUBDIR += ufoai
SUBDIR += ufoai-data

21
games/typtea/Makefile Normal file
View File

@ -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 <bsd.port.mk>

5
games/typtea/distinfo Normal file
View File

@ -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

10
games/typtea/pkg-descr Normal file
View File

@ -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