Static, zero-backend architecture

CoFID Recipe Nutrition Calculator

Search the full imported McCance and Widdowson CoFID dataset, add ingredients with type-ahead, and calculate nutrition for the whole recipe, per 100 g, and per serving.

Recipe ingredients

No ingredients added yet.

Food Weight, g

Nutrition results

Values are calculated directly in the browser from the imported CoFID dataset.

Add ingredients, then calculate.

Build and host for free

Use the README for full step by step instructions.

  1. Run the importer once to generate app/data/meta.json and app/data/foods.json.
  2. Test locally by serving the app folder with a simple static web server.
  3. Deploy the app folder only, there is no backend.
  4. Use GitHub Pages or Cloudflare Pages first, use Netlify or Vercel only if you prefer their workflow.