Every astronomer, photographer, and celestial navigator faces the same fundamental challenge: accurately predicting when and where the Sun and Moon will appear in our sky. While online services exist, they often fail when you need them most – in remote locations, during field work, or when building applications that demand reliability and precision.
Solunatus delivers a comprehensive solution with industry-standard NOAA solar algorithms and Meeus lunar calculations, providing navigation-grade accuracy for dates spanning from 1000 BCE to 3000 CE. The library offers both a clean Rust API for developers and an interactive CLI with TUI dashboard, supporting 570+ cities worldwide with offline-first architecture. Beyond basic sunrise/sunset times, it calculates twilight periods, moon phases, celestial positions, and astronomical events with USNO-compliant precision.
Whether you’re developing planetarium software, planning astrophotography sessions, or building agricultural applications that depend on daylight cycles, Solunatus puts professional-grade astronomical calculations at your fingertips. The optional Ollama integration even adds AI-powered insights to help interpret celestial patterns, making it equally valuable for educational astronomy projects and production applications requiring precise ephemeris data.
⭐ Stars: 3
💻 Language: Rust
🔗 Repository: FunKite/solunatus