> ## Documentation Index
> Fetch the complete documentation index at: https://docs.onerep.life/llms.txt
> Use this file to discover all available pages before exploring further.

# Nutrition Tracking — Log Food, Macros, and Daily Habits

> Log meals by searching, scanning barcodes, or snapping a photo. Track macros, water, and supplements with custom targets and macro cycling.

The Nutrition page is where your eating day takes shape. You can log a meal in seconds by searching a food database, scanning a barcode, snapping a photo, or asking Coach — and everything you log rolls up into the calorie and macro rings you see on the dashboard. The more you log, the more useful the rest of the app becomes.

## Food search

OneRep's food search covers two databases at once: **USDA FoodData Central** (generic whole foods with lab-measured nutrition) and **Open Food Facts** (packaged products with barcodes and product photos). Search results merge both sources so you find "chicken breast" and a branded protein bar in the same list.

## Barcode scanning

Point your camera at any product barcode and the app looks up the item in Open Food Facts. Confirmed matches show the nutrition label so you can verify the serving size and log with one tap.

## Snap & Log — photo food detection

Take a photo of your plate and OneRep's AI identifies what's on it.

<Steps>
  <Step title="Tap Snap">
    On the Nutrition page, tap the **Snap** log method. The camera opens ready to take a photo.
  </Step>

  <Step title="Take the photo">
    Frame your plate or meal and tap the shutter. You can also import an image from your photo library.
  </Step>

  <Step title="Review detections">
    The app shows each food it identified, matched against the food database, with estimated gram weights. Adjust any quantity or remove items you don't want to log.
  </Step>

  <Step title="Log to a meal">
    Choose Breakfast, Lunch, Dinner, or Snack and tap **Log**. The nutrition totals land in your diary.
  </Step>
</Steps>

<Note>
  Snap & Log always shows you what it detected before logging anything. Nothing is added to your diary without your review.
</Note>

## Logging a meal by search

<Steps>
  <Step title="Tap Search">
    Open the Nutrition page and tap **Search** (or the + button in the header).
  </Step>

  <Step title="Find your food">
    Type the food name. Results appear from USDA and Open Food Facts. Tap a result to see its nutrition label and adjust the serving size.
  </Step>

  <Step title="Set the serving">
    Use the serving picker to choose grams, a labeled serving (e.g., "1 cup"), or a custom amount.
  </Step>

  <Step title="Choose a meal">
    Select Breakfast, Lunch, Dinner, or Snack. OneRep suggests the most likely meal for the current time of day.
  </Step>

  <Step title="Confirm">
    Tap **Log** and the food appears in your diary with its calories and macros.
  </Step>
</Steps>

## Meal categories

Every food entry belongs to one of four meal slots: **Breakfast**, **Lunch**, **Dinner**, or **Snack**. The Nutrition page shows a running calorie total per meal when meal targets are enabled, so you can see at a glance whether lunch is running light or heavy.

## Meal presets

Save a combination of foods you eat regularly — your usual breakfast, a go-to lunch — as a **meal preset**. Next time, log the entire preset with one tap instead of searching for each food individually. OneRep also watches your recent logs and proactively suggests saving or re-logging patterns it notices.

## Recipes

Recipes are saved combinations of ingredients with fixed gram weights. Unlike meal presets, recipes show full ingredient lists and let you scale servings. You can create a recipe manually, have Coach generate one, or save a Coach-generated recipe directly from a conversation. Logging a recipe logs all its ingredients at once.

## Quick repeat logging

The most recent foods you've logged appear in a **Quick repeat** section when you open the add sheet. Tap any item to log it again at today's suggested meal with a single tap — no search required.

## Custom macro targets

Your calorie and macro goals can be set manually in the daily goals panel on the Nutrition page. Use the +/− steppers to adjust calories, protein, carbs, and fat independently. If you've set up targets through onboarding or your profile, those remain as the baseline you can reset to at any time.

## Macro cycling

Your macro targets can differ on training days versus rest days. When macro cycling is enabled, OneRep automatically applies the correct targets based on whether you have a workout scheduled — so your protein goal can be higher on the days you train without you having to adjust anything manually.

## Net carbs display

If you follow a low-carb or ketogenic diet, you can switch the carbs display to **net carbs** (total carbs minus fiber). The goal adjusts to match, so your progress ring always reflects how you're actually tracking against your chosen approach.

## Water tracking

Log water directly from the Nutrition page. Quick-add buttons cover common amounts (250 ml, 500 ml, 1 L), and a custom entry lets you type any amount. Your daily water goal and a progress bar are visible at a glance, and reaching the goal triggers a wave celebration.

## Supplement schedules

Supplements you've configured appear as a schedule on the Nutrition page. Due supplements show first so you can mark them taken without hunting through a list. Supplements that include macros (protein, fat, carbs, or calories) count toward your daily nutrition totals automatically.

<Tip>
  Use the **Describe meal** feature (via Coach from the add sheet) when you eat something you can't easily search for — a home-cooked dish, a restaurant plate, or a combination of leftovers. Describe it in a sentence and Coach builds a temporary recipe you can review and log.
</Tip>
