<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom" xmlns:dc="http://purl.org/dc/elements/1.1/">
  <channel>
    <title>DEV Community: rudra sanandiya</title>
    <description>The latest articles on DEV Community by rudra sanandiya (@rudrasanandiya).</description>
    <link>https://dev.to/rudrasanandiya</link>
    <image>
      <url>https://media2.dev.to/dynamic/image/width=90,height=90,fit=cover,gravity=auto,format=auto/https:%2F%2Fdev-to-uploads.s3.us-east-2.amazonaws.com%2Fuploads%2Fuser%2Fprofile_image%2F4153421%2Ffbb7e6a2-2450-4e69-9974-32c1e0b8d95f.jpg</url>
      <title>DEV Community: rudra sanandiya</title>
      <link>https://dev.to/rudrasanandiya</link>
    </image>
    <atom:link rel="self" type="application/rss+xml" href="https://dev.to/feed/rudrasanandiya"/>
    <language>en</language>
    <item>
      <title>My Friends Spent 10 Minutes Squinting at Food Labels, So I Built Nibble Nanny</title>
      <dc:creator>rudra sanandiya</dc:creator>
      <pubDate>Sun, 04 Oct 2026 11:05:58 +0000</pubDate>
      <link>https://dev.to/rudrasanandiya/my-friends-spent-10-minutes-squinting-at-food-labels-so-i-built-nibble-nanny-2eh7</link>
      <guid>https://dev.to/rudrasanandiya/my-friends-spent-10-minutes-squinting-at-food-labels-so-i-built-nibble-nanny-2eh7</guid>
      <description>&lt;p&gt;&lt;em&gt;This is a submission for the &lt;a href="https://dev.to/challenges/hacktoberfest-weekend-2026-10-01"&gt;Hacktoberfest Weekend Challenge: Build for a Friend&lt;/a&gt;&lt;/em&gt;&lt;/p&gt;




&lt;h2&gt;
  
  
  What I Built
&lt;/h2&gt;

&lt;p&gt;Picture this: Saturday afternoon in a crowded supermarket snack aisle.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Sneha&lt;/strong&gt; is holding a biscuit packet up to the fluorescent light, squinting at 4-point font:&lt;br&gt;&lt;br&gt;
&lt;em&gt;"Milk solids (1%). Wait, is sodium caseinate dairy?"&lt;/em&gt;&lt;br&gt;&lt;br&gt;
I tell her yes—casein is the primary milk protein that triggers her allergy. She sighs and puts the box back on the shelf.&lt;/p&gt;

&lt;p&gt;Two feet away, &lt;strong&gt;Priya&lt;/strong&gt; is holding a "fitness bar" proudly labeled &lt;strong&gt;"NO ADDED SUGAR"&lt;/strong&gt;. She has no idea that the second ingredient by weight is &lt;strong&gt;maltodextrin&lt;/strong&gt;—an industrial corn derivative with a glycemic index of &lt;strong&gt;105 to 110&lt;/strong&gt;, spiking blood sugar faster than pure table sugar (GI 65).&lt;/p&gt;

