Skip to content

imSaikirann/go-pomodoro

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

33 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

go-pomodoro

A fast, distraction-free Pomodoro timer for developers who live in the terminal.

Built for focus. Designed for speed. Open source.

Go Version Downloads License


What is go-pomodoro?

go-pomodoro is a modern terminal-first focus timer that helps developers stay in deep work without leaving the CLI.

Unlike traditional Pomodoro apps, go-pomodoro is:

  • Extremely fast
  • Distraction-free
  • Insight-driven
  • Terminal native
  • Fully open source

It fits naturally into developer workflows.


Demo

$ pomodoro start
⏱  25:00 Focus session started...

Tip: Add a GIF or screenshot here to improve conversions.


Features

Core

  • Terminal-native Pomodoro timer
  • Default 25-minute focus session
  • Custom duration support
  • Deep work mode
  • Session tracking
  • Real-time activity monitor

Intelligence Layer

  • AI productivity coach
  • Smart break suggestions
  • Progress-aware insights
  • Momentum detection

Developer Experience

  • Fast startup time
  • Clean Cobra command structure
  • Lipgloss-powered styling
  • Simple installation
  • Fully open source

Installation

Option 1 — npm (Recommended)

npm install -g go-pomodoro

After installation:

pomodoro start

Option 2 — Go install

Requirements:

  • Go 1.20+
go install github.com/imSaikirann/go-pomodoro/cmd/pomodoro@latest

Enable AI Features (Required for Coach)

To use the AI coach and smart break suggestions, set your Groq API key as an environment variable.

Step 1 — Get your API key

Get your Groq API key from your provider dashboard.


Step 2 — Set the environment variable

macOS / Linux

export GROQ_API_KEY=your_api_key_here

To make it permanent, add it to your shell config:

echo 'export GROQ_API_KEY=your_api_key_here' >> ~/.bashrc
# or ~/.zshrc

Windows (PowerShell)

setx GROQ_API_KEY "your_api_key_here"

Restart the terminal after setting the variable.


Step 3 — Verify

Run:

pomodoro coach

If the key is set correctly, AI insights will appear.


Commands

Start focus session (default 25 minutes)

pomodoro start

Start with custom duration

pomodoro start 15

Deep work mode

pomodoro deep

Activity monitor

pomodoro monitor

View sessions

pomodoro sessions

AI coach

pomodoro coach

Update CLI

pomodoro update

Version

pomodoro version

How the AI Coach Works

The coach analyzes:

  • daily focus time
  • session patterns
  • momentum trends
  • deep work frequency

It then generates contextual insights to help improve consistency.

The system is designed to remain lightweight and fast.


Project Structure

go-pomodoro/
├─ cmd/            # Cobra commands
├─ internal/       # core logic
├─ pkg/            # reusable utilities
├─ main.go
└─ README.md

Philosophy

Most productivity tools fail because they add friction.

go-pomodoro follows three principles:

  1. Stay in the terminal
  2. Reduce cognitive load
  3. Protect deep work

If a feature does not improve focus, it does not ship.


Roadmap

  • Adaptive focus scoring
  • Focus streak tracking
  • Weekly analytics
  • Optional rich TUI mode
  • Cross-device sync (experimental)

Contributing

Contributions are welcome.

Development setup

git clone https://github.com/imSaikirann/go-pomodoro
cd go-pomodoro
go run .

Open Source

go-pomodoro is fully open source under the MIT License.

You are free to use, modify, and distribute it.


License

MIT © imSaikirann

About

A terminal-based Pomodoro timer built with Go for distraction-free focus.

Topics

Resources

License

Contributing

Stars

Watchers

Forks

Packages

 
 
 

Contributors