Open App →

Track your macros,
not your patience.

A fast, offline-capable progressive web app for tracking daily nutrition. Install it like a native app — no App Store required.

No account needed Works offline Installs on iPhone & Android Free & open source
Launch Macro Tracker

What's New

v2026-08-29 — Setup & Onboarding Overhaul Latest
  • Dark / Light / Auto theme toggle in Settings → Appearance
  • TDEE wizard now asks for biological sex and diet style (Standard, High Protein, Carb Heavy, Low Carb, Keto)
  • Onboarding tour navigates to each section — Log Food, Recipes, Trends, Fasting — as it describes them
  • Tour includes a PWA install step with browser-specific guidance
  • Several data-safety bug fixes in the tour (retaking the tour no longer risks overwriting real data)
  • Changelog and Supported Browsers docs pages added
v2026-08-28 — Major feature release
  • Custom domain macroslog.co.uk — app now a proper installable PWA
  • First-run onboarding tour with live demo data
  • Settings page with per-tab and per-section visibility toggles
  • Ko-fi support integration across app and docs
  • GPL v3 open-source licence
  • Custom date picker with dot indicators on the History screen
  • Data export now includes all 14 keys; import validates types

Full changelog →

What it tracks

Set your daily targets for each macro and watch progress rings fill as you log meals throughout the day.

Calories
Protein
Carbohydrates
Fat
Fibre
Sugar (warning)

Features

📷

Barcode Scanning

Point your camera at any product barcode. Nutrition data is pulled automatically from Open Food Facts.

🔍

Food Search

Search millions of products by name using the Open Food Facts database — no API key required.

Manual Entry

Add custom foods to your personal database with full macro data. Great for home cooking and staples.

🍳

Recipe Builder

Compose recipes from individual ingredients. Log by total weight or serving portion.

📈

Daily Dashboard

Progress rings and bars show calories, protein, carbs, fat and fibre versus your targets at a glance.

🕑

History View

Browse any past day's food log. Useful for reviewing patterns and seeing what worked.

Offline-First

All data is stored locally. Barcode lookups are cached after first scan. Works without internet.

📥

Data Export

Export your entire food log as JSON at any time. Your data is yours.

How to use it

1

Open the app

Visit macroslog.co.uk in Safari (iOS) or Chrome (Android). Camera access requires HTTPS — macroslog.co.uk serves over HTTPS automatically.

2

Install to your home screen (optional)

Chrome or Edge — tap the browser menu and select "Install app" or "Add to Home Screen". A prompt may appear automatically. iOS Safari — tap the Share button (☐↑), then "Add to Home Screen". Other browsers may not support installation — see the supported browsers section below. You can always use Macrolog directly in your browser without installing.

3

Set your targets

Go to the Settings tab and enter your daily calorie and macro targets. These are stored locally — no account needed.

4

Log meals

Tap "+" to add a food. Scan a barcode, search by name, pick from your recent foods, or enter custom macros manually. Adjust the weight and confirm.

5

Watch your progress

The dashboard updates in real time. Progress rings fill as you get closer to each target. Check back throughout the day.

Supported Browsers

Macrolog works in any modern browser, but only some support full PWA installation (home screen icon, offline mode, standalone launch).

Browser Platform Install support
Chrome Android & desktop ✅ Full
Edge Windows & Mac ✅ Full
Samsung Internet Android ✅ Full
Safari iOS & iPadOS ⚠️ Via Share menu
Firefox Desktop ❌ Browser only
Opera Android ✅ Full
Brave, Arc, Firefox Desktop ❌ Browser only

No install? No problem — Macrolog works fully in any browser. Installation just adds an icon and removes the browser bar.

Tech stack

Vanilla HTML/CSS/JS Progressive Web App (PWA) Service Worker IndexedDB / localStorage Web App Manifest Open Food Facts API Camera / MediaDevices API Cloudflare / Custom domain

Zero npm dependencies. No build step. The entire app ships as a single index.html file plus a service worker — fast to load, easy to audit.

Support the project

Macrolog is completely free

No ads. No accounts. No subscription. The app is built and maintained by one person in their spare time. If it saves you time or helps you hit your goals, buying me a coffee is a lovely way to say thanks — and it helps keep the project alive.

☕ Buy me a coffee