cd /news/ai-products/safebites-a-zero-backend-ai-meal-pla… · home › topics › ai-products › article
[ARTICLE · art-144558] src=dev.to ↗ pub= topic=ai-products verified=true sentiment=↑ positive

SafeBites: A Zero-Backend AI Meal Planner for My Roommate's Allergies

A developer built SafeBites, a zero-backend, client-side meal planner that generates allergy-safe recipes from a user's available ingredients using prompt engineering with the Gemini API. The static HTML, vanilla JavaScript, and Tailwind CSS app runs entirely in the browser, keeping dietary and health data off external servers, and is open-sourced for others to fork and run locally.

by read1 min views1 publishedOct 3, 2026

This is a submission for the Hacktoberfest Weekend Challenge: Build for a Friend I built SafeBites, a lightweight, client-side meal planner specifically for my college roommate who has strict dietary restrictions. He frequently struggles to figure out what is safe to cook using the random ingredients left in our fridge. This tool takes our current ingredient list and generates safe, custom recipes tailored exactly to his allergies, solving a daily headache for him.

Here is the live, deployed web application:

[https://badshahaditya57-sketch.github.io/safebites-meal-planner/](https://badshahaditya57-sketch.github.io/safebites-meal-planner/)

[https://github.com/badshahaditya57-sketch/safebites-meal-planner/](https://github.com/badshahaditya57-sketch/safebites-meal-planner/)

I kept the stack incredibly simple by building a zero-backend web application using static HTML, vanilla JavaScript, and Tailwind CSS. For the AI component, it utilizes prompt engineering to strictly enforce allergen exclusions via the Gemini API, executing entirely within the browser's local session.

Open innovation was critical for this build because it allowed me to design a tool that requires absolutely no backend infrastructure or databases. By keeping execution strictly client-side, it keeps my roommate's personal dietary and health data completely off external servers that we don't control. It costs us nothing to host, and anyone can fork the open-source repository to run it locally for their own family members.

── more in #ai-products 4 stories · sorted by recency
── more on @safebites 3 stories trending now
sponsored brought to you by zahid.host 4,200+ EU-deployed projects
reading about agents? ship yours in a single git push.

Run your AI side-project on zahid.host

EU-based hosting, git-push deploys, automatic HTTPS, no cold starts. Free tier with a custom domain — perfect for shipping the agent you just read about.

$git push zahid main
→ Live at https://your-agent.zahid.host ✓
Get free account → Pricing
from €0/mo · no card required
LIVE [news/safebites-a-zero-bac…] indexed:0 read:1min 2026-10-03 · —