aldernero / glitch-clock

A glitchy clock for the terminal

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

glitch-clock

A glitchy clock for the terminal

glitch

Why do I need another clock?

Good point. You probably don't. I bet if you look around you right now there are 3-4 clocks in your field of view. I don't need another normal clock either.

However, I spend a lot of time looking at dashboards and logs that use UTC time for timestamps. I could subtract 6 or 7 hours depending on the time of year to correlate to my local time, but that's too much mathing. I wanted a clock that runs in a terminal window and just shows me the UTC time and date. That what glitch-clock does. It can also show local if you need yet another clock.

Installation

Download one of the binaries in the Releases section, or

go install github.com/aldernero/glitch-clock@latest

Usage

There are just a few command line options:

Usage of glitch-clock:
  -local-time
        Use local time instead of UTC
  -sep string
        Date separator ('-' or '/', '-' by default) (default "-")
  -show-date
        Show date (default true)

To exit glitch-clock, just hit Ctrl-C or Esc.

About

A glitchy clock for the terminal

License:MIT License


Languages

Language:Go 100.0%