add a readme
All checks were successful
Build napotd / Build-And-Push (push) Successful in 1m38s

This commit is contained in:
2024-03-13 20:24:09 -05:00
parent 9eaab6fd7f
commit 09cc9dba58

18
README.md Normal file
View File

@@ -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.