Gain days you can see β an on-device longevity dashboard that turns your health data into real-time life-expectancy deltas.
LifeDelta is a revolutionary iOS app that transforms passive health metrics into an engaging, privacy-first longevity dashboard. By combining actuarial life tables with on-device machine learning, it displays your remaining life expectancy and quantifies the impact of daily habits in concrete days gained or lost.
- Instant Meaning: A live countdown that moves when you walk, sleep, or quit vaping
- Actionable Clarity: Every habit shows a concrete "+ / β days" impact, not abstract scores
- Privacy by Default: All modeling happens on-device; no health data leaves your phone
- Built-in Virality: Shareable "+73 days gained" cards drive organic growth loops
- Life Countdown: Real-time countdown of remaining life days with live updates
- HealthKit Integration: Syncs steps, resting heart rate, sleep, and VOβ max data
- Basic Dashboard: LifeScore overview with weekly deltas and top risk factors
- Weekly Digest: Email summaries of your progress and insights
- Habit Simulator: See how lifestyle changes impact life expectancy in real-time
- AR Food Scanner: Scan food to estimate nutritional impact on longevity
- Advanced Analytics: Detailed insights and trend analysis with SHAP explanations
- Shareable Cards: Generate viral "gains" cards with referral codes
- Streak Insurance: Protect your progress with gamified streak protection
- Data Export: Full GDPR-compliant data export and deletion
- π 100% On-Device Processing: All health data processing happens locally
- π AES-256 Encryption: Device-key encryption for cached data
- βοΈ No Cloud Storage: Raw health data never leaves your device
- π GDPR Compliant: Full data export and deletion capabilities
- π‘οΈ No Data Sharing: We never share your health data with third parties
| Plan | Price | Features |
|---|---|---|
| Free | $0 | Life countdown, basic dashboard, weekly email |
| Pro | $19/year | Full HealthKit sync, habit simulator, AR scanning, advanced analytics, data export |
| Layer | Technology | Purpose |
|---|---|---|
| Frontend | SwiftUI + Combine | Modern iOS development |
| ML | Core ML + scikit-survival | On-device survival analysis |
| Backend | FastAPI + Supabase | Micro-coach & auth |
| Automation | n8n + Resend | Email digests |
| Payments | Stripe | Subscription management |
| Analytics | PostHog | User behavior tracking |
- Xcode 15.0+ with iOS 17.0+ SDK
- iOS 17.0+ device or simulator
- HealthKit enabled device for full functionality
- Clone the repository:
git clone https://github.com/yourusername/lifedelta.git
cd lifedelta- Open in Xcode:
open LifeDelta.xcodeproj- Build and run:
- Select your target device
- Press
Cmd + Rto build and run
The app requires HealthKit permissions for optimal functionality:
| Data Type | Purpose | Required |
|---|---|---|
| Step Count | Activity tracking | β Yes |
| Heart Rate | Cardiovascular health | β Yes |
| Sleep Analysis | Sleep quality metrics | β Yes |
| VOβ Max | Fitness level assessment | β Yes |
| Body Mass | BMI calculations | β Yes |
| Height | BMI calculations | β Yes |
LifeDelta/
βββ π± LifeDeltaApp.swift # Main app entry point
βββ π ContentView.swift # Root view with tab navigation
βββ π Models/
β βββ HealthData.swift # Data models and structures
βββ βοΈ Managers/
β βββ HealthManager.swift # HealthKit integration
β βββ LifeDeltaModel.swift # ML model and calculations
β βββ SubscriptionManager.swift # In-app purchases
βββ π¨ Views/
β βββ OnboardingView.swift # User onboarding flow
β βββ DashboardView.swift # Main dashboard
β βββ HabitSimulatorView.swift # Habit impact simulator
β βββ ARScannerView.swift # Food scanning interface
β βββ ProfileView.swift # User profile and settings
β βββ PaywallView.swift # Subscription paywall
βββ π¨ Assets.xcassets/ # App icons and colors
ββββββββββββββ
β SwiftUI Appβ
βββββββ¬βββββββ
β Core ML .mlmodel (on-device)
β
βββββββΌβββββββ βββββββββββββββ
β Local CacheββββRLSβββΊβ Supabase β (auth, anon telemetry)
ββββββββββββββ βββββββββββββββ
β β²
β POST /micro-coach β Webhook
βΌ β
ββββββββββββββ β
β FastAPI ββββΊ GPT-4o βββββββ
β (Fly.io) β
ββββββββββββββ
- Project setup and basic structure
- HealthKit integration
- Core ML model integration
- Basic UI components
- Onboarding flow
- Habit simulator with real-time updates
- AR food scanning implementation
- Shareable OG-card generation
- Stripe paywall integration
- Advanced analytics dashboard
- Weekly digest email system (n8n + Resend)
- Beta testing with TestFlight (100 users)
- PostHog analytics integration
- Performance optimization
- App Store submission
- Product Hunt launch
- Social media marketing
- User feedback integration
| Metric | Target | Current |
|---|---|---|
| Activation Rate | β₯70% | TBD |
| WAU/MAU | β₯50% | TBD |
| FreeβPro Conversion | β₯3% | TBD |
| K-factor (Referrals) | β₯0.25 | TBD |
| Model MAE | β€7 years | TBD |
We welcome contributions! Please follow these steps:
- Fork the repository
- Create a feature branch (
git checkout -b feature/amazing-feature) - Commit your changes (
git commit -m 'Add some amazing feature') - Push to the branch (
git push origin feature/amazing-feature) - Open a Pull Request
- Follow Swift style guidelines
- Add tests for new features
- Update documentation as needed
- Ensure privacy-first principles
This project is licensed under the MIT License - see the LICENSE file for details.
| Channel | Contact |
|---|---|
| π§ Email | support@lifedelta.app |
| π Website | https://lifedelta.app |
| β Help Center | https://lifedelta.app/help |
| π Bug Reports | GitHub Issues |
- HealthKit framework for health data integration
- Core ML for on-device machine learning
- SwiftUI for modern iOS development
- The longevity research community for data and insights
- EZ MONEY for the vision and execution
Gain days you can see