Conversation
Implements a complete iPhone app for interval fasting: - Live fasting timer with circular progress ring and time-to-goal - Fasting protocols (14:10, 16:8, 18:6, 20:4, OMAD, custom) - Body fasting stages (fat burning, ketosis, autophagy) - Editable start time, history with goal tracking, and stats/streaks - Local goal-reached notification and UserDefaults persistence - Unit tests for core logic and XcodeGen project definition https://claude.ai/code/session_01WtL6t7ALFNsrbNpAxn4g4q
Browser version of the fasting app that installs to the iPhone Home Screen via Safari (Add to Home Screen), runs full-screen and offline: - Vanilla JS port of the domain model (protocols, stages, sessions, stats) - Timer with SVG progress ring, history, stats/streaks, custom protocol - localStorage persistence, service worker for offline, web app manifest - Generated app/maskable/apple-touch icons - GitHub Actions workflow to publish web/ to GitHub Pages https://claude.ai/code/session_01WtL6t7ALFNsrbNpAxn4g4q
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
An intermittent-fasting app in two forms: a native SwiftUI iPhone app and an installable Progressive Web App you can add to the Home Screen without the App Store.
📱 iOS app (
ios/)Native SwiftUI. Live timer with progress ring, protocols (14:10/16:8/18:6/20:4/OMAD/custom), body fasting stages (fat burning, ketosis, autophagy), editable start time, history, stats/streaks, local goal notification,
UserDefaultspersistence. Unit tests + XcodeGen project (project.yml). Targets iOS 17+.🌐 Web app / PWA (
web/)Vanilla-JS port of the same app — no Mac or App Store needed. Open in Safari on iPhone → Share → Add to Home Screen → runs full-screen and offline.
localStoragepersistence, service worker (offline), web app manifest🚀 Deploy (GitHub Pages)
.github/workflows/deploy-pages.ymlpublishesweb/to Pages. After merging tomain: Settings → Pages → Source: GitHub Actions, then visithttps://<owner>.github.io/<repo>/. To test before merging: Settings → Pages → "Deploy from a branch" → this branch,/ (root)→ served at…/web/.Notes
https://claude.ai/code/session_01WtL6t7ALFNsrbNpAxn4g4q