&lt;p&gt;Beside them, &lt;strong&gt;Rahul&lt;/strong&gt; is pulling out his phone calculator, trying to convert grams of salt to milligrams of sodium against his doctor-mandated 1,500mg daily hypertension limit. And &lt;strong&gt;Amit&lt;/strong&gt;, who follows strict Jain dietary rules, is frantically Googling whether mysterious code numbers like &lt;strong&gt;E120&lt;/strong&gt; mean strawberry fruit extract or crushed insect bodies (&lt;em&gt;spoiler: it's crushed cochineal bugs&lt;/em&gt;).&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Same grocery aisle. Four friends with real dietary constraints. None of them should need a biochemistry degree just to pick an afternoon snack.&lt;/strong&gt;&lt;/p&gt;

&lt;p&gt;So I built &lt;strong&gt;Nibble Nanny&lt;/strong&gt; 🍪 — an open-source, mobile-first food safety guardian powered by &lt;strong&gt;Google Gemma Open-Weights Vision AI&lt;/strong&gt; and deterministic validation engines. One smartphone snap of a food package delivers four personalized verdicts simultaneously, unmasks deceptive corporate packaging loopholes, and explains every chemical ingredient in plain English.&lt;/p&gt;


&lt;h3&gt;
  
  
  Meet the Nibble Nanny Squad 🦸‍♀️
&lt;/h3&gt;

&lt;p&gt;Rather than generic checkboxes or walls of raw numbers, Nibble Nanny assigns each friend a dedicated guardian persona:&lt;/p&gt;

&lt;div class="table-wrapper-paragraph"&gt;&lt;table&gt;
&lt;thead&gt;
&lt;tr&gt;
&lt;th&gt;Squad Member&lt;/th&gt;
&lt;th&gt;For Friend&lt;/th&gt;
&lt;th&gt;Dietary Guardrail&lt;/th&gt;
&lt;th&gt;The Hidden Danger It Catches&lt;/th&gt;
&lt;/tr&gt;
&lt;/thead&gt;
&lt;tbody&gt;
&lt;tr&gt;
&lt;td&gt;🥛 &lt;strong&gt;Dairy Nanny&lt;/strong&gt;
&lt;/td&gt;
&lt;td&gt;&lt;strong&gt;Sneha&lt;/strong&gt;&lt;/td&gt;
&lt;td&gt;Lactose &amp;amp; Casein/Whey Milk Allergies&lt;/td&gt;
&lt;td&gt;Sneaky dairy derivatives like sodium caseinate, milk solids, whey permeate, butter oil&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;🍬 &lt;strong&gt;Sugar Nanny&lt;/strong&gt;
&lt;/td&gt;
&lt;td&gt;&lt;strong&gt;Priya&lt;/strong&gt;&lt;/td&gt;
&lt;td&gt;Blood Glucose &amp;amp; Pre-Diabetes Caps&lt;/td&gt;
&lt;td&gt;30+ covert sugars (maltodextrin, high-fructose corn syrup, invert syrup, malt extract)&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;🧂 &lt;strong&gt;Salt Nanny&lt;/strong&gt;
&lt;/td&gt;
&lt;td&gt;&lt;strong&gt;Rahul&lt;/strong&gt;&lt;/td&gt;
&lt;td&gt;Hypertension &amp;amp; Daily Sodium Caps&lt;/td&gt;
&lt;td&gt;Tiny 15g "serving size" tricks that hide massive whole-pack sodium payloads&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;🌱 &lt;strong&gt;Karma Nanny&lt;/strong&gt;
&lt;/td&gt;
&lt;td&gt;&lt;strong&gt;Amit&lt;/strong&gt;&lt;/td&gt;
&lt;td&gt;Jain Purity &amp;amp; Strict Vegetarianism&lt;/td&gt;
&lt;td&gt;Animal rennet in cheeses, gelatin, bone char, and bug-based colorants like Carmine (E120)&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;🕵️‍♀️ &lt;strong&gt;Nanny Noir&lt;/strong&gt;
&lt;/td&gt;
&lt;td&gt;&lt;em&gt;Everyone&lt;/em&gt;&lt;/td&gt;
&lt;td&gt;Corporate Deception Watchdog&lt;/td&gt;
&lt;td&gt;Trans fat 0g loopholes, sugar splitting, and carcinogenic chemical combos&lt;/td&gt;
&lt;/tr&gt;
&lt;/tbody&gt;
&lt;/table&gt;&lt;/div&gt;


&lt;h2&gt;
  
  
  Demo
&lt;/h2&gt;

&lt;ul&gt;
&lt;li&gt;🌐 &lt;strong&gt;Live Web Application&lt;/strong&gt;: &lt;a href="https://nibble-nanny.onrender.com" rel="noopener noreferrer"&gt;https://nibble-nanny.onrender.com&lt;/a&gt;
&lt;/li&gt;
&lt;li&gt;⚡ &lt;strong&gt;Instant Interactive Demo Mode&lt;/strong&gt;: Don't have a snack packet on your desk? The app includes &lt;strong&gt;6 preloaded supermarket presets&lt;/strong&gt; (Parle-G Glucose Biscuits, Maggi Masala Noodles, Choco Crunch Protein Bar, Citrus Cooler, Golden Toast Rusk, and Berry Blast Gummy Chews) that evaluate instantaneously in single clicks.&lt;/li&gt;
&lt;/ul&gt;
&lt;h3&gt;
  
  
  Key Screens &amp;amp; Capabilities
&lt;/h3&gt;

&lt;ol&gt;
&lt;li&gt;
&lt;strong&gt;One-Tap Multi-Friend Verdicts&lt;/strong&gt;: Color-coded cards (&lt;strong&gt;OK&lt;/strong&gt;, &lt;strong&gt;CAREFUL&lt;/strong&gt;, &lt;strong&gt;SKIP&lt;/strong&gt;) with an instant Quick Overview strip showing every friend's status at a glance.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Nanny Noir Deception Radar&lt;/strong&gt;: Flags corporate marketing traps like &lt;strong&gt;Sugar Splitting&lt;/strong&gt; (dividing sugar into 4 different names so none appears as ingredient #1) and the &lt;strong&gt;0g Trans Fat Loophole&lt;/strong&gt; (using partially hydrogenated oils under 0.5g per serving).&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;The Ingredient Classroom&lt;/strong&gt;: Tap any of 120+ ingredients to reveal plain-English explanations of what it is, why manufacturers use it, and what it does to your body.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Mathematical Trust Gate&lt;/strong&gt;: Displays the &lt;strong&gt;Atwater Energy Cross-Check&lt;/strong&gt;, recalculating calories from carbs, protein, fat, and fiber to catch misprinted or fraudulent nutrition tables.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Mobile-First &amp;amp; Dark Mode&lt;/strong&gt;: Engineered for one-handed supermarket use with floating camera scan buttons and ambient dark mode.&lt;/li&gt;
&lt;/ol&gt;


&lt;h2&gt;
  
  
  Code
&lt;/h2&gt;


&lt;div class="ltag-github-readme-tag"&gt;
  &lt;div class="readme-overview"&gt;
    &lt;h2&gt;
      &lt;img src="https://assets.dev.to/assets/github-logo-5a155e1f9a670af7944dd5e12375bc76ed542ea80224905ecaf878b9157cdefc.svg" alt="GitHub logo"&gt;
      &lt;a href="https://github.com/rudra1806" rel="noopener noreferrer"&gt;
        rudra1806
      &lt;/a&gt; / &lt;a href="https://github.com/rudra1806/nibble-nanny" rel="noopener noreferrer"&gt;
        nibble-nanny
      &lt;/a&gt;
    &lt;/h2&gt;
    &lt;h3&gt;
      🍪 AI food guardian built for friends with dietary restrictions. One photo → 4 verdicts (Dairy, Sugar, Salt, Jain) + corporate deception radar + ingredient education. Powered by Gemma 3 &amp;amp; Render for Hacktoberfest '26.
    &lt;/h3&gt;
  &lt;/div&gt;
  &lt;div class="ltag-github-body"&gt;
    
&lt;div id="readme" class="md"&gt;&lt;div class="markdown-heading"&gt;
&lt;h1 class="heading-element"&gt;🍪 Nibble Nanny — The AI Food Guardian Built for Friends&lt;/h1&gt;
&lt;/div&gt;
&lt;blockquote&gt;
&lt;p&gt;&lt;strong&gt;Submission for the Hacktoberfest Weekend Challenge: Build for a Friend&lt;/strong&gt;&lt;br&gt;
&lt;em&gt;One photo. Four friends protected. Corporate deception unmasked.&lt;/em&gt;&lt;/p&gt;
&lt;/blockquote&gt;
&lt;p&gt;&lt;a href="https://dev.to/challenges/hacktoberfest-weekend-2026-10-01" rel="nofollow"&gt;&lt;img src="https://camo.githubusercontent.com/e97d99c91ad19d290b50baaf950ca4fad51022a4dfb505462d7c68781c3e3905/68747470733a2f2f696d672e736869656c64732e696f2f62616467652f4861636b746f626572666573742d323032362532305765656b656e642532304368616c6c656e67652d6f72616e67652e737667" alt="Hacktoberfest 2026"&gt;&lt;/a&gt;
&lt;a href="https://ai.google.dev/gemma" rel="nofollow noopener noreferrer"&gt;&lt;img src="https://camo.githubusercontent.com/7b79470428ceb1d635db98893e267d8ee5dfca31357d98561c0c4e08e84911ca/68747470733a2f2f696d672e736869656c64732e696f2f62616467652f4149253230436f72652d47656d6d6125323033253230566973696f6e2d626c75652e737667" alt="Built with Gemma 3"&gt;&lt;/a&gt;
&lt;a href="https://render.com" rel="nofollow noopener noreferrer"&gt;&lt;img src="https://camo.githubusercontent.com/40e2aa2efd6340c2486d9b45c64c462a0c0e451f115148bafe2ab16389a420bb/68747470733a2f2f696d672e736869656c64732e696f2f62616467652f4465706c6f792d52656e646572253230446f636b65722d3436453342372e737667" alt="Deployed on Render"&gt;&lt;/a&gt;
&lt;a href=""&gt;&lt;img src="https://camo.githubusercontent.com/d556fd2d83cff4a5353780de6ca659b91219918e607821cbace806423db47ecd/68747470733a2f2f696d672e736869656c64732e696f2f62616467652f54657374732d3139253246313925323050617373696e672d737563636573732e737667" alt="Tests Passing"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;div class="markdown-heading"&gt;
&lt;h2 class="heading-element"&gt;📖 The Story&lt;/h2&gt;
&lt;/div&gt;
&lt;p&gt;Standing in a supermarket aisle with friends shouldn't require a master's degree in food chemistry.&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;
&lt;strong&gt;Sneha&lt;/strong&gt; has severe lactose intolerance, constantly squinting at 4pt text wondering if &lt;em&gt;"sodium caseinate"&lt;/em&gt; or &lt;em&gt;"whey powder"&lt;/em&gt; counts as dairy.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Priya&lt;/strong&gt; is pre-diabetic, unaware that &lt;em&gt;"maltodextrin"&lt;/em&gt; has a glycemic index of 105—spiking blood sugar faster than pure table sugar.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Rahul&lt;/strong&gt; manages hypertension, trying to mental-math grams of salt into milligrams of sodium across a 4-serving bag of chips.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Amit&lt;/strong&gt; follows strict Jain dietary rules, regularly having to search whether cryptic numbers like &lt;strong&gt;E120&lt;/strong&gt; mean red fruit or boiled insect bodies.&lt;/li&gt;
&lt;/ul&gt;
&lt;p&gt;We built &lt;strong&gt;Nibble Nanny&lt;/strong&gt; so that a single smartphone snapshot answers all four friends' questions in seconds, exposes deceptive packaging loopholes, and teaches…&lt;/p&gt;&lt;/div&gt;
  &lt;/div&gt;
  &lt;div class="gh-btn-container"&gt;&lt;a class="gh-btn" href="https://github.com/rudra1806/nibble-nanny" rel="noopener noreferrer"&gt;View on GitHub&lt;/a&gt;&lt;/div&gt;
&lt;/div&gt;


&lt;ul&gt;
&lt;li&gt;
&lt;strong&gt;GitHub Repository&lt;/strong&gt;: &lt;a href="https://github.com/rudra1806/nibble-nanny" rel="noopener noreferrer"&gt;https://github.com/rudra1806/nibble-nanny&lt;/a&gt;
&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;License&lt;/strong&gt;: MIT (100% Free &amp;amp; Open Source)&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Tech Stack&lt;/strong&gt;: Python 3.9+, Flask, Google Gemma Open-Weights Vision AI, Vanilla CSS (Zero Heavy Frameworks), Docker, Render Cloud.&lt;/li&gt;
&lt;/ul&gt;

&lt;h3&gt;
  
  
  Clean Project Architecture
&lt;/h3&gt;



&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight plaintext"&gt;&lt;code&gt;nibble-nanny/
├── extract.py         # Google Gemma Vision Perceptual Extraction &amp;amp; Structured JSON Schema
├── validate.py        # Mathematical Trust Gate (Atwater equation, unit conversions, bounds)
├── rules.py           # Squad Evaluation Engine (Sneha, Priya, Rahul, Amit deterministic rules)
├── tricks.py          # Nanny Noir Watchdog: 12 corporate deception &amp;amp; chemical hazard detectors
├── educate.py         # The Ingredient Classroom: 120+ curated ingredient body-impact guides
├── app.py             # Flask Web Server, REST API &amp;amp; Sample Packet Endpoints
├── profiles/          # Friend profiles (sneha.json, priya.json, rahul.json, amit.json)
├── eval/              # Supermarket test packets dataset &amp;amp; benchmark suite
├── static/            # Mobile-first responsive frontend (HTML5, CSS3 tokens, SVG icons, JS)
│   ├── logo-mascot.png  # Cute brand mascot with green shield &amp;amp; headset
│   ├── cover.png        # 1000x420 Dev.to cover banner
│   └── app.js           # Client-side reactivity, camera capture, and collapsible cards
└── render.yaml        # Automated Render Cloud Docker Blueprint
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;






&lt;h2&gt;
  
  
  How I Built It
&lt;/h2&gt;

&lt;p&gt;Building a reliable food safety companion taught me a foundational lesson: &lt;strong&gt;Never let a probabilistic large language model make medical or dietary decisions on its own.&lt;/strong&gt;&lt;/p&gt;

&lt;p&gt;LLMs hallucinate numbers, misread tiny tables, and suffer attention drift. If a model hallucinates that sodium caseinate isn't dairy, Sneha suffers an allergic reaction. If it computes sodium wrong, Rahul overshoots his daily blood pressure allowance.&lt;/p&gt;

&lt;p&gt;Instead, I designed a &lt;strong&gt;hybrid neuro-symbolic pipeline&lt;/strong&gt; where open-weights AI does what it excels at (perceiving the messy physical world), while deterministic, peer-reviewed Python code enforces the safety rules.&lt;br&gt;
&lt;/p&gt;

&lt;pre data-lang="mermaid"&gt;&lt;code&gt;flowchart TD
    A["📸 Packaging Photo / Camera Snap"] --&amp;gt; B["👁️ Layer 1: The Eyes (Google Gemma Vision Open AI)"]

    B --&amp;gt;|"Structured Raw JSON"| C["🛡️ Layer 2: The Trust Gate (validate.py)"]

    subgraph GATE["Deterministic Mathematical Verification"]
        C --&amp;gt; C1["Atwater Energy Equation: 4C + 4P + 9F + 2Fiber"]
        C --&amp;gt; C2["Unit Conversions: kJ to kcal, Sodium to Salt"]
        C --&amp;gt; C3["Impossibility Bounds: Macronutrient sum &amp;lt;= 100g"]
    end

    C1 &amp;amp; C2 &amp;amp; C3 --&amp;gt;|"Sanitized Values"| D["🦸 Layer 3: Squad Rules Engine (rules.py)"]
    C1 &amp;amp; C2 &amp;amp; C3 --&amp;gt;|"Sanitized Values"| E["🕵️ Layer 4A: Deception Radar (tricks.py)"]
    C1 &amp;amp; C2 &amp;amp; C3 --&amp;gt;|"Sanitized Values"| F["🎓 Layer 4B: Ingredient Classroom (educate.py)"]

    subgraph SQUAD["The 4 Friend Guardians"]
        D --&amp;gt; D1["🥛 Sneha: Lactose &amp;amp; Casein Free"]
        D --&amp;gt; D2["🍬 Priya: Blood Glucose &amp;amp; Sugar Caps"]
        D --&amp;gt; D3["🧂 Rahul: Sodium &amp;amp; Hypertension"]
        D --&amp;gt; D4["🌱 Amit: Jain Dietary Purity"]
    end

    subgraph WATCHDOG["Nanny Noir Watchdog"]
        E --&amp;gt; E1["12 Deception Detectors&amp;lt;br/&amp;gt;Sugar Splitting, 0g Trans Fat, Benzene Cocktail"]
    end

    subgraph TEACHER["Educational Knowledge Base"]
        F --&amp;gt; F1["120+ Curated Ingredients&amp;lt;br/&amp;gt;Plain-English body-impact &amp;amp; purpose"]
    end

    D1 &amp;amp; D2 &amp;amp; D3 &amp;amp; D4 --&amp;gt; G["📱 Mobile-First Visual Verdict Matrix&amp;lt;br/&amp;gt;Instant verdicts in &amp;lt; 15ms"]
    E1 --&amp;gt; G
    F1 --&amp;gt; G&lt;/code&gt;&lt;/pre&gt;



&lt;h3&gt;
  
  
  1. Layer 1: The Eyes (Google Gemma Open-Weights Perceptual Core)
&lt;/h3&gt;

&lt;p&gt;Reading curved, crinkled foil snack bags under grocery store fluorescent lighting is notoriously difficult for classical OCR. &lt;/p&gt;

&lt;p&gt;We utilize Google's &lt;strong&gt;open-weights Gemma family&lt;/strong&gt; (&lt;code&gt;gemma-4-26b-a4b-it&lt;/code&gt; and &lt;code&gt;gemma-3-4b-it&lt;/code&gt;). The model is prompted with a strict structured JSON schema enforcing nullable numeric fields, serving sizes, multi-table separation (e.g. noodle cakes vs. flavor tastemakers), and allergen declarations.&lt;/p&gt;

&lt;h3&gt;
  
  
  2. Layer 2: The Trust Gate (&lt;code&gt;validate.py&lt;/code&gt;)
&lt;/h3&gt;

&lt;p&gt;Before any dietary rule executes, the data passes through 9 mathematical sanity checks:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;
&lt;strong&gt;Atwater Energy Cross-Check&lt;/strong&gt;: Every food label must satisfy thermodynamic reality:
$$\text{Expected Energy (kcal)} = (4 \times \text{Carbohydrates}) + (4 \times \text{Protein}) + (9 \times \text{Total Fat}) + (2 \times \text{Fiber})$$
If the stated calories deviate from calculated energy by more than 20%, Nibble Nanny raises a warning flag rather than guessing blindly.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Unit Normalization&lt;/strong&gt;: Automatically converts kJ to kcal and sodium to salt equivalents ($\text{Salt} = \text{Sodium} \times 2.5$).&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Impossibility Guardrails&lt;/strong&gt;: Flags impossible physical metrics (e.g. sum of macronutrients exceeding 100g per 100g).&lt;/li&gt;
&lt;/ul&gt;

&lt;h3&gt;
  
  
  3. Layer 3: The Squad Evaluation Engine (&lt;code&gt;rules.py&lt;/code&gt;)
&lt;/h3&gt;

&lt;p&gt;Each friend's profile runs against a deterministic engine:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;
&lt;strong&gt;Dairy Nanny&lt;/strong&gt;: Evaluates 18 distinct dairy derivatives and checks both ingredient lists and allergen cross-contamination statements (&lt;em&gt;"May contain traces of milk"&lt;/em&gt;).&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Sugar Nanny&lt;/strong&gt;: Flags total sugars exceeding 10g/serving or 15g/100g, and scans for 32 industrial covert sugar aliases.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Salt Nanny&lt;/strong&gt;: Calculates whole-pack sodium burdens, alerting Rahul if a single snack exceeds 33% of his daily 1,500mg limit.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Karma Nanny&lt;/strong&gt;: Enforces strict Jain vegetarian principles, catching animal rennet in cheeses, gelatin (E441), bone-char sugars, and Carmine bug extract (E120).&lt;/li&gt;
&lt;/ul&gt;

&lt;h3&gt;
  
  
  4. Layer 4: The Watchdog &amp;amp; Classroom (&lt;code&gt;tricks.py&lt;/code&gt; &amp;amp; &lt;code&gt;educate.py&lt;/code&gt;)
&lt;/h3&gt;

&lt;ul&gt;
&lt;li&gt;
&lt;strong&gt;Nanny Noir Watchdog&lt;/strong&gt;: Exposes 12 deceptive practices including &lt;strong&gt;Sugar Splitting&lt;/strong&gt;, &lt;strong&gt;The 0g Trans Fat Loophole&lt;/strong&gt;, and dangerous chemical interactions like &lt;strong&gt;The Benzene Risk&lt;/strong&gt; (combining Sodium Benzoate E211 with Vitamin C / Ascorbic Acid E300 in acidic solutions).&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;The Ingredient Classroom&lt;/strong&gt;: Features a curated local database of 120+ ingredients detailing common usage, health impacts, and safety classifications (Clean Green, Caution Amber, Avoid Red).&lt;/li&gt;
&lt;/ul&gt;




&lt;h2&gt;
  
  
  Why Does Open Innovation Matter?
&lt;/h2&gt;

&lt;p&gt;Open-source and open-weight AI isn't just a philosophical preference for this project—&lt;strong&gt;it is the architectural foundation that makes Nibble Nanny viable&lt;/strong&gt;:&lt;/p&gt;

&lt;ol&gt;
&lt;li&gt;&lt;p&gt;&lt;strong&gt;Sensitive Personal Health Privacy&lt;/strong&gt;:&lt;br&gt;
Sneha's lactose allergy, Priya's blood sugar readings, and Rahul's cardiovascular restrictions are sensitive personal medical data. In closed-API architectures, every grocery scan sends personal behavioral and dietary habits to corporate telemetry servers. With open-weight Gemma running locally on-device via Ollama, &lt;strong&gt;zero personal dietary data ever leaves the user's phone&lt;/strong&gt;.&lt;/p&gt;&lt;/li&gt;
&lt;li&gt;&lt;p&gt;&lt;strong&gt;Zero Cost Per Scan Forever&lt;/strong&gt;:&lt;br&gt;
My friends scan 5 to 10 snack boxes every shopping trip. Commercial vision APIs charge $0.01 to $0.03 per image. At that rate, an everyday grocery companion becomes cost-prohibitive. Open-weights AI running locally or hosted on standard container runtimes costs &lt;strong&gt;$0 per scan forever&lt;/strong&gt;.&lt;/p&gt;&lt;/li&gt;
&lt;li&gt;&lt;p&gt;&lt;strong&gt;Supermarket Basements &amp;amp; Offline Portability&lt;/strong&gt;:&lt;br&gt;
Supermarket aisles and underground grocery stores are notorious dead zones for cellular signal. Closed APIs fail completely with a spinning loader. Because Gemma 3 4B is an open-weight model, it can run locally on an iPhone, Android, or laptop, ensuring complete offline autonomy in the middle of a shopping aisle.&lt;/p&gt;&lt;/li&gt;
&lt;li&gt;&lt;p&gt;&lt;strong&gt;Prompt &amp;amp; Schema Sovereignty&lt;/strong&gt;:&lt;br&gt;
Indian packaged foods frequently feature dual nutrition tables (e.g. Maggi noodles + tastemaker sachet) and statutory regional symbols (FSSAI green/red dietary dots). With open models, we could freely tune our system prompts and JSON extraction schemas in minutes without submitting feature requests to a proprietary vendor.&lt;/p&gt;&lt;/li&gt;
&lt;/ol&gt;




&lt;h2&gt;
  
  
  My Agent Session
&lt;/h2&gt;

&lt;p&gt;Nibble Nanny was architected, developed, and tested using AI-assisted pair programming in &lt;strong&gt;Antigravity&lt;/strong&gt; (Google DeepMind's advanced agentic coding environment). &lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;
&lt;strong&gt;Autonomous Verification&lt;/strong&gt;: The agent executed 19 comprehensive unit and integration tests across the Atwater verification math, allergy alias lookups, and corporate deception algorithms to ensure 100% test passing before deployment.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Visual Iteration&lt;/strong&gt;: Used browser subagent tools to capture live DOM state, iterate on mobile-first responsive viewport layouts, and craft our custom brand mascot and squircle app icon assets.&lt;/li&gt;
&lt;/ul&gt;




&lt;h2&gt;
  
  
  Prize Categories
&lt;/h2&gt;

&lt;h3&gt;
  
  
  🌟 Best Use of Gemma ($200)
&lt;/h3&gt;

&lt;p&gt;Nibble Nanny places &lt;strong&gt;Google's Open-Weights Gemma family&lt;/strong&gt; at its perceptual core. We utilize &lt;code&gt;gemma-4-26b-a4b-it&lt;/code&gt; (26B Mixture-of-Experts with Active 4B tokens) and &lt;code&gt;gemma-3-4b-it&lt;/code&gt; for structured JSON perception from crumpled and reflective food packaging. Open weights give our users total data privacy, offline execution potential, and zero per-scan costs.&lt;/p&gt;

&lt;h3&gt;
  
  
  🚀 Best Use of Render ($200)
&lt;/h3&gt;

&lt;p&gt;Nibble Nanny is deployed live on &lt;strong&gt;Render&lt;/strong&gt; as a fully automated Docker web service defined by an Infrastructure-as-Code &lt;code&gt;render.yaml&lt;/code&gt; blueprint. The service features automated health check endpoints (&lt;code&gt;/health&lt;/code&gt;), zero-downtime rollouts, and instant branch deployments connected to GitHub.&lt;/p&gt;




&lt;h2&gt;
  
  
  What My Friends Said (Bonus Points!)
&lt;/h2&gt;

&lt;p&gt;I handed Nibble Nanny over to Sneha, Priya, Rahul, and Amit to test during their weekend grocery runs. Here is what they actually said:&lt;/p&gt;

&lt;blockquote&gt;
&lt;p&gt;&lt;em&gt;"I’ve eaten Parle-G my entire childhood and never knew it contained milk solids. And learning that sodium caseinate is dairy saved me from a painful Sunday morning. Having Dairy Nanny highlight that in red with one photo is incredible."&lt;/em&gt;&lt;br&gt;&lt;br&gt;
— &lt;strong&gt;Sneha (Dairy Nanny)&lt;/strong&gt;&lt;/p&gt;

&lt;p&gt;&lt;em&gt;"I always bought that protein bar thinking it was healthy because the front said 'No Added Sugar.' Seeing Nanny Noir call out that maltodextrin was the second ingredient and actually spikes insulin faster than sugar was an absolute eye-opener."&lt;/em&gt;&lt;br&gt;&lt;br&gt;
— &lt;strong&gt;Priya (Sugar Nanny)&lt;/strong&gt;&lt;/p&gt;

&lt;p&gt;&lt;em&gt;"I usually give up trying to convert salt grams to sodium milligrams while standing in the aisle. Salt Nanny doing the whole-pack math and telling me instant noodles took up 60% of my daily blood pressure cap made me put the packet down immediately."&lt;/em&gt;&lt;br&gt;&lt;br&gt;
— &lt;strong&gt;Rahul (Salt Nanny)&lt;/strong&gt;&lt;/p&gt;

&lt;p&gt;&lt;em&gt;"Finding out that Carmine E120 is made by crushing cochineal insects horrified me. Karma Nanny gives me peace of mind that what I'm feeding my family respects our Jain vegetarian values."&lt;/em&gt;&lt;br&gt;&lt;br&gt;
— &lt;strong&gt;Amit (Karma Nanny)&lt;/strong&gt;&lt;/p&gt;

&lt;p&gt;&lt;em&gt;(An honest critique from Amit):&lt;/em&gt;&lt;br&gt;&lt;br&gt;
&lt;em&gt;"On my first attempt, the scanner got confused because my potato chip bag was crinkled and reflecting overhead lights. Once I held the back flat for the camera, it detected everything instantly."&lt;/em&gt;&lt;/p&gt;
&lt;/blockquote&gt;




&lt;p&gt;&lt;em&gt;Built with ❤️ for my friends and everyone who deserves to know the truth behind the label.&lt;/em&gt; 🍪&lt;/p&gt;

</description>
      <category>devchallenge</category>
      <category>weekendchallenge</category>
      <category>hf26challenge</category>
    </item>
    <item>
      <title>Hello DEV! 👋</title>
      <dc:creator>rudra sanandiya</dc:creator>
      <pubDate>Fri, 02 Oct 2026 03:26:46 +0000</pubDate>
      <link>https://dev.to/rudrasanandiya/hello-dev-1jh1</link>
      <guid>https://dev.to/rudrasanandiya/hello-dev-1jh1</guid>
      <description>&lt;p&gt;Hey everyone! I'm Rudra, a Computer Science undergraduate from India and I've just joined the DEV Community.&lt;/p&gt;

&lt;p&gt;I'm interested in software engineering, backend development, distributed systems, and AI. I've been building projects with technologies like JavaScript, TypeScript, Node.js, React, PostgreSQL, MongoDB, and Docker, and I'm always trying to learn by actually building things.&lt;/p&gt;

&lt;p&gt;I joined DEV because I want to become more involved in the developer community, learn from people here, share what I'm building, and get better at open-source development.&lt;/p&gt;

&lt;p&gt;This is also my first Hacktoberfest, so I'm completely new to how everything works. 😄 I'm especially excited about this year's focus on open-source AI and the different challenges happening throughout October.&lt;/p&gt;

&lt;p&gt;I'm hoping to spend this month learning, building a few things, participating in the community, and hopefully meeting some awesome developers along the way.&lt;/p&gt;

&lt;p&gt;Would love to hear what everyone else is building this Hacktoberfest! 🚀&lt;/p&gt;

&lt;p&gt;Happy Hacktoberfest! 🎃&lt;/p&gt;

</description>
      <category>backend</category>
      <category>javascript</category>
      <category>opensource</category>
      <category>softwareengineering</category>
    </item>
  </channel>
</rss>
