-----
## 📦 Project Overview
This repository contains two platform-specific applications with no shared code; they can be used together:
| Directory | Platform | Tech Stack |
|---|---|---|
| [`android`](./android) | Android | Kotlin + Jetpack Compose |
| [`windows`](./windows) | Windows | .NET 10 + WinUI 3 |
-----
## ✨ Features
### Android
- 🖥️ **Full-Screen Mode**: Immersive heart rate display, turning your phone into a cardiac monitor
- 🔵 **Bluetooth Connection**: Scan and connect to BLE devices that support heart rate services
- ⭐ **Device Management**: Favorite frequently used devices, with auto-connect and disconnect-reconnect support
- ❤️ **Heartbeat Animation**: Dynamically changes based on heart rate
- 📊 **Heart Rate History & Charts**: Auto-recording, history list, batch management, chart analysis, landscape view
- 🎨 **Personalization**: Feature toggles, floating window style customization
- 📡 **Data Interfaces**: HTTP server, WebSocket server, Webhook push
- 🖼️ **Floating Heart Rate Display**: Shows your heart rate over any app on your phone screen
- 📌 **Status Bar Heart Rate**: Display real-time heart rate in the status bar
- 🔔 **Heart Rate Alert**: Posture detection combined with threshold-based notifications and vibration
- 🧠 **Fair Memory Management**: Adapted to domestic vendor memory management mechanisms
- 🎨 **Color Picker**: Self-drawn HSV color wheel
- ✨ **Smooth Transition Animations**: Real-time blur scaling
- 🧊 **Liquid Glass Effect**: Liquid glass effect for the bottom navigation bar
- 🔗 **Local Network Transmission**: WebSocket server for PC and phone communication
- 🎯 **Material 3 Dynamic Color**
### Windows
- **Bluetooth Heart Rate Monitoring**: Scan and connect to Bluetooth heart rate devices, display real-time bpm
- **Floating Window**: A draggable desktop floating heart, with scaling, color, heartbeat animation, bpm unit display, click-through, and global hotkeys
- **Appearance Settings**: Scaling ratio, icon size, heart color, display items, heartbeat animation toggle, one-click reset
- **Network & Transfer**
- HTTP server: serves current heart rate as JSON
- WebSocket server: pushes heart rate data in real time
- Webhook: triggers custom HTTP callbacks on heart rate changes
- LAN transfer: mDNS broadcast + pairing, real-time sync with the phone (with port conflict detection)
- **Multi-language**: 简体中文 / English
- **Version & Info Page**: Shows current version and repository links
-----
## 🖼️ Screenshots
### Android