This project uses the Usno.navy Complete Sun and Moon Data for One Day API to pull moon data and provide the following:
- Moon Phase
- Fracillum/Ilumination
- Moon Rise & Set Time
Using the results provided via the API it then gets parsed and made look "pretty". Also ascii art is used to give the users a visual representation all in the terminal.
# Clone the repository
git clone https://github.com/TitoBlackspire/Moon-Phase-Tracker.git
# Navigate into the directory
cd Moon-Phase-Tracker
# Build the package
makepkg -si
# Set up config file
mkdir -p ~/.config/moonphase
touch ~/.config/moonphase/.env
touch ~/.config/moonphase/config.tomlTo use the program in your terminal run:
moonphasesudo pacman -R moonphase- Arch Linux (or Arch-based distro)
- Python 3
- Dependencies installed automatically via makepkg (requests, geopy, python-dotenv)
Distributed under the MIT License. See LICENSE for more information.