README
apod-bg
Requirements
- NodeJS
Install
npm install -g apod-bg
How to use
apod-bg
Options
--apiKey <apiKey>
,-k <apiKey>
- Use specific API key -- can set
APOD_API_KEY
as an environment variable
- Use specific API key -- can set
--endDate <YYYY-MM-DD>
- Specify the last possible date you want the picture chosen from (default
today
)
- Specify the last possible date you want the picture chosen from (default
--hd <true|false>
- Specify whether or not you want the image in HD or not (default:
true
)
- Specify whether or not you want the image in HD or not (default:
--help
- Display information about possible options
--location <path/to/save/file>
- Specify the location where you want to save the file (default:
/tmp
)
- Specify the location where you want to save the file (default:
--startDate <YYYY-MM-DD>
- Specify the first possible date you want the picture randomly chosen from (default:
1995-05-16
)
- Specify the first possible date you want the picture randomly chosen from (default:
--version
- Display the current version of the application
Purpose
Randomly chooses a photo from Astronomy Picture of the Day and sets it as your desktop background
APOD API Key
Obtain an API key from the APOD website and set it as an environment variable APOD_API_KEY
or use --apiKey
flag.