LIBRARYFOODS SIZE Sets the portion every food is measured at. Once added, a food's size can be typed directly in the summary table. PROT{{ basisUnit }}-25%PROTEIN{{ tipText.s1 }} CARB{{ basisUnit }}-8%CARB{{ tipText.s2 }} FAT{{ basisUnit }}-2%FAT{{ tipText.s3 }} KCALDigestion costs 25% of protein calories, 8% of carbohydrate, 2% of fat. Always applied to KCAL; applied to the macro columns only when they show kcal contribution.KCAL{{ tipText.kcal }} {{ extraLabel }}
{{ r.name }} {{ r.measureVal }}{{ r.measureUnit }} {{ r.v1 }} {{ r.v2 }} {{ r.v3 }} {{ r.kcalVal }} {{ r.extraVal }}{{ extraUnit }}
{{ r.name }} {{ r.qtyUnit }} {{ r.v1 }} {{ r.v2 }} {{ r.v3 }} {{ r.sumKcal }} {{ r.sumExtra }}{{ extraUnit }}
TOTAL {{ tot.qty }}{{ tot.qtyUnit }} {{ tot.v1 }} {{ tot.v2 }} {{ tot.v3 }} {{ tot.kcalVal }} {{ tot.extraVal }}{{ extraUnit }}
LIBRARYFOODS
{{ measureLabel }}Sets the portion every food is measured at. Once added, a food's size can be typed directly in the summary table. P{{ basisUnit }}PROTEINBuilds and repairs tissue. 4 kcal per gram; the most satiating macro per calorie. C{{ basisUnit }}CARBThe body's most accessible fuel. 4 kcal per gram; includes sugars, starches and fibre. F{{ basisUnit }}FATMost energy-dense at 9 kcal per gram; needed to absorb vitamins A, D, E and K. {{ mColLabel }}Digestion costs 25% of protein calories, 8% of carbohydrate, 2% of fat. Always applied to KCAL; applied to the macro columns only when they show kcal contribution.
{{ r.name }} {{ r.v1 }} {{ r.v2 }} {{ r.v3 }} {{ r.mVal }}{{ mColUnit }}
{{ r.name }} {{ r.qtyUnit }} {{ r.mSumVal }}{{ mColUnit }}
TOT PROT {{ tot.v1 }}{{ tot.u3 }} CARB {{ tot.v2 }}{{ tot.u3 }} FAT {{ tot.v3 }}{{ tot.u3 }} {{ tot.mTotVal }}{{ mColUnit }}
V0.1.0-BETACLOSE
This open source project is free to fork for non-commercial use.
Values come from USDA FoodData Central, public domain. Numbers are averages for a generic item — brands, cuts and cooking method move them.
DISCLAIMER
Not medical or nutritional advice. Nothing here diagnoses, treats or prevents anything. Talk to a doctor or a registered dietitian before changing your diet, especially with a medical condition, pregnancy, or a history of disordered eating.
MADE BY NICHOLAS GREEN · 2026 GITHUB
← RESULTS
Settings
BASISper 100 g
SOURCEUSDA FDC
SIGNED IN{{ accountLabel }}
OpenDiet.org
SUMMARY SYNCS TO ACCOUNT
Sign in
OR