Macro Gauge User Guide
Welcome to Macro Gauge — your comprehensive nutrition tracking platform powered by AI. Track calories, macros, water intake, and get personalized meal plans all in one beautifully designed application.
Macro Gauge is a modern web application that combines nutrition tracking with AI-powered meal planning. It features dual API support (USDA and Open Food Facts), global food database access, and GPT-4 powered meal plan generation.
Getting Started
To begin using Macro Gauge, you'll need to create an account. The registration process is straightforward:
- Click Register on the login page
- Enter your email and create a secure password
- Log in
Initial Setup
When you first log in, it is best to set your daily nutrition goals in the Settings Tab:
- Calorie Goal - Your target daily calorie intake (default: 2000 kcal)
- Protein Goal - Daily protein target in grams
- Water Goal - Daily water intake target in liters
Macro Gauge provides science-based default values, but you can customize everything in Settings.
Dashboard Overview
The dashboard is your central hub for tracking daily nutrition. It's divided into several key sections:
Today's Summary
At the top of your dashboard, you'll see real-time statistics for:
| Metric | Description |
|---|---|
| Calories | Total calories consumed vs. your daily goal |
| Protein | Grams of protein tracked for the day |
| Water | Liters of water logged vs. your hydration goal |
| Day Streak | Consecutive days you've met your goals |
Quick Add Suggestions
The dashboard shows personalized suggestions based on your tracking history:
- Add more meals - When you're under your calorie goal
- Add more protein - When protein intake is low
- Stay hydrated - Reminder to log water intake
Food Search & Database
Macro Gauge offers two powerful food databases to search from:
Database Options
1. USDA Database (Default - can be changed in settings)
The USDA FoodData Central database provides comprehensive nutritional data for foods available in the United States. It includes:
- Branded products with barcodes
- Generic ingredients and whole foods
- Restaurant chain menu items
- USDA-verified nutritional accuracy
2. Open Food Facts (Global)
Open Food Facts is a collaborative database covering foods from around the world. Features include:
- Country-specific product listings
- 19 country databases (UK, France, Germany, India, etc.)
- Community-contributed data
- Barcode scanning capability
USDA has API rate limits: 100 searches per minute, 1000 product queries per minute. The app manages this automatically with built-in rate limiting.
Open Food Facts has API rate limits: 10 searches per minute, 100 product queries per minute. The app manages this automatically with built-in rate limiting.
How to Search
- Type your food name in the search box
- Browse results sorted by relevance (exact matches first)
Search Tips
// Good searches
"chicken breast"
"olive oil"
"greek yogurt"
// Better specificity
"grilled chicken breast"
"extra virgin olive oil"
"plain greek yogurt 2%"
Adding Food to Your Log
Once you find a food item:
- Click the + Add button
- Adjust serving size if needed
- Select meal type (Breakfast, Lunch, Dinner, Snack)
- Click Log Meal
Use the Favorites feature to save frequently eaten foods for one-tap logging!
Calendar & Historical Tracking
The Calendar view lets you track and review nutrition data across any date range.
Calendar Features
- Visual Day Indicators - Green = goal met, Yellow = partial, Gray = no data, Red = exceeded goal
- Date Navigation - Click any date to view that day's meals
- Week View - See 7 days at a glance with totals
- Monthly Analytics - Track streaks and average intake
AI Meal Planner
The AI Meal Planner uses GPT-4o-mini to generate personalized 7-day meal plans based on your preferences and goals.
How It Works
The meal planner guides you through an 8-question quiz covering:
- Goal - Weight loss, maintenance, or muscle gain
- Dietary Restrictions - Vegan, vegetarian, keto, gluten-free, etc.
- Calorie Target - Auto-filled from your settings
- Foods to Avoid - Allergens or dislikes
- Cuisine Preferences - Italian, Asian, Mediterranean, etc.
- Meals Per Day - 3, 4, 5, or 6 meals
- Budget - Low, medium, or high
- Shopping Preference - Minimal ingredients vs. complex recipes
Your responses are sent to GPT-4o-mini, which analyzes your needs and generates a complete meal plan with macro breakdowns for each meal.
Meal Plan Output
After submitting the quiz, you receive:
- 7-Day Plan - Monday through Sunday meals
- Macro Breakdown - Calories, protein, carbs, fat for each meal
- Daily Totals - Sum calories per day to match your goal
- CSV Export - Download your plan for offline use
Sample Meal Plan Structure
| Day | Breakfast | Lunch | Dinner | Total |
|---|---|---|---|---|
| Monday | Oatmeal with Berries (350 kcal) | Grilled Chicken Salad (450 kcal) | Salmon with Vegetables (550 kcal) | 1,350 kcal |
Cooldown System
To prevent excessive API usage, there's a 7-day cooldown between meal plan generations.
During cooldown, the "Re-generate" button is disabled. A countdown timer shows remaining time (days:hours:minutes:seconds).
Export to CSV
Click Export CSV to download your meal plan in spreadsheet format, including:
Day,Meal Type,Meal Name,Calories,Protein (g),Carbs (g),Fat (g)
Monday,Breakfast,Paneer Bhurji,400,28,8,30
Monday,Lunch,Palak Paneer,450,22,14,36
Progress Tracker
The Progress Tracker visualizes your nutrition data over time with interactive charts and statistics.
Chart types
- Calorie Trend Desktop - Line graph showing Calories; Protein; Fat; Carbs for 30/31 days (the entire month)
- Calorie Trend Mobile - Line graph showing Calories; Protein; Fat; Carbs for 7 days (the entire week)
- Weekly Averages - Bar chart comparing week-to-week performance
- Water Intake - Hydration tracking over selected period
Settings & Customization
Access Settings from the sidebar to customize your Macro Gauge experience.
Nutrition Goals
Update your daily targets:
- Daily Calorie Goal - Main energy target
- Weekly Calorie Goal - Auto-calculated as daily × 7
- Protein Goal - Daily grams of protein
- Water Goal - Daily hydration target in liters
Database Source
Choose your preferred food database:
- USDA - US-focused, highly accurate
- Open Food Facts - Global coverage with country selection
Country Selection (Open Food Facts)
When using Open Food Facts, select from 19 countries:
Global (All Countries)
United States
United Kingdom
France
Germany
Italy
Spain
India
Japan
... and more
Troubleshooting
Common Issues
Food search returns no results
- Try simplifying your search term
- Switch to the other database (USDA ↔ Open Food Facts)
- Check spelling and remove brand names
Data not saving
- Check your internet connection
- Refresh the page and try again
- Clear browser cache and cookies
- Contact support if issue persists
Meal planner won't generate
- Verify you're not in the 7-day cooldown period
- Complete all 8 quiz questions
- Check that input fields don't contain special characters
Your data is encrypted in transit and at rest. We never share your personal information or eating habits with third parties. Meal plan generation is anonymized.
Tips & Best Practices
For Accurate Tracking
- Log meals immediately after eating
- Use a kitchen scale for portion accuracy
- Save frequent foods to Favorites
- Review weekly averages, not daily fluctuations
For Better Meal Plans
- Be specific in the "Foods to Avoid" field
- Choose cuisines you genuinely enjoy
- Match meals per day to your actual eating schedule
- Export your plan before the 7-day cooldown
Support
Need help? We're here for you:
- Email: support@macrogauge.com
- Documentation: This page (bookmark it!)
- Bug Reports: Use the feedback form in Settings
You now know everything you need to master Macro Gauge. Start tracking, hit your goals, and let AI help you plan better meals.
Features Overview
Explore all the powerful features that make Macro Gauge your ultimate nutrition companion.
🍎 Dual Food Database
Access to both USDA and Open Food Facts APIs gives you the largest food database in the world.
🤖 AI Meal Planning
GPT-4o-mini powered meal plan generation with full customization for goals, preferences, and restrictions.
📊 Visual Analytics
Beautiful charts and graphs to visualize your progress over time.
🌍 Global Support
Open Food Facts integration supports 19 countries with localized food databases.
⚡ Real-time Sync
All your data syncs across devices instantly with cloud storage.
🎯 Smart Goals
Set and track calorie, protein, and water goals with intelligent recommendations.
API Reference
For developers integrating with Macro Gauge or self-hosting.
Authentication
All API requests require JWT authentication:
Authorization: Bearer YOUR_JWT_TOKEN
Endpoints
POST /api/auth/login
Authenticate user and receive JWT token.
{
"email": "user@example.com",
"password": "password123"
}
GET /api/entries/load
Load user's nutrition entries for a specific date.
POST /api/entries/save-all
Save calendar data, meals, favorites, and settings.
POST /api/meal-plan/generate
Generate AI meal plan based on quiz answers.
GET /api/meal-plan/status
Check meal plan cooldown status and existing plans.