kitkat from scratch

The now iconic catclock from plan9 implemented from scratch in Rust. The only dependency is a raw framebuffer window drawing library, minifb. Install with

cargo install kitkat

The source of plan9’s catclock is located here

$ kitkat --help
Usage: kitkat [--hook|--crazy|--offset OFFSET|--borderless|--resize|--sunmoon|--moon|--date]

Displays a kit kat clock with the system time, or the system time with given offset if the --offset
argument is provided.

      --hook                 show a hooked tail instead of the default drop shaped one
      --crazy                go faster for each time this argument is invoked
      --offset OFFSET        add OFFSET to current system time (only the first given
                             offset will be used)
      --sunmoon              show sun or moon phase depending on the hour
      --moon                 show only moon phase
      --date                 show month date
      --dog                  show an italian greyhound named Gaius Octavius Maximus instead of a cat

      OFFSET format is [+-]{0,1}\d\d:\d\d, e.g: 02:00 or -03:45 or +00:00

Default drop shaped tail. Hooked tail with --hook. Resizable window with --resize. Dog instead of cat with --dog.

Showing current date and sun/moon phase status. Showing just moon phase status.

return to index