From 09cc9dba5882967b9a9d657c50ec513610bdc6d0 Mon Sep 17 00:00:00 2001 From: deltreey Date: Wed, 13 Mar 2024 20:24:09 -0500 Subject: [PATCH] add a readme --- README.md | 18 ++++++++++++++++++ 1 file changed, 18 insertions(+) create mode 100644 README.md diff --git a/README.md b/README.md new file mode 100644 index 0000000..068f21e --- /dev/null +++ b/README.md @@ -0,0 +1,18 @@ +# NAPOTD + +## NASA Astronomy Picture of the Day + +An API to get the current picture from NASA's astronomy picture of the day website. + +----- + +Every Day NASA posts a new astronomy-related image on https://apod.nasa.gov/apod/ + +Unfortunately, that image URL changes, so I cannot point to a single URL and get the current image of the day. + +This is my solution. I created a python web API that returns a 302, redirecting you to the image URL by parsing the +code of the website to find the `img` tag. + +I am using it to update the background of my phone every day with Tasker. It's nice. + +For convenience, I also dockerized it. \ No newline at end of file