Steps to Have Live NASA Wallpaper on Your Desktop (MAC ONLY):
- Create an API Key on https://api.nasa.gov/
- Clone the repository
- Install the dependencies using
pip install -r requirements.txt
- Make a
.env
file in the root directory andNASA_TOKEN=YOUR_API_KEY
in it - Run the app using
python wallpaper-changer.py
- If you want to change the wallpaper every 12 hours, add the script to your crontab using
crontab -e
and add0 */12 * * * <path-to-the-code>/wallpaper-changer.sh
to it - Enjoy your live NASA wallpaper!