"This Week in Past" is a command-line tool that generates a summary of historical events that happened during the current week in the past. In this tutorial, we will guide you on how to install this tool on Elementary OS Latest.
Open the Terminal application by pressing Ctrl + Alt + T
or by searching for it in the Applications menu.
Update the package repositories and upgrade the existing packages by running the following command:
sudo apt update && sudo apt upgrade -y
Install the necessary dependencies by running the following command:
sudo apt install -y git python3-pip
Clone the "This Week in Past" repository from GitHub by running the following command:
git clone https://github.com/RouHim/this-week-in-past.git
Change the directory to the "this-week-in-past" folder by running the following command:
cd this-week-in-past
Install the required Python packages by running the following command:
sudo pip3 install -r requirements.txt
Test the installation by running the following command:
python3 twip.py
This should generate a summary of historical events that happened during the current week in the past.
You can now use "This Week in Past" by running the following command in the Terminal:
python3 <path_to_twip.py> <days>
Replace <path_to_twip.py>
with the actual path to the "twip.py" file, which is located in the "this-week-in-past" folder. Replace <days>
with the number of days you want to go back in time. For example, if you want to generate a summary of historical events that happened 7 days ago, run the following command:
python3 ~/this-week-in-past/twip.py 7
This will generate a summary of historical events that happened 7 days ago.
Congratulations! You have successfully installed and used "This Week in Past" on Elementary OS Latest.
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!