A GoTomato TUI client written in Go
Find a file
2024-10-27 22:33:36 +01:00
cmd/client break: configure via file OR cli parameters 2024-10-27 22:33:36 +01:00
internal fix: use websocket constant to check IsCloseError 2024-10-27 22:33:36 +01:00
pkg/models feat: refactor shared.Message to a channel 2024-10-27 22:33:30 +01:00
.gitignore Genesis 2024-10-23 17:43:44 +02:00
.renovaterc.json chore: add .renovaterc.json 2024-10-24 07:27:39 +02:00
ChronoTomato.go feat: update module path 2024-10-23 21:21:23 +02:00
go.mod fix: pin module git.smsvc.net/pomodoro/gotomato to v0.0.3 2024-10-26 09:27:10 +02:00
go.sum fix: pin module git.smsvc.net/pomodoro/gotomato to v0.0.3 2024-10-26 09:27:10 +02:00
README.md feat: update module path 2024-10-23 21:21:23 +02:00

ChronoTomato

A GoTomato command line client written in Go

Installation

go install git.smsvc.net/pomodoro/ChronoTomato@latest

Configuration

ChronoTomato can be configured via CLI parameters or a config file.

The configuration is loaded from ~/config/ChronoTomato.yml, here is an example:

url: ws://localhost:8080/ws
password: ""
config:
  work: 1500
  shortbreak: 300
  longbreak: 600
  sessions: 4

The url must be passed either via parameter or config file.
The password and the config are optional, the later can only be set via the configuration file.