pomo

command module
v0.1.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Aug 11, 2025 License: MIT Imports: 2 Imported by: 0

README ยถ

pomo โ€” Terminal Pomodoro Timer

Demo

A simple, customizable Pomodoro timer for your terminal, built with Bubble Tea.

Features

  • ๐Ÿ… Work and break timer sessions
  • ๐Ÿ“Š Real-time progress bar visualization
  • โŒจ๏ธ Keyboard shortcuts to adjust time mid-session
  • ๐Ÿ–ฅ๏ธ Optional full screen or inline mode
  • ๐Ÿ”” Custom commands when timers complete (notifications, etc.)
  • ๐ŸŽจ Clean, minimal terminal UI

Installation

git clone https://github.com/Bahaaio/pomo
cd pomo
go build .

Configuration

pomo looks for its config file in:

  1. ~/.config/pomo/pomo.yaml
  2. Current directory (./pomo.yaml)

Example pomo.yaml:

fullScreen: true

work:
  duration: 25m
  then:
    - notify-send "Work Finished!" "Time to take a break โ˜•"

break:
  duration: 5m
  then:
    - notify-send "Break Over" "Back to work! ๐Ÿ’ช"

The then field contains shell commands that run when the timer finishes.

Usage

# Start a work session (default)
./pomo

# Explicit work session
./pomo work

# Start a break session
./pomo break
Key Bindings
Key Action
โ†‘ / k Increase time by 1 minute
โ†“ / j Decrease time by 1 minute
โ† / h Reset to initial duration
q / Ctrl+C Quit

License

This project is licensed under the MIT License. See the LICENSE file for details.

Documentation ยถ

The Go Gopher

There is no documentation for this package.

Directories ยถ

Path Synopsis
Package cmd provides the command-line interface for the pomo timer.
Package cmd provides the command-line interface for the pomo timer.
Package config loads, stores, and provides default values for work and break tasks.
Package config loads, stores, and provides default values for work and break tasks.
Package ui provides the terminal user interface for pomodoro sessions.
Package ui provides the terminal user interface for pomodoro sessions.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL