https://github.com/accessd/terminal-sunday
Start each new terminal session with a thought-provoking reminder of the time you have to make the most of your life!
https://github.com/accessd/terminal-sunday
Last synced: 26 days ago
JSON representation
Start each new terminal session with a thought-provoking reminder of the time you have to make the most of your life!
- Host: GitHub
- URL: https://github.com/accessd/terminal-sunday
- Owner: accessd
- Created: 2024-01-03T13:36:27.000Z (over 1 year ago)
- Default Branch: main
- Last Pushed: 2024-08-04T09:54:31.000Z (9 months ago)
- Last Synced: 2025-03-31T18:21:16.667Z (about 1 month ago)
- Language: Ruby
- Homepage:
- Size: 1.34 MB
- Stars: 235
- Watchers: 7
- Forks: 9
- Open Issues: 3
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# 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

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](https://isrubydead.com/)! :)
## 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:
```bash
curl -L https://raw.githubusercontent.com/accessd/terminal-sunday/main/terminal_sunday.sh -o "$HOME/terminal_sunday.sh"
chmod +x "$HOME/terminal_sunday.sh"
```2. Add the script run to the end of .bashrc/.zshrc/etc.
```bash
$HOME/terminal_sunday.sh 1985-06-08 Joe
```Fish:
```fish
bash $HOME/terminal_sunday.sh 1985-06-08 Joe
```Provide your birthdate and name to the script.
You can run it randomly with:
```bash
(( RANDOM%2 == 0 )) && $HOME/terminal_sunday.sh 1985-06-08 Joe
```Or add sleep && clear after the command
```bash
$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:
```bash
$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](https://chromewebstore.google.com/detail/the-last-sunday-reminder/aiojhapcgfgmiacbbjfgedhlcchmpelh?pli=1) chrome extension.
## Contributing
Contributions, ideas, and feedback are welcome. Feel free to fork the repository, make your changes, and create a pull request.