Skip to content
プロジェクト

accessd/terminal-sunday

GitHubで見る

概要

Start each new terminal session with a thought-provoking reminder of the time you have to make the most of your life!

開発ツール

この数値の測り方

計測したスター増加

24時間
0
7日間
0
15日間
0
1か月
履歴を収集中

期間ごとの純増数です。期間は重複しており、日別の値ではありません。未計測の値は空欄です。スター数は注目度の指標であり、品質の保証ではありません。

The Terminal Sunday

"Remembering that I'll be dead soon is the most important tool I've ever encountered to help me make the big choices in life." - Steve Jobs

ScreenShot

The idea is to provide a graphical and thought-provoking view of one's life span, promoting a reflection on how we spend our time.

Ruby version

Made initially with Bash, I wrote another version with Ruby language because I love Ruby and to show Ruby is not dead! :)

Installation

The script should work on macOS and Linux (The bash script may also work with MINGW). To use this script, follow the steps below:

  1. Download script or clone repository and make sure the script is executable:
curl -L https://raw.githubusercontent.com/accessd/terminal-sunday/main/terminal_sunday.sh -o "$HOME/terminal_sunday.sh"
chmod +x "$HOME/terminal_sunday.sh"
  1. Add the script run to the end of .bashrc/.zshrc/etc.
$HOME/terminal_sunday.sh 1985-06-08 Joe

Fish:

bash $HOME/terminal_sunday.sh 1985-06-08 Joe

Provide your birthdate and name to the script.

You can run it randomly with:

(( RANDOM%2 == 0 )) && $HOME/terminal_sunday.sh 1985-06-08 Joe

Or add sleep && clear after the command

$HOME/terminal_sunday.sh 1985-06-08 Joe;sleep 1;clear

to clear the screen after one second.

You can specify the number of columns by:

$HOME/terminal_sunday.sh 1985-06-08 Joe 10

the main thing is that 80 is divisible without a remainder by this number of columns :)

Credits

Inspired by The Last Sunday chrome extension.

Contributing

Contributions, ideas, and feedback are welcome. Feel free to fork the repository, make your changes, and create a pull request.

関連プロジェクトを探す

読み込み中…