Skip to content

Ghostmonday/DailyGlow

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

73 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

✨ Daily Glow - Premium Affirmation App

A beautiful, feature-rich iOS affirmation app built entirely with SwiftUI. Cultivate positivity, practice gratitude, and track your personal growth journey.

Swift iOS SwiftUI License

FeaturesScreenshotsInstallationArchitectureDesign System


📖 Overview

Daily Glow is a premium iOS affirmation app designed to help users cultivate positivity, practice gratitude, and track their personal growth journey. Built entirely with SwiftUI, the app features a beautiful, modern interface with glassmorphism effects, smooth animations, and a comprehensive gamification system.

Key Highlights

  • 🌟 1000+ Affirmations: Curated collection across 10 categories
  • 📱 100% SwiftUI: No UIKit dependencies, pure modern iOS development
  • 🎮 Gamification: Achievement system with 40+ achievements and streak tracking
  • 📝 Journal Integration: Mood tracking and personal growth analytics
  • 🎨 Beautiful Design: Glassmorphism, gradients, and smooth animations
  • 📦 Widget Support: Home screen widgets in 3 sizes
  • 🔒 Privacy First: All data stored locally, no tracking

✨ Features

Core Features

  • 1000+ Affirmations: Curated collection across 10 categories including:

    • Self-Love & Confidence
    • Success & Abundance
    • Health & Wellness
    • Relationships
    • Creativity
    • And more...
  • Personalized Experience: Mood-based affirmation recommendations that adapt to your emotional state

  • Beautiful UI: Pure SwiftUI with:

    • Glassmorphic card designs
    • Smooth swipe gestures
    • Animated gradients
    • Particle effects
    • Haptic feedback throughout
  • Journal: Track thoughts, gratitude, and personal growth with:

    • Mood tracking
    • Entry categorization
    • Search functionality
    • Analytics dashboard
  • Favorites: Save and organize your favorite affirmations for quick access

  • Streak Tracking: Build daily habits with streak rewards and visual progress indicators

Premium Features

  • Unlimited Affirmations: Access entire library without restrictions
  • Custom Themes: Exclusive gradients and visual customization options
  • Advanced Analytics: Mood tracking, insights, and personal growth metrics
  • Widget Support: Beautiful home screen widgets in 3 sizes (small, medium, large)
  • AI Personalization: Tailored affirmations based on your preferences (coming soon)
  • Sleep Stories: Bedtime affirmations for better sleep (coming soon)

Gamification System

  • Achievement System: 40+ achievements to unlock across various categories
  • Point Rewards: Earn points for daily activities and engagement
  • Level Progression: Advance through levels as you build your habit
  • Category Progress: Track completion across all affirmation categories

Technical Features

  • 100% SwiftUI: No UIKit dependencies, leveraging latest SwiftUI features
  • No External Assets: All graphics generated programmatically
  • Offline Support: Full functionality without internet connection
  • Widget Extension: Home screen widgets with dynamic updates
  • Notification System: Daily reminders with full customization
  • Deep Linking: Support for URL schemes and shortcuts
  • Data Persistence: Comprehensive storage management with backup/restore

📱 Screenshots

Onboarding Today Tab Journal Achievements
Beautiful onboarding flow with smooth animations Swipeable affirmation cards with glassmorphism Mood tracking & analytics dashboard Gamification system with 40+ achievements

🏗️ Architecture

Technology Stack

  • Language: Swift 5.9
  • UI Framework: SwiftUI 4.0
  • Architecture: MVVM with Combine
  • Storage: Core Data + UserDefaults
  • Widgets: WidgetKit
  • Notifications: UserNotifications framework

Project Structure

DailyGlow/
├── DailyGlowApp.swift          # Main app entry point
├── Models/
│   ├── Affirmation.swift       # Core affirmation model
│   ├── Category.swift          # Category definitions
│   ├── UserPreferences.swift   # User settings model
│   ├── Achievement.swift       # Gamification models
│   └── JournalEntry.swift      # Journal entry model
├── Views/
│   ├── Main/
│   │   ├── ContentView.swift   # Main navigation
│   │   ├── TodayTab.swift      # Daily affirmation view
│   │   ├── FavoritesTab.swift  # Saved affirmations
│   │   ├── JournalTab.swift    # Journal interface
│   │   └── SettingsTab.swift   # App settings
│   ├── Onboarding/
│   │   ├── OnboardingContainer.swift
│   │   └── [Onboarding views...]
│   ├── Paywall/
│   │   └── PaywallView.swift
│   ├── Journal/
│   │   └── JournalAnalyticsView.swift
│   ├── Settings/
│   │   └── AchievementsView.swift
│   └── Widgets/
│       └── WidgetViews.swift
├── Components/
│   ├── AffirmationCard.swift   # Card UI component
│   ├── GlassmorphicCard.swift  # Glass effect component
│   ├── AnimatedBackground.swift # Dynamic backgrounds
│   └── CustomButton.swift      # Button library
├── Services/
│   ├── HapticManager.swift     # Haptic feedback service
│   ├── AffirmationService.swift # Affirmation management
│   ├── StorageManager.swift    # Data persistence
│   └── AnalyticsService.swift  # Analytics tracking
└── Design/
    ├── ColorSystem.swift        # Color palette
    ├── Typography.swift         # Font system
    ├── GradientTheme.swift      # Gradient definitions
    └── CustomShapes.swift       # Custom SwiftUI shapes

