A progressive web application for tracking Dr. Greger's Daily Dozen food recommendations (or a modified version of the recommendations), designed with Catholic principles of stewardship, temperance, and respect for the body as a temple of the Holy Spirit.
This app helps users track their daily consumption of the healthiest foods while fostering gratitude for God's gifts and promoting responsible stewardship of one's health. It's inspired by Dr. Michael Greger's Daily Dozen checklist from NutritionFacts.org.
- Daily Tracking: Check off servings for each of the 12 food categories
- Progress Visualization: Real-time progress bar showing daily completion
- Local Storage: Data persists locally on your device
- Responsive Design: Works seamlessly on desktop, tablet, and mobile
- Gratitude Feature: Built-in meal blessing and gratitude prompts
- Stewardship Focus: Encourages responsible care of the body
- Temperance Promotion: Balanced approach to health tracking
- Respectful Design: Honors the dignity of the human person
- Offline Functionality: Works without internet connection
- Installable: Can be added to home screen on mobile devices
- Smart Installation Prompts: Automatic and manual installation options
- Fast Loading: Optimized for quick access
- Cross-Platform: Works on all modern browsers
- Beans (3 servings) - e.g., ½ c. cooked beans, ¼ c. hummus
- Berries (1 serving) - e.g., ½ c. fresh or frozen, ¼ c. dried
- Other Fruits (3 servings) - e.g., 1 medium fruit, ¼ c. dried fruit
- Greens (2 servings) - e.g., 1 c. raw, ½ c. cooked
- Cruciferous Vegetables (1 serving) - e.g., ½ c. chopped, 1 tbsp horseradish
- Other Vegetables (2 servings) - e.g., ½ c. nonleafy vegetables
- Flaxseed (1 serving) - e.g., 1 tbsp ground
- Nuts and Seeds (1 serving) - e.g., ¼ c. nuts, 2 tbsp nut butter
- Herbs and Spices (1 serving) - e.g., ¼ tsp turmeric
- Whole Grains (3 servings) - e.g., ½ c. hot cereal, 1 slice of bread
- Beverages (5 servings) - 60 oz per day
- Exercise (1 serving) - 90 min. moderate or 40 min. vigorous
- Open the app in any modern web browser
- The app will work immediately - no installation required
- Your data is stored locally on your device
- Open the app in your mobile browser
- The app will automatically show an install prompt if it meets PWA criteria
- Alternatively, tap the "📱 Install App" button in the header
- Follow the prompts to install the app
- The app will now work like a native app on your device
- Open the app in Chrome, Edge, or other modern browsers
- The app will automatically show an install prompt if it meets PWA criteria
- Alternatively, click the "📱 Install App" button in the header
- Follow the prompts to install the app
- The app will be available in your applications menu
If automatic installation doesn't work, the app provides detailed step-by-step instructions for:
- Chrome / Edge / Brave: Menu → Install Daily Dozen Tracker
- Safari (iPhone/iPad): Share button → Add to Home Screen
- Firefox: Menu → Install App
- Android Chrome: Menu → Add to Home screen
- HTML5: Semantic markup and accessibility
- CSS3: Modern styling with CSS Grid and Flexbox
- JavaScript (ES6+): Vanilla JavaScript with modern features
- Progressive Web App: Service Worker for offline functionality
- Local Storage: Client-side data persistence
daily_dozen/
├── index.html # Main HTML file
├── styles.css # CSS styles
├── app.js # Main JavaScript application
├── sw.js # Service Worker
├── manifest.json # PWA manifest
├── icons/ # App icons
│ └── icon.jpg # JPG icon
└── README.md # This file
- Chrome 60+
- Firefox 55+
- Safari 11.1+
- Edge 79+
This app is designed with the following Catholic principles in mind:
- Encourages responsible care of the body as a gift from God
- Promotes balanced, sustainable health practices
- Avoids obsessive or extreme approaches to nutrition
- Moderation in all things, including health tracking
- Balanced approach to food and exercise
- Respect for the body's natural needs
- Built-in meal blessings and gratitude prompts
- Recognition of food as a gift from God
- Thankfulness for the ability to care for one's health
- Respect for the body as a temple of the Holy Spirit
- Holistic approach to health (body, mind, and spirit)
- Avoidance of practices that objectify or harm the body
- The app works without an internet connection
- All core features are available offline
- Data is stored locally on your device
- Can be installed on mobile and desktop devices
- Appears in the app launcher/home screen
- Works like a native app
- Smart installation prompts with detailed instructions
- Automatic detection of installation eligibility
- Optimized for quick loading
- Minimal data usage
- Responsive design for all screen sizes
- No Server Required: All data is stored locally on your device
- No Tracking: No analytics or user tracking
- No Ads: Completely ad-free
- Open Source: Transparent code that you can review
This project is open source and available under the MIT License.
For questions or support, please refer to the original Daily Dozen information at NutritionFacts.org.
This app is for educational and tracking purposes only. It is not a substitute for professional medical advice. Always consult with healthcare professionals for personalized nutrition and health guidance.
The app is inspired by Dr. Michael Greger's Daily Dozen from NutritionFacts.org but is not officially affiliated with or endorsed by Dr. Greger or NutritionFacts.org.
"Do you not know that your body is a temple of the Holy Spirit within you, which you have from God, and that you are not your own?" - 1 Corinthians 6:19