Skip to content

ckaznable/tenki

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Tenki

tty-clock with weather effect written by Rust and powerd by ratatui

demo

Installation

Install from Cargo

cargo install --git https://github.com/ckaznable/tenki.git

Install from Source Code

tenki is written in Rust, so you'll need to grab a Rust installation in order to compile it.

git clone https://github.com/ckaznable/tenki
cd tenki
make build
make install

If you want to uninstall

make uninsall

Install from the AUR

If you are using Arch Linux, you can install tenki using an AUR helper. For example:

paru -S tenki

Usage

Usage: tenki [OPTIONS]

Options:
      --mode <MODE>                [default: rain] [possible values: rain, snow, meteor, disable]
      --timer-mode <TIMER_MODE>    [possible values: dvd]
      --timer-color <TIMER_COLOR>  color of the effect. [red, green, blue] [default: white]
  -f, --fps <FPS>                  frame per second [default: 60]
  -t, --tps <TPS>                  tick per second [default: 60]
  -l, --level <LEVEL>              effect level, The lower, the stronger [4-1000]
      --wind <WIND>                wind mode. [random, disable, only-right, only-left, right, left] [default: random]
      --show-fps                   show fps at right-top in screen
      --blink-colon                blinking colon of timer
  -h, --help                       Print help
  -V, --version                    Print version

Roadmap

  • CLI options
  • customizable

LICENSE

MIT