Bitbucket is a code hosting site with unlimited public and private repositories. We're also free for small teams!

This Automator workflow downloads the latest image from the Astronomy
Picture of the Day site ( 
and sets it as your desktop background.  It saves old copies of the
images in a folder within ~/Pictures to be used as screen saver
images.  The last step in the workflow is to open the APOD page in
Safari so you can read the description of the picture.

The inspiration for this script came from an article by Andy Ihnatko


 1. Unpack the ZIP file.
 2. Copy AstronomyPictureOfTheDay to your Applications folder.
 3. Run the application.

To have a new picture downloaded every day, use iCal to schedule an
event to run daily to open the application.

You will want to periodically clean out the screensaver pictures
folder to remove old pictures.

For the latest version, check

Release History


  Fixes a problem with APOD pages that include links to multiple images
  so that only the main image is downloaded.

Recent activity

Tip: Filter by directory path e.g. /media app.js to search for public/media/app.js.
Tip: Use camelCasing e.g. ProjME to search for
Tip: Filter by extension type e.g. /repo .js to search for all .js files in the /repo directory.
Tip: Separate your search with spaces e.g. /ssh pom.xml to search for src/ssh/pom.xml.
Tip: Use ↑ and ↓ arrow keys to navigate and return to view the file.
Tip: You can also navigate files with Ctrl+j (next) and Ctrl+k (previous) and view the file with Ctrl+o.
Tip: You can also navigate files with Alt+j (next) and Alt+k (previous) and view the file with Alt+o.