bitclk is a terminal clock written in Rust, with clock, stopwatch, and timer modes, plus binary, octal, and hexadecimal displays.
clock,stopwatch,timer- binary / octal / hexadecimal display
- binary views:
dense,matrix,bcd - runtime theme generation via
--theme <HEX> - harmony modes:
complementary,analogous,triadic,split-complementary - optional
--transparentbackground
cargo install bitclkOr run locally:
cargo run -- --helpbitclk
bitclk clock --hex
bitclk stopwatch
bitclk timer 05:00
bitclk --theme "#3b82f6"
bitclk --theme "#3b82f6" --mode triadic timer 25:00
bitclk theme "#3b82f6"Common:
bswitch to binaryoswitch to octalxswitch to hexadecimalscycle binary views:dense/matrix/bcdtabtoggle layout indense/ octal / hexadecimaltcycle preset theme, or cycle harmony mode when launched with--themehtoggle helpqquit
stopwatch:
spacestart / pauserreset
timer:
spacestart / pauserreset to current duration0clearleft/rightsubtract / add 10 secondsup/downadd / subtract 1 minutePgUp/PgDnadd / subtract 10 minutes
Use bitclk theme <HEX> to preview a generated theme without entering the clock UI.
This project references the ideas and parts of the implementation from race604/clock-tui, especially around the terminal clock / timer / stopwatch experience.
cargo fmt
cargo check
cargo test