You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
# CycleSyncAI: Personalized Health Plans Powered by Sonar API
9
-
10
-
## 🚀 Overview
11
-
12
-
**CycleSyncAI** is an iOS app designed to provide personalized **diet and workout recommendations** tailored to a woman’s **menstrual cycle phase**.
8
+
**CycleSyncAI** is an iOS app designed to provide personalized **diet and workout recommendations** tailored to a woman's **menstrual cycle phase**.
13
9
14
10
By integrating menstrual data from Apple **HealthKit** and optional user profile inputs (age, weight, height, medical conditions, dietary restrictions, goals, and preferences), the app generates dynamic, phase-aware suggestions to support holistic wellness.
15
11
16
-
Unlike static wellness tools, **CycleSyncAI** leverages **Perplexity’s Sonar Pro API** to deliver **expert-informed**, LLM-generated guidance — including a daily grocery list and motivational feedback — customized to the user's cycle and lifestyle.
12
+
Unlike static wellness tools, **CycleSyncAI** leverages **Perplexity's Sonar Pro API** to deliver **expert-informed**, LLM-generated guidance — including a daily grocery list and motivational feedback — customized to the user's cycle and lifestyle.
17
13
18
-
---
19
-
20
-
## 🧠 Problem & Solution
14
+
## Problem & Solution
21
15
22
16
> **Why it matters:**
23
-
Most apps overlook the hormonal changes that affect women’s fitness and nutrition needs across their cycle, leaving users with generic advice.
24
-
25
-
**CycleSyncAI** bridges this gap by combining Apple HealthKit data with Sonar Pro’s LLM to generate **adaptive, cycle-aware recommendations** for better health outcomes.
17
+
Most apps overlook the hormonal changes that affect women's fitness and nutrition needs across their cycle, leaving users with generic advice.
26
18
27
-
---
28
-
29
-
## ✨ Features
19
+
**CycleSyncAI** bridges this gap by combining Apple HealthKit data with Sonar Pro's LLM to generate **adaptive, cycle-aware recommendations** for better health outcomes.
30
20
31
-
- ✅ **Personalized diet & workout suggestions** per cycle phase
32
-
- 🔄 Syncs with Apple HealthKit for real-time cycle tracking
33
-
- 👤 User profile inputs for advanced personalization (age, goals, restrictions, etc.)
34
-
- 🛒 **Auto-generated daily grocery list**
35
-
- 🎨 Smooth, modern UI with gradients and subtle animations
36
-
- 💬 **Motivational AI feedback** tailored to user preferences
37
-
- 🔒 Local data storage and private processing
21
+
## Features
38
22
39
-
---
23
+
***Personalized diet & workout suggestions** per cycle phase
24
+
* Syncs with Apple HealthKit for real-time cycle tracking
25
+
* User profile inputs for advanced personalization (age, goals, restrictions, etc.)
26
+
***Auto-generated daily grocery list**
27
+
* Smooth, modern UI with gradients and subtle animations
28
+
***Motivational AI feedback** tailored to user preferences
29
+
* Local data storage and private processing
40
30
41
-
## 💡 Motivation
31
+
## Motivation
42
32
43
-
> “I wanted a tailored regime for myself and couldn’t find it all in one place.”
33
+
> "I wanted a tailored regime for myself and couldn't find it all in one place."
44
34
45
-
**CycleSyncAI** was born from the need for a science-backed, easy-to-use app that adapts wellness guidance to women’s natural hormonal rhythms, something missing in most mainstream fitness and nutrition platforms.
46
-
47
-
---
35
+
**CycleSyncAI** was born from the need for a science-backed, easy-to-use app that adapts wellness guidance to women's natural hormonal rhythms, something missing in most mainstream fitness and nutrition platforms.
48
36
49
-
## 🛠️ Repository Structure
37
+
## Repository Structure
50
38
39
+
```
51
40
CycleSyncAI.xcodeproj → Xcode project file
52
41
CycleSyncAI/ → Source code
53
42
├── EatPlanViewController.swift → Diet plan generation & display
@@ -59,59 +48,50 @@ CycleSyncAI/ → Source code
59
48
Main.storyboard → App UI & layout
60
49
Assets.xcassets → Images & app icons
61
50
Info.plist → Permissions & configurations
51
+
```
62
52
63
-
---
64
-
65
-
## 🔧 Setup Instructions
53
+
## Setup Instructions
66
54
67
55
1. Clone the repo
68
56
2. Open in **Xcode**
69
57
3. Ensure Apple HealthKit is enabled on your device
70
58
4. Insert your **Sonar Pro API key**
71
59
5. Run the app on a physical device (recommended)
72
60
73
-
---
74
-
75
-
## 🧬 Sonar API Usage
61
+
## Sonar API Usage
76
62
77
63
The app sends structured prompts to the **Sonar Pro API** including:
78
64
79
-
- Cycle phase (from HealthKit)
80
-
- User profile info (age, weight, goals, etc.)
81
-
- Meal preferences & restrictions
65
+
* Cycle phase (from HealthKit)
66
+
* User profile info (age, weight, goals, etc.)
67
+
* Meal preferences & restrictions
82
68
83
69
In return, it receives:
84
70
85
-
- ✅**Personalized diet plan**
86
-
- ✅**Custom workout plan**
87
-
- ✅**Daily grocery list**
88
-
- ✅**Motivational feedback**
71
+
***Personalized diet plan**
72
+
***Custom workout plan**
73
+
***Daily grocery list**
74
+
***Motivational feedback**
89
75
90
76
These are parsed and rendered as styled HTML inside the app using WebViews.
91
77
92
-
---
93
-
94
-
## 🎥 Demo Video
78
+
## Demo Video
95
79
96
80
Watch the full app walkthrough here: https://www.youtube.com/watch?v=R558uRLNvUM&t=2s.
97
81
98
82
> *Note: The LLM takes ~30–60 seconds per request. This wait time was trimmed in the video for brevity.*
99
83
100
-
---
101
-
102
-
## ✅ Impact
84
+
## Impact
103
85
104
86
**CycleSyncAI** empowers women to make informed, body-aware decisions in daily life. The app supports better:
105
87
106
-
- Energy management
107
-
- Fitness results
108
-
- Mental well-being
109
-
- Motivation and confidence
88
+
* Energy management
89
+
* Fitness results
90
+
* Mental well-being
91
+
* Motivation and confidence
110
92
111
93
It also reduces decision fatigue with automatically prepared grocery lists and uplifting guidance.
0 commit comments