![Example image created by apod-grabber](https://github.com/asterizk/apod-grabber/raw/main/docs/2021-05-08.png)
apod-grabber
Sets your Mac's desktop to the current NASA Astronomy Photo of the Day, including explanation text overlaid onto image.
Usage:
Requirements:
- Homebrew ( see install instructions at https://brew.sh/ )
- Python 3 ( brew install python3 )
- BeautifulSoup ( pip3 install beautifulsoup4 )
- Pillow ( pip3 install pillow )
Installation:
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, run which 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:
Notes:
TODO:
- 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
Feature ideas:
- Option to turn off captions
Troubleshooting
- If apod-grabber stops updating your desktop picture automatically, try re-running "pip3 install beautifulsoup4".
Credits