Skip to content

feat: port LitClock to a Go terminal interface - #1

Merged
junoh-moon merged 1 commit into
masterfrom
feat/go-tui-port
Jul 17, 2026
Merged

feat: port LitClock to a Go terminal interface#1
junoh-moon merged 1 commit into
masterfrom
feat/go-tui-port

Conversation

@junoh-moon

Copy link
Copy Markdown
Owner

What changed

  • replace the Raspberry Pi, Python, web, and e-paper stack with a focused Go TUI
  • embed the 4,809-row literary quote corpus into the compiled binary
  • separate quote policy, corpus loading, layout, and Bubble Tea presentation
  • preserve minute-based selection, exact time-expression emphasis, mature-content filtering, responsive layout, and minute-boundary refresh
  • add --once, --allow-nsfw, --safe-only, deterministic seeds, CI, and focused tests

Why

This fork is intended to be a clean terminal-native LitClock rather than a hardware appliance. Keeping the domain and layout rules independent from Bubble Tea makes the port easier to test, maintain, and reuse.

User impact

Run the clock with go run ./cmd/litclock. The compiled binary is self-contained because the quote corpus is embedded.

Validation

  • go test -race ./...
  • go vet ./...
  • go build ./cmd/litclock
  • gofmt clean
  • workflow and Dependabot YAML parsed with yq
  • interactive terminal smoke test for q, r, s, alternate-screen teardown, and responsive rendering

기존 Raspberry Pi와 Python 전용 스택을 제거하고 인용문 corpus를
바이너리에 포함하는 Go TUI로 전환합니다. 선택 정책과 시간 강조
로직을 UI에서 분리해 테스트 가능하게 유지하고, 매분 갱신과
NSFW 전환, 반응형 레이아웃, 단일 프레임 출력을 제공합니다.

Co-Authored-By: Claude <noreply@anthropic.com>
@junoh-moon
junoh-moon marked this pull request as ready for review July 17, 2026 09:50
@junoh-moon
junoh-moon merged commit 2145d08 into master Jul 17, 2026
2 checks passed
@junoh-moon
junoh-moon deleted the feat/go-tui-port branch July 17, 2026 09:50
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant