OpenProduct

SunCalc v2 – a tiny JavaScript library for sun and moon calculations

open-source
Visit site
0
Tracked since 2026-06-18
Share
AI Summary

SunCalc v2 is a lightweight JavaScript library that calculates sun and moon positions, phases, and times (like sunrise, sunset, and moonrise) for any location and date. It’s designed for developers building astronomy-aware apps, from photography tools to gardening planners, and is interesting because it revives a 15-year-old open-source project with modern AI-assisted updates, making precise celestial data accessible in just a few kilobytes.

Cross-platform signals

Y
Hacker News
View
points
comments

You might also like

More in open-source