Skip to content
This repository has been archived by the owner on Nov 23, 2023. It is now read-only.
/ timeleft Public archive

⏳ Display the time left of the day as a progress bar.

License

Notifications You must be signed in to change notification settings

betapictoris/timeleft

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

32 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Time Left Go

Display the time left of the day as a progress bar.

Warning

Time Left is considered to be complete and archived.

timeleft

Installation

From release

curl -LO https://github.com/BetaPictoris/timeleft/releases/latest/download/timeleft    # Download the latest binary.
sudo install -Dt /usr/local/bin -m 755 timeleft                                        # Install Time Left to "/usr/local/bin" with the mode "755"

Using Goblin

curl -sf https://goblin.reaper.im/github.com/BetaPictoris/timeleft/src | OUT=timeleft sh

Build from source

Dependencies

You need Go (1.17+) installed to build this program. You can install it from your distro's repository using one of the following commands:

# Arch/Manjaro (and derivatives)
sudo pacman -Syu go

# Debian/Ubuntu (and derivatives)
sudo apt install golang-go

Alternatively, you can install it from Go's official website.

Then, to build & install wiki run:

git clone git@github.com:BetaPictoris/timeleft.git      # Clone the repository
cd timeleft                                             # Change into the repository's directory
bash build.sh                                           # Build Time Left
sudo install -Dt /usr/local/bin -m 755 timeleft         # Install Time Left to "/usr/local/bin" with the mode "755"

User install

If you don't have access to sudo on your system you can install to your user's ~/.local/bin directory with this command:

install -Dt ~/.local/bin -m 755 timeleft

wiki