Skip to content

Latest commit

 

History

History
60 lines (36 loc) · 1.86 KB

README.md

File metadata and controls

60 lines (36 loc) · 1.86 KB

HASKELL NASA CLI

🚀 Download NASA Picture of the Day from your terminal written in Haskell!

Picture of the Day!

Installation

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

Usage

# 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

How it works?

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 🦄).

Thanks:

Disclaimer

NASA CLI is not affiliated with National Aeronautics and Space Administration.

License

MIT

TODO

[ ] Support Youtube video downloading.

[ ] Cleaner code in Main function.