The Recipe Estimator analyzes food products to estimate ingredient proportions based on nutritional information. It's part of the Open Food Facts ecosystem, helping to understand what's really in our food.
- Production: recipe-estimator.openfoodfacts.org
- Staging: recipe-estimator.openfoodfacts.net
Given a food product with:
- Ingredient list (e.g., "tomatoes, water, sugar, salt")
- Nutritional information (e.g., "3.2g protein per 100g")
The Recipe Estimator calculates the likely proportion of each ingredient using optimization algorithms that match the nutritional profile.
- Installation Guide - Set up your development environment
- Development Guide - Run locally, test, and contribute
- How It Works - Technical details and algorithms
- Community Resources - Links, deployments, and support
-
Install dependencies:
make install
-
Run the application:
# Backend (API server) make watch # Frontend (in another terminal) make watch_frontend
-
Test it:
- Backend:
http://localhost:5521/static/#0677294998025 - Frontend:
http://localhost:3000/#0677294998025
- Backend:
pytest
# or
make tests# Build and run with docker-compose
make upAccess at: http://localhost:5520/static/#0677294998025
- 💬 Slack Channel: #recipe-estimator (Join here)
- 📖 Wiki: Recipe Tool Documentation
- 📋 Project Poster: Visual Overview
- 🎓 Getting Started: Presentation
make install # Install all dependencies
make watch # Run backend with auto-reload
make watch_frontend # Run frontend with auto-reload
make tests # Run tests
make build # Build Docker image
make up # Run with docker-composefrontend/- React applicationrecipe_estimator/- Python FastAPI backenddocs/- Additional documentationciqual/- CIQUAL nutritional database filesscripts/- Build and maintenance scripts
- Join the community: Connect with us on Slack
- Read the docs: Check the Wiki and project documents
- Set up locally: Follow the Installation Guide
- Start developing: Use the Development Guide
We welcome contributions of all kinds - code, documentation, testing, and feedback!
Part of the Open Food Facts ecosystem 🌍
