#clock #date-time #unixporn #terminal

app rsclock

A simple terminal clock written in Rust

9 releases

0.1.11 Jan 13, 2024
0.1.10 Oct 10, 2023
0.1.9 Apr 24, 2023
0.1.7 Mar 28, 2022
0.1.4 Aug 29, 2019

#6 in #clock

29 downloads per month

MIT license

20KB
438 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    Display only time
    -D    Display only date
    -f    Set foreground color [0-255] (Ansi value)
    -b    Set background color [0-255] (Ansi value)
    -u    Use 12-hour format (blocky AM/PM)
    -U    Use 12-hour format (dateline AM/PM)
    -d    Debug mode
    -c    Center the clock
    -v    Show rsClock version
    -h    Display this message
    -o    Print once, then exit

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

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

Use "q" to quit the program.

Installation

Packaging status

Dependencies

~1.5MB
~22K SLoC