Skip to content

A pomodoro app made in Go, right in your terminal

Notifications You must be signed in to change notification settings

Natouche68/go-tempo

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

9 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Go Tempo

A pomodoro timer written in Go, right in your terminal.

Go Tempo is written with Bubbletea and Lipgloss.

Installation

There is compiled binaries for Windows and Linux in the releases, but you can also install it using Go :

go install github.com/Natouche68/go-tempo@latest

Usage

To launch go-tempo, run :

go-tempo

Use the space bar to pause and resume the timer. Type r to reset the timer. To quit, simply type q or ctrl+c.

Compiling

When development, you can simply run :

go run .

When you want to build the project, run :

# For Windows :
GOOS=windows go build -o bin/go-tempo.exe main.go

# For Linux :
GOOS=linux go build -o bin/go-tempo main.go

Don't forget to build to the bin directory, so the compiled binaries are not commited to Github.

Publish to pkg.go.dev

Follow these instructions to publish Go Tempo to pkg.go.dev, so others can install it using go install.

go mod tidy

# After publishing the code to Github, and after creating a new release :
GOPROXY=proxy.golang.org go list -m github.com/Natouche68/go-tempo@version

Replace version in the last command with the version you want to publish.