"This Week in Past" is a command-line tool that generates a report of what happened on this week in the past. In this tutorial, we will go through the steps to install "This Week in Past" on macOS using the Terminal.
Before we begin, make sure your macOS system has the following requirements:
Go is required to run the application, so you need to install it first. You can download and install Go by visiting the official website https://golang.org/dl/.
Alternatively, you can install it using Homebrew by running the following command on the Terminal:
brew install go
Next, clone the "This Week in Past" repository to your local machine by running the following command in the Terminal:
git clone https://github.com/RouHim/this-week-in-past.git
Navigate to the cloned repository folder and build the binary using the following command:
cd this-week-in-past
go build twip.go
This will create a binary file for "This Week in Past" in the same directory.
To use "This Week in Past" command anywhere in the Terminal, add the binary to the PATH environment variable by running the following commands:
mkdir ~/bin
mv twip ~/bin
echo 'export PATH="$PATH:$HOME/bin"' >> ~/.bashrc
source ~/.bashrc
Now that the installation process is complete, you can use "This Week in Past" by running the following command in the Terminal:
twip
This will generate a report of what happened on this week in the past.
In this tutorial, we went through the steps to install "This Week in Past" on macOS using the Terminal. You can now enjoy using this command-line tool to generate reports of what happened on this week in the past.
If you want to self-host in an easy, hands free way, need an external IP address, or simply want your data in your own hands, give IPv6.rs a try!
Alternatively, for the best virtual desktop, try Shells!