Daylight
An outdoor daylight and vitamin D planner for iPhone that pairs local solar geometry with UV forecasts to estimate useful sun windows, with a protect limit kept separate. The codebase is feature-complete in source while launch gates remain.



- Local-first
- on-device solar math
- 2 bounds
- target dose vs protect limit
- 87 tests
- passed final CI, August 31
- 0 ads
- no account, no paywall
Native iPhone app for daylight and vitamin D timing, feature-complete in source with launch gates remaining.
Outdoor daylight planning with clear exposure boundaries.
Daylight pairs on-device solar calculations with elevation-aware UV forecasts to estimate useful daylight windows, with a protect limit held at 80% of the estimated burn dose in every mode.
Profile
Saves skin response and coordinates locally without an account.
skin type · coordinatesCalculate
Computes solar angles locally and merges elevation-aware UV data.
solar math · UV forecastTrack
Counts exposure progress and alerts before reaching burn limits.
live timer · protect alertSync
Writes confirmed outdoor minutes directly to Apple Health.
HealthKit · Time in DaylightLocal solar math, dual-boundary engine, session tracking, and HealthKit sync.
Dual-boundary targets
Separates useful daylight synthesis from the protect boundary, an estimate set short of predicted burning and never a safety guarantee.
50% vs 80% of estimated burn doseElevation-aware UV
Pulls forecast UV that already accounts for elevation instead of stacking fake multipliers.
no double multiplierConfirmed minutes only
Writes only user-confirmed outdoor time to Apple Health rather than modeled blood levels.
HealthKit integrationA guided ladder, adults only
The guided tan mode sets each session's target from a dose ladder. A concerning next-day skin check or a missed one pauses progression, and minors only get daylight mode.
25 to 72% of estimated burn dose · protect stays at 80%Conservative assumptions and honest bounds.
- Keep target exposure separate from the hard protect boundary.
- Write only confirmed duration to HealthKit as Time in Daylight.
- Never apply duplicate altitude multipliers to elevation-aware forecasts.
- Run all solar geometry calculations locally on the device.
Native app, estimation engine, and test suite.
Native SwiftUI app with a solar dial, live timer, history ledger, and home widgets. Feature-complete in source.
native iOS appOn-device solar model combining local geometry and elevation-aware forecasts to separate target doses from burn limits.
on-device model87 tests covering solar geometry, session recovery, travel and clock changes, the tan ladder, and the plan's location safety gates.
87 tests · final CI passed Aug 31