5 unstable releases
Uses old Rust 2015
0.3.2 | Nov 18, 2017 |
---|---|
0.3.1 | Nov 9, 2017 |
0.3.0 | Nov 9, 2017 |
0.2.0 | Nov 5, 2017 |
0.1.0 | Oct 28, 2017 |
#900 in Science
13KB
224 lines
Astral (alpha)
Astronomy toolkit for finding the position of the Sun, Moon, planets and other celestial bodies at a place and time.
** Accuracy is currently low, though should provide alitude/azimuth values within +-3 degrees from other sources **
Commands
Most results are relative to a time and location on earth.
Run astral --help
or astral <command> --help
for usage details
astral moon
Information on Earth's moon.
astral sun
Information on Earth's sun, relative to a time and location on earth.
astral planet mars
Information on planets of the local solar system
astral star polaris
Information on a star
astral geocode "Oranjemund,Namibia"
Get Latitude/Longitude Coordinates for location
Installation
Mac (Homebrew)
brew tap manguluka/tap;
brew install astral-cli;
# Use
astral-cli --help;
From source
Prerequisites: Rust environment with Cargo package manager(Rustup is recommended)
cargo install astral-cli; // installs binary from crates.io
or
git clone git@github.com:manguluka/astral-cli.git \
cd astral-cli \
cargo install; // installs binary from current directory
Dependencies
~48MB
~1.5M SLoC