Skip to content

tanayshah11/SnoreBuddy

Repository files navigation

SnoreBuddy

SnoreBuddy is an iOS application that tracks and analyzes sleep data using Apple HealthKit. It provides insights into different sleep stages such as Awake, Core, REM, and Deep sleep.

Features

  • Fetches sleep data from Apple HealthKit.
  • Analyzes sleep stages and calculates sleep metrics.
  • Visualizes sleep data using SwiftUI charts.

Requirements

  • iOS 14.0+
  • Xcode 12.0+
  • Swift 5.0+
  • Apple HealthKit

Installation

  1. Clone the repository:
    git clone https://github.com/yourusername/SnoreBuddy.git
  2. Open the project in Xcode:
    open SnoreBuddy.xcodeproj
  3. Build and run the project on a physical device with HealthKit enabled.

Usage

  1. Grant HealthKit permissions to the app.
  2. The app will automatically fetch and display sleep data.
  3. View detailed sleep analysis in the DetailsView.

License

This project is licensed under the MIT License - see the LICENSE file for details.

Contributing

  1. Fork the repository.
  2. Create your feature branch (git checkout -b feature/your-feature).
  3. Commit your changes (git commit -m 'Add some feature').
  4. Push to the branch (git push origin feature/your-feature).
  5. Open a pull request.

Authors

Acknowledgments

  • Thanks to everyone whose code was used.
  • Apple for providing HealthKit.
  • SwiftUI for making UI development a breeze.

About

A Sleep Debt Recovery Companion

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors

Languages