clocky
clocky is a simple CLI clock written in Go. clocky is a project inspired by tty-clock.
Installation
Binary
There are a couple of binaries for mac (arm64) and linux. Head over to Releases to download them.
Macos
After you install the binary (clockym) for macos, make sure to rename it to "clocky" and put it into your $GOPATH/bin directory
Go
go install github.com/leanghok120/clocky/cmd/clocky@latest
From source:
git clone https://github.com/leanghok120/clocky.git
cd clocky/cmd/clocky/
go build
go install
Usage
Help
clocky -h
By default clocky uses 24 hour format
clocky
You can also use 12 hour format
clocky -f 12
Contributing
Contributions are welcome! If you have any ideas or improvements, feel free to open an issue or submit a pull request.
Acknowledgements
- Thanks to figlet4go for providing ASCII art rendering functionality.