Nutrition PWA
A fast, offline-capable progressive web app for tracking daily nutrition. Install it like a native app — no App Store required.
Set your daily targets for each macro and watch progress rings fill as you log meals throughout the day.
Point your camera at any product barcode. Nutrition data is pulled automatically from Open Food Facts.
Search millions of products by name using the Open Food Facts database — no API key required.
Add custom foods to your personal database with full macro data. Great for home cooking and staples.
Compose recipes from individual ingredients. Log by total weight or serving portion.
Progress rings and bars show calories, protein, carbs, fat and fibre versus your targets at a glance.
Browse any past day's food log. Useful for reviewing patterns and seeing what worked.
All data is stored locally. Barcode lookups are cached after first scan. Works without internet.
Export your entire food log as JSON at any time. Your data is yours.
Visit macrolog.co.uk in Safari (iOS) or Chrome (Android). Camera access requires HTTPS — macrolog.co.uk serves over HTTPS automatically.
On iOS: tap the Share button, then "Add to Home Screen". On Android: tap the browser menu and select "Install app". It will launch in full-screen standalone mode like a native app.
Go to the Settings tab and enter your daily calorie and macro targets. These are stored locally — no account needed.
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.
The dashboard updates in real time. Progress rings fill as you get closer to each target. Check back throughout the day.
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.
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