A rainy clock in your terminal.

Overview

era

v0.1.0 A rainy clock in your terminal, written with Deno.

sample gif

Installation

  • git clone this repo and compile it.
git clone https://github.com/kyoheiu/era
cd era
make install
  • Or, you can use binary from the release page.

Usage

./era

creates config.json in your $XDG_CONFIG_HOME/era/ automatically and you have a rainy clock.

NOTE: era assumes the value is ~/.config if $XDG_CONFIG_HOME isn't defined as an environment variable.

Or,

./era -c

starts counter like this.

count_sample

To exit, press any key.

Customization

config.json looks like this:

{"interval":100,"frequency":40,"rain1":"│","rain2":" ","timecolor":"#eeeeee","raincolor":"#e0b0ff"}

interval means how often the screen is updated (a.k.a how fast it rains). The bigger this number, The slower it rains. The larger frequency, the fewer the raindrops. rain1 and rain2 are characters representing raindrops. By default rain2 is just a whitespace, so raindrops are represented by rain1 (|) only. Of course you can change the shape of raindrops!

You might also like...

Console log to terminal

Termlog Console log to terminal What it does termlog send the browser console log to your terminal It also comes with a nodejs REPL so you can do some

Jan 21, 2022

Mixed Messages is a simple Node.js application, that will print a randomized fake fact to the terminal each time it is ran.

Mixed Messages - Fake Fact Generator Mixed Messages is a simple Node.js application, That will print a randomized fake fact to the terminal each time

Jan 10, 2022

📺 useless little service to view websites as ascii in the terminal

📺 useless little service to view websites as ascii in the terminal

browscii useless little service to view websites as ascii screenshot in the terminal Usage curl the service and add the site you want to see as url qu

Aug 26, 2022

Render readable & responsive tables in the terminal

terminal-columns Readable tables for the terminal. Tables can be automatically responsive! Features Content wrapped to fit column width Column widths

Oct 28, 2022

Peer-to-peer terminal chat based on DStack

peerchat Peer-to-peer terminal chat based on DStack Recording looks ugly, but in terminal it seems to be fine peerchat Usage Commands Usage $ npm inst

Aug 17, 2022

A simple cmatrix-like terminal decoration written in JavaScript that supports window resizing.

A simple cmatrix-like terminal decoration written in JavaScript that supports window resizing.

jsmatrix A simple cmatrix-like terminal decoration written in JavaScript that supports window resizing. Getting Started Dependencies NodeJS Any termin

Mar 27, 2022

Cross platform terminal app from Visual Studio Code.

Cross platform terminal app from Visual Studio Code.

CodeTerminal Standalone terminal from Visual Studio Code. Installation macOS Highly recommanded to install with homebrew. brew tap xcodebuild/custom b

Dec 21, 2022

Making webshell and terminal supports trzsz ( trz / tsz ), which similar to rz / sz, and compatible with tmux.

Making webshell and terminal supports trzsz ( trz / tsz ), which similar to rz / sz, and compatible with tmux.

trzsz.js Making webshell and terminal supports trzsz ( trz / tsz ), which similar to ( rz / sz ), and compatible with tmux. Why? Considering laptop -

Jan 3, 2023

A Kubernates Cloud-Shell (Web Terminal) Operator

 A Kubernates Cloud-Shell (Web Terminal) Operator

A Kubernates Cloud-Shell (Web Terminal) Operator. English | Simplified_Chinese Why cloudtty ? Existing project ttyd already provides great feature to

Dec 27, 2022
Comments
  • Add a winch handler

    Add a winch handler

    This patch adds a signal handler for the winch. Now, era can redraw contents of a timer and raindrops if the terminal window size is changed.

    This movie is a demonstration of such a situation.

    https://user-images.githubusercontent.com/12132068/162604510-31213502-e423-45f8-ac04-90377694f3fc.mp4

    I'm new to JS/TS, so maybe there are some odd codes. Could you please review them? Thank you.

    opened by a5ob7r 7
  • Fix looking up 'XDG_CONFIG_HOME' envvar

    Fix looking up 'XDG_CONFIG_HOME' envvar

    README says that 'era' lookups "$XDG_CONFIG_HOME" as a configuration directory, but it used to just lookup "$HOME/.config". I guess this doesn't make sense. So 'era' first lookups "$XDG_CONFIG_HOME", and if not found the variable, 'era' assumes the value is ~/.config/era now. This behavior probably is familiar in CLI application configurations.

    And this patch fixes misc trivial stuffs.

    Thank you for your cool CLI application.

    opened by a5ob7r 1
Owner
Kyohei Uto
Kyohei Uto
A tiny clock and date, period, or duration math library < 2k (minified/gzipped)

timewave v0.1.4 A tiny time simulation and date/time math library < 3k (minified/gzipped) const clock = Clock(new Date(2022,1,1),{tz:'America/New_York

Simon Y. Blackwell 46 Dec 18, 2022
A jQuery Plug-in to select the time with a clock inspired by the Android time picker.

Clock Timepicker Plugin for jQuery See a demo here A free jQuery Plug-in to select the time with a clock inspired by the Android time picker. This plu

Andy 51 Dec 22, 2022
JQuery Speaking Clock Plugin

jsRapClock JQuery Speaking Clock Plugin More information about this can be found in this article. Demo https://thibor.github.io/jsRapClock/ Properties

null 3 Feb 27, 2022
Manage and monitorize your notification using only your terminal :3

Notifications Monitor Monitor your notifications and get a temporary list of the notifications. Dependencies Node.js (to run the program; by default,

Gabriel Guerra 3 Apr 12, 2022
Jaxit is an easy-to-use library that makes an interactive terminal for your programs.

Jaxit Jaxit is an easy-to-use library that makes an interactive terminal for your programs. Jaxit was made by Codeverse, so check on Codeverse's Profi

null 3 Dec 11, 2022
A CLI to stream movies, TV shows etc. from your terminal, for free.

Streaminal A CLI to stream movies, TV shows etc. from your terminal, for free. Installation Install streaminal globally with npm npm install -g stream

null 13 Aug 30, 2022
📸 A command-line tool to generate code images of your local code right away from the terminal

?? rayli ?? A command-line tool to generate code images of your local code right away from the terminal Usage Commands Usage $ npm install -g rayli $

buidler's hub 45 Nov 4, 2022
Simple terminal for your browser's homepage

Web Terminal Simple terminal for your browser's homepage. Why bother? Why would you bother to use a project like this? Well, this project allow you to

X-Legendary 5 Nov 30, 2022
CLI tool for printing anime quotes in your terminal.

aniquote Why? While i was browsing Unixporn looking to steal someone's dotfiles (im too lazy to rice myself) i saw some anime-related rices and though

kugi 14 Dec 22, 2022
🥰 Mini world simulator is a terminal application made in JavaScript to control the world that is being generated.

Mini-world "Simulator" Mini world simulator is a terminal application made in JavaScript to control the world that is being generated. It has no other

Adrián 2 Mar 14, 2022