4 stable releases

Uses new Rust 2021

new 1.1.2 Nov 30, 2021
1.1.1 Nov 26, 2021
0.1.1 Aug 13, 2021
0.1.0 Feb 2, 2020

#52 in Unix APIs

Download history 14/week @ 2021-08-09 8/week @ 2021-08-16 1/week @ 2021-09-06 1/week @ 2021-09-13 2/week @ 2021-09-27 1/week @ 2021-10-04 2/week @ 2021-10-11 1/week @ 2021-10-18 2/week @ 2021-10-25 3/week @ 2021-11-01 6/week @ 2021-11-08 10/week @ 2021-11-15 58/week @ 2021-11-22

77 downloads per month

GPL-3.0-or-later

1MB
3.5K SLoC

kitkat clock in Rust

This is the plan9 cat clock utility rewritten in rust with minifb crate.

Confirmed working in Linux and Windows.

$ 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)
      --borderless
      --resize
      --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

Demo

demo

demo

demo

demo

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

demo

demo

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

References

Dependencies

~0.3–4MB
~79K SLoC