🐧 Aristotle Linux tool (pull Wikipedia descriptions with 1 command right into your terminal)
Nachrichtenbereich: 🐧 Linux Tipps
🔗 Quelle: reddit.com
It's easy to set up only takes 60 seconds, you can now pull any Wikipedia description text right into your terminal.
Open your terminal
nano /path/to/your/directory/aristotle.py
Copy and paste the Python code into nano, save and exit
https://github.com/Hakkadex/Aristotle/blob/main/Aristotle%20source%20code
Make the script executable with the following command:
chmod +x /path/to/your/directory/aristotle.py
Create a symbolic link to make the script accessible from anywhere in the terminal:
sudo ln -s /path/to/your/directory/aristotle.py /usr/local/bin/aristotleget
(Replace /path/to/your/directory/
with the actual path to where aristotle.py
is located for all of this obviously)
To use the tool, open your terminal and run
aristotleget <subject>
Example of use
aristotleget Atlantis
This will paste a description of atlantis directly into your terminal (or whatever depraved things you typed
Make sure you have python / pip3 installed and the following 2
pip3 install requests
pip3 install wikipedia-api
The code you need again is here
https://github.com/Hakkadex/Aristotle/blob/main/Aristotle%20source%20code
Hope you enjoy, if you have any problems installing or running it, go over to the arch forums and ask them if they use arch btw.
[link] [comments] ...