Skip to content

locosoft1986/hs-nasa-cli

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

11 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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.

About

Inspired by node js version at https://github.com/xxczaki/nasa-cli and rewrite it using Haskell

Resources

License

Stars

7 stars

Watchers

1 watching

Forks

Packages

 
 
 

Contributors