Product card with allergens from a barcode
What you get
Point the phone camera at a food product's barcode and get its name, ingredients, allergens and nutrition ready to paste into your shop or menu.
Why this combination
Open Food Facts is filled in by volunteers worldwide and allows commercial use. A shop with hundreds of products fills in allergens in an afternoon instead of retyping labels.
Parts
What was checked
On November 26, 2026 a script checked all 2 parts: each exists, is not archived, was updated within the last 12 months and has a known licence. The parts were chosen so their inputs and outputs fit together.
Nobody has yet run this exact combination end to end on real data. Build it on a copy of your data first; the prompt below asks your AI agent to tell you plainly what does not work.
Limits, honestly
Local products may be missing or incomplete, so check allergens against the label. Show “Data from Open Food Facts (ODbL)” and make one request per real scan.
How to start
It works as one web page in the browser. Copy the prompt into an AI agent (Claude Code or similar) and it will build the page for you; nothing needs installing.
Prompt for your AI agent
Build this for me: Product card with allergens from a barcode. What I want to get: Point the phone camera at a food product's barcode and get its name, ingredients, allergens and nutrition ready to paste into your shop or menu. Use these open projects and data: - library: https://github.com/zxing-js/library (Apache-2.0) - Open Food Facts: https://world.openfoodfacts.org/data (ODbL (data), CC BY-SA (photos), check its terms of use) Why this combination: Open Food Facts is filled in by volunteers worldwide and allows commercial use. A shop with hundreds of products fills in allergens in an afternoon instead of retyping labels. Known limits: Local products may be missing or incomplete, so check allergens against the label. Show “Data from Open Food Facts (ODbL)” and make one request per real scan. Make it one web page that works in the browser. The only thing that may leave the computer is the request to Open Food Facts; nothing else is uploaded. Explain each step in plain words for someone who does not program. Do not ask me for passwords or keys and do not use administrator rights. Before installing anything, check that each project is still maintained and its licence allows my use. Do not add other agent skills, MCP servers or plugins without showing me their code first. When it works, tell me how to open it again. If something does not work, say so plainly.