An open API service indexing awesome lists of open source software.

https://github.com/codeanurag/ibreathe

iBreathe is a mindful breathing app built with SwiftUI for Apple Watch and iPhone. It guides users through calming breathing exercises using haptics and animation, and syncs session logs from Watch to iPhone using WatchConnectivity.
https://github.com/codeanurag/ibreathe

breathing-app healthkit mindfulness mvvm mvvm-architecture swift swiftui watchconnectivity watchos watchos-app xcode

Last synced: 2 months ago
JSON representation

iBreathe is a mindful breathing app built with SwiftUI for Apple Watch and iPhone. It guides users through calming breathing exercises using haptics and animation, and syncs session logs from Watch to iPhone using WatchConnectivity.

Awesome Lists containing this project

README

          

πŸ§˜β€β™‚οΈ iBreathe


Mindful Breathing App for Apple Watch + iPhone

Guided breathing with haptics & synced session logs.



Platform
Built with SwiftUI
WatchConnectivity

---

## πŸ“‹ Table of Contents

- [Features](#-features)
- [Tech Highlights](#-tech-highlights)
- [Screenshots](#-screenshots)
- [Setup & Run](#-setup--run)
- [Roadmap](#-roadmap)
- [Support](#-support)
- [Credits & License](#-credits--license)
---

## 🎯 Features

- Smooth inhale/exhale animation with haptic cues
- Choose from 1, 3, or 5-minute sessions
- Pause/resume mid-session
- Session logs saved on Watch & automatically synced to iPhone
- View session history on both devices

---

## πŸ”§ Tech Highlights

- SwiftUI for watchOS and iOS UI
- WatchConnectivity (`WCSession`) for cross-device sync
- Codable + FileManager for lightweight local persistence
- MVVM architecture and shared `SessionLog` model

---

## πŸ“Έ Screenshots

### ⌚ Watch App

- ![Home Screen](docs/screen1.png)
- ![History](docs/screen2.png)
- ![Inhale Phase](docs/screen3.png)
- ![Exhale Phase](docs/screen4.png)

### πŸ“± iPhone App

- ![iPhone History](docs/screen5.png)

---

## πŸ§ͺ Setup & Run

> ⚠️ **Note:** Watchβ†’iPhone sync only works on real paired devices. Simulators can test UI but not connectivity.

1. Clone the repo:
```bash
git clone https://github.com/codeanurag/iBreathe.git
cd iBreathe
```

2. Organize files:
```
iBreathe/
β”œβ”€β”€ docs/
β”‚ β”œβ”€β”€ screen1.png
β”‚ β”œβ”€β”€ screen2.png
β”‚ β”œβ”€β”€ screen3.png
β”‚ β”œβ”€β”€ screen4.png
β”‚ └── screen5.png
β”œβ”€β”€ iBreathe.xcodeproj
└── README.md
```

3. Open in Xcode:
```bash
open iBreathe.xcodeproj
```

4. Select your **iPhone + Apple Watch target**, build & run.

5. Start a breathing session on the Watch β€” logs will sync to iPhone automatically. View them in the β€œView Synced Logs” screen.

---

## πŸš€ Roadmap

| Planned Feature | Status |
|--------------------------|------------|
| HealthKit integration | βœ… Done |
| Custom inhale/exhale durations | βœ… Done |

---

## πŸ“ž Support

Have questions or need help?

- πŸ› **Bug Reports**: [Open an issue](https://github.com/codeanurag/iBreathe/issues)
- πŸ’‘ **Feature Requests**: [Start a discussion](https://github.com/codeanurag/iBreathe/discussions)
- πŸ“§ **Contact**: [codeanuragpandit@gmail.com](mailto:codeanuragpandit@gmail.com)

---

## ❀️ Credits & License

Built with πŸ’‘ by [@codeanurag](https://github.com/codeanurag).

Licensed under the MIT License β€” see [LICENSE](LICENSE) for details.