Sets your Mac's desktop to the current NASA Astronomy Photo of the Day, including explanation text overlaid onto image.
- Manual
python3 apodgrab.py
- Automated
- See 'Installation' below
- Homebrew ( see install instructions at https://brew.sh/ )
- Python 3 ( brew install python3 )
- BeautifulSoup ( pip3 install beautifulsoup4 )
- Pillow ( pip3 install pillow )
cp dependencies/com.krishengreenwell.apod.plist ~/Library/LaunchAgents
vi ~/Library/LaunchAgents/com.krishengreenwell.apod.plist
- Change line 8 to the absolute path of your
apod-grabber
GitHub checkout - Change line 11 to the absolute path of your
python3
installation (to find this, runwhich python3
) launchctl load ~/Library/LaunchAgents/com.krishengreenwell.apod.plist
launchctl start com.krishengreenwell.apod
- Grant the following two permissions ('Documents' may vary based on the location of your
apod-grabber
checkout): - Go to System Preferences > Desktop and select
Fit to Screen
and black background color:
- Captioned APOD images can be found at
~/Pictures/apod/
- Very much a work in progress! Please be patient/forgiving. If something doesn't look right, please browse the existing issues or file a new one
- Create a lighter region under textbox to make it more readable in event of a busy background
- Get rid of apodosa.sh if possible
- Decide install location in order to get rid of home directory dependency in
dependencies/com.krishengreenwell.apod.plist
- Create installer
- Set picture on all attached monitors rather than just the one with the menubar
- Option to turn off captions
- If apod-grabber stops updating your desktop picture automatically, try re-running "pip3 install beautifulsoup4".
- Inspired by Harold Bakker's "Astronomy Picture Of the Day to Desktop" utility -- https://web.archive.org/web/20200221005113/http://www.haroldbakker.com/personal/apod.php