{"repo":"DanielJamesTronca/SleepChartKit","free":true,"listed":false,"github":"https://github.com/DanielJamesTronca/SleepChartKit","clone":"git clone https://github.com/DanielJamesTronca/SleepChartKit.git","description":"A production-ready, high-fidelity reproduction of Apple's detailed sleep analysis chart, built with pure SwiftUI.","language":"Swift","stars":243,"topics":["apple-health","chart","fitness","healthkit","ios","sleep-tracking","swift","swift-package","swiftui","swiftui-components"],"license":"MIT","category":"mobile-apps","readme_excerpt":"SleepChartKit A clean, lightweight SwiftUI package for displaying beautiful sleep stage visualizations with comprehensive HealthKit integration. Features - 📊 Timeline Visualization - Interactive sleep stage timeline with smooth stage transitions - 🧘 Minimal Style - Lightweight timeline view without legends or axis chrome - 🎨 Customizable Colors - Define your own color scheme for different sleep stages - ⏰ Time Axis - Clear time labels showing sleep session duration - 📋 Legend - Duration summary for each sleep stage - 🏥 HealthKit Integration - Native support for HKCategoryValueSleepAnalysis data - 🌍 Localization Support - Configurable display names for internationalization - 🔧 SOLID Architecture - Clean, testable, and extensible design - 📱 Cross-Platform - iOS 15+, macOS 12+, watchOS 8+, tvOS 15+ Installation Swift Package Manager Add SleepChartKit to your project via Xcode: 1. File → Add Package Dependencies 2. Enter: https://github.com/DanielJamesTronca/SleepChartKit 3. Select version and add to target Or add to your Package.swift : Quick Start Basic Usage Minimal Timeline Use the minimal style when you only need the stage bars without the axis or legend: Circular Chart The circular chart displays sleep duration as a percentage of a configurable threshold, starting from the top (12 o'clock) and filling clockwise: Circular Chart Parameters - thresholdHours - Sleep duration threshold for percentage calculation (default: 9.0 hours) - showIcons - Display sun/moon icons a","default_branch":null,"files":null,"tree":[],"storefront":"/r/DanielJamesTronca","claimed":false,"request_supported":{"post":"https://gitbuyer.com/r/DanielJamesTronca/SleepChartKit/request-supported","requests":0},"note":"indexed from public GitHub; nothing is for sale on this page. Clone it from GitHub. Paid listings live at /search."}