From 50871fcd3f7698b5d3b68518aea12d31533c5c20 Mon Sep 17 00:00:00 2001 From: Andinus Date: Sat, 14 Mar 2020 19:10:01 +0530 Subject: Add cetus-nasa program cetus-nasa uses NASA's API to get Astronomy Picture of the Day. --- README.org | 31 +++++++++++++++++++++++++++++++ 1 file changed, 31 insertions(+) (limited to 'README.org') diff --git a/README.org b/README.org index 9363c21..9985136 100644 --- a/README.org +++ b/README.org @@ -7,6 +7,37 @@ sources for fetching the background. *Dependency*: [[https://feh.finalrewind.org/][feh]] +* NASA Astronomy Picture of the Day +cetus-nasa uses NASA's API to get the Astronomy Picture of the Day. +** Features +- set APOD as background +- fetch information on APOD +- choose custom date +- choose date randomly +** Examples +#+BEGIN_SRC sh +# set currently APOD as background +cetus-nasa + +# set date randomly +cetus-nasa -random + +# set 2020-01-05 APOD as background +cetus-nasa -date 2020-01-05 + +# change api endpoint & api key +cetus-nasa -api https://api.nasa.gov/planetary/apod \ + -api-key DEMO_KEY + +# don't set background, just fetch information +cetus-nasa -fetch-only + +# don't output anything +cetus-nasa -quiet + +# don't set background, just fetch & don't output anything +cetus-nasa -quiet -fetch-only # why would anyone do this? +#+END_SRC * Demo I just run some cetus commands on my computer, nothing fancy. I'll make better demo videos someday. -- cgit 1.4.1-2-gfad0