#clock #terminal #unixporn

app rsclock

A simple terminal clock written in Rust

7 releases

0.1.9 Apr 24, 2023
0.1.7 Mar 28, 2022
0.1.6 Aug 4, 2021
0.1.4 Aug 29, 2019

#2 in #clock

35 downloads per month

MIT license

20KB
429 lines

Logo

Rust License: MIT

Screenshot

Introduction

rsClock is a simple terminal clock.

Now this project is active again. I'll add new features in the future.

Build

From Crates.io :

unix@weeb:~$ cargo install rsclock

From GitHub :

unix@weeb:~$ git clone https://github.com/valebes/rsClock
unix@weeb:~$ cd rsClock
unix@weeb:~$ cargo build --release
unix@weeb:~$ ./target/release/rsclock

Usage

unix@weeb:~$ usage : rsclock
    -s    Set custom symbol
    -S    Display seconds
    -t    Use 12-hour format
    -T    Display only time
    -D    Display only date
    -f    Set foreground color [0-255] (Ansi value)
    -b    Set background color [0-255] (Ansi value)
    -d    Debug mode
    -c    Center the clock
    -v    Show rsClock version
    -h    Display this message

Use "+" and "-" to change foreground color.

Use "." and "," to change background color.

Use "q" to quit the program.

To-Do

  • Complete code refactoring (working on it)
  • Colors support
  • Alarms
  • Config file
  • Themes support
  • Documentation

Work in progress

Dependencies

~1MB
~20K SLoC