SafePlate
This is a submission for the Hacktoberfest Weekend Challenge: Build for a Friend What I Built My friend Aarav is allergic to peanuts, tree nuts and dairy. Every time we eat out or grab a snack, the same thing happens. He flips the packet over, squints at the tiny print, and asks: "Is **lecithin * a soy thing? Is khoya dairy? Does 'may contain' count?"* Restaurants are worse. "Paneer butter…
SafePlate is an allergy checker designed to help friends like Aarav, who struggle with peanut, tree nut, and dairy allergies. The app, built for Aarav, utilizes an open-weight large language model (LLM) running entirely within the browser via WebGPU, eliminating the need for an API key or server. SafePlate allows users to input ingredient labels, menu items, or recipes, and it provides a verdict of SAFE, CAUTION, or AVOID based on the user's allergy profile.
The app also identifies hidden ingredients, offers swaps, and answers follow-up questions. It runs offline once the model is cached, making it useful in areas with poor connectivity. SafePlate is a second line of defense, providing an extra layer of safety in checking ingredient labels, especially in situations where a doctor's advice isn't immediately available.
Written by urgent.news from Dev.to's reporting — not their text. Machine-written — may contain errors; check the original before relying on it.