Key Implementation Highlights

Swipe Gestures

// Card swiping with spring animation
.gesture(
    DragGesture()
        .onChanged { value in
            dragOffset = value.translation
            cardRotation = Double(value.translation.width / 20)
        }
        .onEnded { value in
            // Handle swipe action with haptic feedback
        }
)

Haptic Feedback

// Rich haptic patterns throughout the app
HapticManager.shared.playCardSwipe()
HapticManager.shared.playFavoriteToggle(isFavorited: true)
HapticManager.shared.playStreak()

Widget Timeline

// Dynamic widget updates
func getTimeline(in context: Context, completion: @escaping (Timeline<Entry>) -> Void) {
    // Create timeline entries for next 24 hours
    // Update with new affirmations periodically
}

🎨 Design System

Color Palette

  • Primary: Purple/Pink gradient (#8B5CF6#EC4899)
  • Secondary: Blue/Cyan gradient (#3B82F6#06B6D4)
  • Accent: Yellow/Orange (#F59E0B#EF4444)
  • Semantic: Adaptive colors for light/dark mode

Typography

  • Font: SF Rounded (system font)
  • Sizes: 6-scale system (tiny to h1)
  • Weights: Regular, Medium, Semibold, Bold

Components

  • Cards: Glassmorphic design with blur effects and subtle shadows
  • Buttons: 5 styles (primary, secondary, icon, mood, category)
  • Backgrounds: Animated gradients and particle effects
  • Shapes: Waves, blobs, and organic forms

🚀 Installation

Requirements

  • Xcode 15.0+
  • iOS 16.0+
  • Swift 5.9+

Setup Instructions

  1. Clone the Repository
git clone https://github.com/Ghostmonday/DailyGlow.git
cd DailyGlow
  1. Open in Xcode
open DailyGlow.xcodeproj
  1. Configure Bundle ID

    • Select the project in Xcode
    • Change Bundle Identifier to your own
    • Update App Group identifier for widgets
  2. Build and Run

    • Select your target device/simulator
    • Press Cmd+R to build and run

Widget Extension Setup

  1. Add Widget Extension target in Xcode
  2. Configure App Groups for data sharing
  3. Update widget bundle identifier
  4. Add to main app's embedded content

📊 Analytics & Tracking

The app tracks (locally, no external services):

  • Daily active usage
  • Affirmations viewed
  • Journal entries created
  • Mood patterns over time
  • Category preferences
  • Streak maintenance
  • Achievement progress

🔐 Privacy & Security

  • Local Storage: All data stored on device using Core Data
  • No Tracking: No third-party analytics by default
  • Secure Backup: Encrypted backup/restore functionality
  • Privacy First: No personal data collection or transmission

💰 Monetization

Subscription Tiers

  • Weekly: $1.99
  • Monthly: $4.99 (Most Popular)
  • Yearly: $39.99 (Best Value)
  • Lifetime: $99.99

Premium Features

  • Unlimited affirmations
  • Custom themes
  • Advanced analytics
  • Widget customization
  • Priority support

🗺️ Roadmap

Version 1.1

  • AI-powered personalization
  • Sleep stories feature
  • Social sharing improvements
  • Apple Watch app

Version 1.2

  • Community features
  • Custom affirmation creation
  • Voice affirmations
  • Meditation integration

Version 2.0

  • Multi-language support
  • Family sharing
  • Coach marketplace
  • Live sessions

📊 Technical Achievements

  • Pure SwiftUI: Zero UIKit dependencies, leveraging latest SwiftUI features
  • Programmatic Graphics: All visual assets generated in code
  • Widget Integration: Full WidgetKit implementation with dynamic updates
  • Gamification Engine: Comprehensive achievement and progression system
  • Smooth Animations: 60fps animations with spring physics
  • Offline First: Complete functionality without network dependency

🤝 Contributing

Contributions are welcome! Please follow these steps:

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

📄 License

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


🙏 Acknowledgments

  • SwiftUI community for inspiration
  • Design inspiration from Headspace, Calm, and "I Am"
  • Beta testers for valuable feedback

Built with ❤️ using pure SwiftUI

⬆ Back to Top

About

🌟 Daily Glow - Beautiful iOS affirmation app for positive daily motivation

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors