|
|
|
|
|
by elevenapril
197 days ago
|
|
Hi HN, I built this because I live in a city with limited sunshine and kept missing the good days while working from home. The problem: Apple Watch tracks "Time in Daylight" but buries it in Health app with zero insights. What I built:
- Pulls daylight data from HealthKit
- Gives you a daily "Sunshine Score" (0-100) based on duration, frequency, and morning sun bonus
- Shows weekly trends to spot patterns
- Widget + Watch app for quick glance Tech: SwiftUI, HealthKit, WidgetKit, WatchOS. No backend – all data stays on device. Built this in ~2 weeks with no prior iOS dev experience (used AI coding tools). Got rejected by Apple 4 times before approval – happy to share what I learned about HealthKit app reviews if anyone's curious. Free to use, optional $1.99/mo subscription for trends. Would love feedback, especially on the scoring algorithm. |
|