🚀 Download NASA Picture of the Day from your terminal written in Haskell!
- Clone the repo
stack install
- Ensure your
$PATH
includes the default Stack directory - Run
hs-nasa-cli
with options
For Mac x64 you can download hs-nasa-cli executable from Releases page.
# Download Picture of the Day
$ hs-nasa-cli -t
# Download Picture of the Day from the specific date
$ hs-nasa-cli -d YYMMDD
# Examples:
$ hs-nasa-cli -t
$ hs-nasa-cli -d 171224
It downloads the latest Picture of the Day (or from specific date) from NASA APOD and saves it on your computer (in the directory, where terminal is executed 🦄).
- Bartosz Milewski Youtube Channel for really nice "Parallel and Concurrent Haskell" and "Category Theory" lectures.
- Reddit Haskell Community there are so many things I can learn.
- Original Node Js Nasa CLI for having a project for me to practice with Haskell.
- Pedro Yamada for terminal spinner, I have to modify a little bit to support colors for spinner animation.
- NASA APOD 🚀 for providing marvelous space photos every day!
NASA CLI is not affiliated with National Aeronautics and Space Administration.
MIT
[ ] Support Youtube video downloading.
[ ] Cleaner code in Main function.