OpenSunSafe is a minimal browser-based UV safety tracker. Enter your location (latitude/longitude) and select your Fitzpatrick skin type to fetch and display current, historical, and forecast UV index data in an interactive circular timeline.
- UV data is fetched from the CurrentUVIndex API: https://currentuvindex.com/api
- City location data is from: https://simplemaps.com/data/us-cities.
- Interactive circle view showing UV index by hour
- Estimated safe sun exposure time calculated based on skin type
- Open
main.htmlin your browser. - Go to Settings, enter your latitude, longitude, and skin type.
- Switch back to Home to view live UV information.
Built with plain HTML, CSS, and JavaScript.