A simple script to execute on your powershell terminal, that fetches a random code from a quote site, parses the json data and prints the output in your terminal!
To Use, Clone the repo and run the following in your powershell:
git clone https://github.com/VrajVed/QOTD-CLI.git
cd QOTD-CLI
Navigate to the src file and execute the program:
cd src
python QOTD-CLI.py
notepad.exe $PROFILE
Navigate to your cloned script for the path, and type in the following:
& python "your_file_path.py"
Save the file, close the powershell terminal, and open the terminal. It will display your quote.
Note - You might need to change execution policy if windows blocks it:
Set-ExecutionPolicy RemoteSigned -Scope CurrentUser
and now you're good to go
- Fetches a random quote everytime.
- Fast and efficient.
- Displays the quote and the author in a clean format.
- Simple, readable script in python.
- Aesthetically pleasing and no bs.
- user should have python v3.0+ installed.
- user should have
requests
library installed.
If not, runpip install requests
A good inspirational quote always helps you no matter how low you feel. Aesthetically pleasing and works like a charm.
This project is licensed under the GNU General Public License v3.0.
You are free to use, modify, and distribute this software under the terms of the GPLv3. Any modifications or derivative works must also be open-sourced under the same license.