SafePlate: A Week of Allergy-Safe Meals for a Friend, Planned by Local Gemma
Description and use
SafePlate generates a 7‑day allergy‑safe meal plan and grocery list locally, reducing planning effort and preserving privacy.
Problem
Planning weekly meals for a friend with food allergies is time‑consuming and error‑prone; existing planners ignore or hide allergy data.
Outcome
SafePlate enabled a friend to receive a fully allergy‑safe 7‑day meal plan and grocery list locally, reducing planning time and eliminating cloud data exposure.
Workflow
- 1. User enters friend’s allergies, dislikes, and diet preferences into a form.
- 2. Backend constructs a strict prompt and sends it to the locally‑hosted Gemma 3 model via Ollama.
- 3. Model returns a JSON of 7 meals and a grocery list.
- 4. Server parses the JSON and performs a keyword safety check against the allergy list.
- 5. Frontend displays each day’s meal card, a checkbox shopping list, and red warnings for flagged items.
- 6. User can print the list or review the plan on the local machine.
Evidence
SafePlate makes a 7-day meal plan and a shopping list for a friend with food allergies.
With SafePlate you type their allergies, dislikes and diet once, and get a full week of simple, affordable meals plus a checklist you can print and take shopping.
As a second layer of safety, the app scans every meal and grocery item for the allergy words you typed and shows a red "Check" warning if one appears.
The app finds whichever Gemma model is installed in Ollama, so there is nothing to configure.
I built the project with AI assistance (Claude) and ran it on my own Ubuntu laptop.
- Record date: 2026-10-17T09:56:15.648Z