How notdeathcookie/glasspulse-ios26 works
GlassPulse is a native iOS focus timer with Pomodoro cycles, ambient sound, session statistics, Liquid Glass experiments, and LiveContainer backup/automation tools. The main workflow is to configure and run a focus session, optionally play a soundscape, then persist completed focus sessions for statistics and backup. The app shell coordinates the tabs, mini-timer, and deep links. Source excerpts support the main timer, audio, motion, and persistence relationships; some view wiring and the backup flow are documented but not fully sampled.
Main entry points: ContentView.swift Tab Shell · RuntimeInspectorView.swift Runtime Tools · LiquidGlassLabView.swift Liquid Lab · FocusEngine.swift Pomodoro Engine
Components 17
Focus Sessions
- Focus Screen
Sources/PulseFocusView.swift - Pomodoro Engine
Sources/FocusEngine.swift - Sound Engine
Sources/AmbientSoundEngine.swift
History and Tools
- Session Records
Sources/SessionModels.swift - Stats View
Sources/StatsView.swift - Runtime Tools
Sources/RuntimeInspectorView.swift - Backup Format
Sources/SessionModels.swift
Interactive Visuals
- Motion Manager
Sources/MotionManager.swift - Liquid Lab
Sources/LiquidGlassLabView.swift - Aurora Backdrop
Sources/AnimatedAuroraBackdrop.swift - Metal Shaders
Sources/LiquidShaders.metal
Other components
- iOS User
- Shortcuts
- Audio Output
- Device Motion
Connections 24
- iOS User → App Entry: opens
- App Entry → Tab Shell: shows
Sources/GlassPulseApp.swift - Tab Shell → Focus Screen: shows
Sources/ContentView.swift - Tab Shell → Pomodoro Engine: configures
Sources/ContentView.swift - Tab Shell → Sound Engine: configures
Sources/ContentView.swift - Tab Shell → Motion Manager: configures
Sources/ContentView.swift - Tab Shell → Liquid Lab: shows
Sources/ContentView.swift - Tab Shell → Stats View: shows
Sources/ContentView.swift - Tab Shell → Runtime Tools: shows
Sources/ContentView.swift - Shortcuts → Tab Shell: opens links
README.md - Focus Screen → Pomodoro Engine: controls
Sources/PulseFocusView.swift - Focus Screen → Sound Engine: controls
Sources/PulseFocusView.swift - Pomodoro Engine → Session Records: writes
Sources/FocusEngine.swift - Stats View → Session Records: reads
Sources/StatsView.swift - Runtime Tools → Session Records: restores
Sources/RuntimeInspectorView.swift - Runtime Tools → Backup Format: encodes
README.md - Runtime Tools → Pomodoro Engine: backs up presets
README.md - Sound Engine → Audio Output: renders sound
Sources/AmbientSoundEngine.swift - Motion Manager → Device Motion: reads motion
Sources/MotionManager.swift - Liquid Lab → Motion Manager: uses tilt
Sources/LiquidGlassLabView.swift - Liquid Lab → Aurora Backdrop: renders
Sources/LiquidGlassLabView.swift - Stats View → Aurora Backdrop: renders
Sources/StatsView.swift - Runtime Tools → Aurora Backdrop: renders
Sources/RuntimeInspectorView.swift - Liquid Lab → Metal Shaders: invokes
Sources/LiquidGlassLabView.swift