/beforesunandmoon

A simple CLI tool written in go for terminal stargazing

Primary LanguageGoMIT LicenseMIT

Before Sun And Moon

beforesunandmoon is a simple CLI tool for terminal stargazing. It allows you to explore random spots in space and provides information about celestial objects using Right Ascension (RA) and Declination (DEC) coordinates.

Usage

Explore

Explore a random spot in space and discover what's there:

beforesunandmoon explore --radius <radius_value>

By default, the radius is set to 5000 units. You can specify a custom radius using the --radius flag.

What's Here

Pick a specific spot in space and find out what's there:

beforesunandmoon whatshere --ra <ra_value> --dec <dec_value> --radius <radius_value>

Specify the Right Ascension (RA) and Declination (DEC) values along with an optional radius using the respective flags.

About

Get information about Right Ascension (RA) and Declination (DEC) coordinates:

beforesunandmoon about

Learn more about how RA and DEC are used as celestial coordinate systems to locate objects in the sky.

Examples

Explore a Random Spot

beforesunandmoon explore

Find Objects at a Specific Location

beforesunandmoon whatshere --ra 08:23:07.17 --dec -48:29:40.53 --radius 1000

Contributing

If you find any issues or have suggestions for improvement, feel free to open an issue or submit a pull request.

License

This project is licensed under the MIT License - see the LICENSE file for details.