This is a Pomodoro Timer Command Line Interface (CLI) app implemented in Go. It allows users to set a study time and a break time, and loop through them a specified number of times. The app uses the schollz/progressbar package to display a progress bar during the Pomodoro timer and break.
-
Download and install Go from the official website.
- macOs:
brew install go
- Linux:
rm -rf /usr/local/go && tar -C /usr/local -xzf go1.20.1.linux-amd64.tar.gz
thenrm -rf /usr/local/go && tar -C /usr/local -xzf go1.20.1.linux-amd64.tar.gz
then to verifygo version
- Windows: Just go here ->
https://go.dev/doc/install
- macOs:
-
Clone the repository:
git clone git@github.com:AymanSulaiman/go-pomodoro.git
-
Navigate to the cloned directory:
cd go-pomodoro
-
Run the app:
go run main.go
-
The app will prompt you to enter the duration of the Pomodoro timer and the duration of the break.
-
The app will also prompt you to enter the number of times you want to loop through the Pomodoro timer and break.
-
The app will display a progress bar during the Pomodoro timer and break.
-
After each loop, the app will prompt you to continue or exit.
github.com/schollz/progressbar/v3