Socket
Book a DemoInstallSign in
Socket

github.com/cod-e-codes/tea-timer

Package Overview
Dependencies
Alerts
File Explorer
Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

github.com/cod-e-codes/tea-timer

v1.0.0
Source
Go
Version published
Created
Source

Tea Timer

A minimalist terminal-based countdown timer built with Go and Bubble Tea. Perfect for timing tea steeping, meditation sessions, or any quick countdown needs.

Features

  • Clean Interface: Beautiful terminal UI with colored text and smooth animations
  • Visual Feedback: Spinning animation during countdown, flashing alert when time expires
  • Simple Controls: Start, pause, reset, and quit with single key presses
  • Flexible Duration: Set custom countdown time via command line argument
  • Cross-Platform: Works on Windows, macOS, and Linux

Usage

# Run with default 60-second timer
go run main.go

# Run with custom duration (in seconds)
go run main.go 120

# Build and run the executable
go build
./tea-timer 300

Controls

  • s or space - Start/pause timer
  • r - Reset timer to initial duration
  • q, ctrl+c, or esc - Quit the application

When the timer finishes, the display will flash to alert you. Press s or space to restart the timer.

Requirements

  • Go 1.24 or later
  • Terminal with color support

Installation

  • Clone the repository
  • Run go mod tidy to install dependencies
  • Build with go build or run directly with go run main.go

Dependencies

  • Bubble Tea - Terminal UI framework
  • Bubbles - UI components
  • Lip Gloss - Terminal styling

FAQs

Package last updated on 03 Aug 2025

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

About

Packages

Stay in touch

Get open source security insights delivered straight into your inbox.

  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc

U.S. Patent No. 12,346,443 & 12,314,394. Other pending.