<?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: Mochammad Qaysa Al-Haq</title>
    <description>The latest articles on DEV Community by Mochammad Qaysa Al-Haq (@mochammadqaysa).</description>
    <link>https://dev.to/mochammadqaysa</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%2F963391%2F7bff0db5-0d89-407d-b84a-7027facc8528.png</url>
      <title>DEV Community: Mochammad Qaysa Al-Haq</title>
      <link>https://dev.to/mochammadqaysa</link>
    </image>
    <atom:link rel="self" type="application/rss+xml" href="https://dev.to/feed/mochammadqaysa"/>
    <language>en</language>
    <item>
      <title>LazyChef &amp; Pantry Autopilot 🦥</title>
      <dc:creator>Mochammad Qaysa Al-Haq</dc:creator>
      <pubDate>Fri, 23 Oct 2026 09:25:15 +0000</pubDate>
      <link>https://dev.to/mochammadqaysa/lazychef-pantry-autopilot-3n2e</link>
      <guid>https://dev.to/mochammadqaysa/lazychef-pantry-autopilot-3n2e</guid>
      <description>&lt;p&gt;&lt;em&gt;This is a submission for the &lt;a href="https://dev.to/challenges/hacktoberfest-week3-2026-10-19"&gt;Hacktoberfest Open-Source AI Challenge Week 3: Slow and Steady&lt;/a&gt;&lt;/em&gt;&lt;/p&gt;

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

&lt;p&gt;&lt;strong&gt;LazyChef &amp;amp; Pantry Autopilot 🦥&lt;/strong&gt; is an autonomous, privacy-first, on-device kitchen copilot designed specifically for exhausted developers, neurodivergent brains, and anyone suffering from &lt;em&gt;cooking decision paralysis&lt;/em&gt; and &lt;em&gt;dirty pan dread&lt;/em&gt;.&lt;/p&gt;

&lt;h3&gt;
  
  
  What does it do?
&lt;/h3&gt;

&lt;p&gt;Instead of forcing you to scroll through 2,000-word food blog memoirs or buy twenty exotic ingredients you'll only use once, LazyChef works backwards:&lt;/p&gt;

&lt;ol&gt;
&lt;li&gt;
&lt;strong&gt;Pantry First:&lt;/strong&gt; You click what you already have sitting in your fridge, freezer, or pantry (eggs, rice, garlic, cheese, bread, etc.).&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Laziness Level Constraints:&lt;/strong&gt; Filter by &lt;em&gt;One-Pan Only&lt;/em&gt; (zero sink pile-ups) or &lt;em&gt;Speed Demon&lt;/em&gt; (ready in under 15 minutes).&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Autonomous Recipe Matching &amp;amp; Generation:&lt;/strong&gt; An instant heuristic engine matches recipes in under &lt;strong&gt;15 milliseconds&lt;/strong&gt;, while an on-device &lt;strong&gt;Gemma 2B&lt;/strong&gt; open-weight model runs locally to synthesize custom creative variations.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Step-by-Step Cooking Assistant:&lt;/strong&gt; Large, tactile check-off steps with a celebratory sloth confetti finish.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;The Lazy Payoff Dashboard:&lt;/strong&gt; Quantifies your accumulated laziness in real-time—minutes saved from recipe indecision, dirty pans eliminated, and money saved from avoiding food delivery apps.&lt;/li&gt;
&lt;/ol&gt;

&lt;h3&gt;
  
  
  Who gets to be a little lazier?
&lt;/h3&gt;

&lt;p&gt;Every developer who has ever stared into a full fridge at 8:00 PM after a marathon coding session and ordered expensive, oily takeout just because they couldn't muster the cognitive energy to plan a recipe or wash three different frying pans.&lt;/p&gt;




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

&lt;ul&gt;
&lt;li&gt;
&lt;strong&gt;Live Repository &amp;amp; Code:&lt;/strong&gt; &lt;a href="https://github.com/mochammadqaysa/hf-challenges-week-3" rel="noopener noreferrer"&gt;mochammadqaysa/hf-challenges-week-3&lt;/a&gt;
&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Local Experience:&lt;/strong&gt; Clone, &lt;code&gt;npm install&lt;/code&gt;, and &lt;code&gt;npm run dev&lt;/code&gt; for an instant zero-latency experience at &lt;code&gt;http://localhost:5173/&lt;/code&gt;.&lt;/li&gt;
&lt;/ul&gt;

&lt;h3&gt;
  
  
  Key User Features:
&lt;/h3&gt;

&lt;ul&gt;
&lt;li&gt;⚡ &lt;strong&gt;Instant Heuristic Matching:&lt;/strong&gt; Zero waiting time (&amp;lt;15ms) for recipe lookups and ingredient substitutions.&lt;/li&gt;
&lt;li&gt;🧠 &lt;strong&gt;On-Device Gemma 2B AI:&lt;/strong&gt; Runs entirely inside your browser via WebGPU Web Workers—no API keys, zero cloud latency, and 100% offline capability.&lt;/li&gt;
&lt;li&gt;🍳 &lt;strong&gt;Pan-Count &amp;amp; Time Enforcement:&lt;/strong&gt; Every suggested meal adheres to strict low-effort criteria (maximum 1 pot/pan, &amp;lt;=15 minutes).&lt;/li&gt;
&lt;li&gt;📊 &lt;strong&gt;The Lazy Payoff Metrics:&lt;/strong&gt; Automatically tracks minutes saved, pans saved from the sink, and dollars kept in your wallet.&lt;/li&gt;
&lt;li&gt;🌓 &lt;strong&gt;High-Contrast &amp;amp; Dyslexia-Friendly Accessibility:&lt;/strong&gt; Built-in high-contrast theme toggle for effortless reading in dim kitchen lighting.&lt;/li&gt;
&lt;/ul&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/mochammadqaysa" rel="noopener noreferrer"&gt;
        mochammadqaysa
      &lt;/a&gt; / &lt;a href="https://github.com/mochammadqaysa/hf-challenges-week-3" rel="noopener noreferrer"&gt;
        hf-challenges-week-3
      &lt;/a&gt;
    &lt;/h2&gt;
    &lt;h3&gt;
      
    &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;LazyChef &amp;amp; Pantry Autopilot 🦥&lt;/h1&gt;
&lt;/div&gt;
&lt;blockquote&gt;
&lt;p&gt;&lt;strong&gt;Local-First Kitchen Copilot under Sloth Constraints (1 Vessel • ≤3 Steps • ≤15 Minutes)&lt;/strong&gt;&lt;br&gt;
Built for &lt;strong&gt;Hacktoberfest 2026 Week 3: Slow and Steady Challenge&lt;/strong&gt; (&lt;code&gt;#hf26challenge&lt;/code&gt;)&lt;br&gt;
Competing for &lt;strong&gt;Best Use of Gemma / Open-Weight AI&lt;/strong&gt;&lt;/p&gt;
&lt;/blockquote&gt;
&lt;p&gt;&lt;a href="https://opensource.org/licenses/MIT" rel="nofollow noopener noreferrer"&gt;&lt;img src="https://camo.githubusercontent.com/fdf2982b9f5d7489dcf44570e714e3a15fce6253e0cc6b5aa61a075aac2ff71b/68747470733a2f2f696d672e736869656c64732e696f2f62616467652f4c6963656e73652d4d49542d79656c6c6f772e737667" alt="License: MIT"&gt;&lt;/a&gt;
&lt;a href="https://www.typescriptlang.org/" rel="nofollow noopener noreferrer"&gt;&lt;img src="https://camo.githubusercontent.com/8946ab9e23d56aabb16c0e57e56030b30a3e847dabd2557a476cc91b99bf48b6/68747470733a2f2f696d672e736869656c64732e696f2f62616467652f547970655363726970742d352e362d626c75652e737667" alt="TypeScript"&gt;&lt;/a&gt;
&lt;a href="https://vitejs.dev/" rel="nofollow noopener noreferrer"&gt;&lt;img src="https://camo.githubusercontent.com/b7f1fe36d60b15518bfa9e3911765299975044924380e77e5559ae98b4e6ec74/68747470733a2f2f696d672e736869656c64732e696f2f62616467652f566974652d352e342d3634364346462e737667" alt="Vite"&gt;&lt;/a&gt;
&lt;a href="https://vitest.dev/" rel="nofollow noopener noreferrer"&gt;&lt;img src="https://camo.githubusercontent.com/b7599d99ac036481ef6fe3ffe321da0a4048933e1646b5fc950ca68a07606fd7/68747470733a2f2f696d672e736869656c64732e696f2f62616467652f54657374732d3133342532307061737365642d627269676874677265656e2e737667" alt="Tests"&gt;&lt;/a&gt;
&lt;a href="https://playwright.dev/" rel="nofollow noopener noreferrer"&gt;&lt;img src="https://camo.githubusercontent.com/c83051420f2458c79a055b95e50bd038fe3b4090e952e05926ee2783766082ce/68747470733a2f2f696d672e736869656c64732e696f2f62616467652f4532452d506c617977726967687425323050617373696e672d627269676874677265656e2e737667" alt="E2E"&gt;&lt;/a&gt;
&lt;a href="https://vitejs.dev/" rel="nofollow noopener noreferrer"&gt;&lt;img src="https://camo.githubusercontent.com/cab3158cd0efcc9c8b6fb75d4c731b7502573e6e6ce3e529350000356bc73c28/68747470733a2f2f696d672e736869656c64732e696f2f62616467652f42756e646c6525323053697a652d32352e392532304b42253230677a69707065642d737563636573732e737667" alt="Bundle Size"&gt;&lt;/a&gt;
&lt;a href="https://github.com/mochammadqaysa/hf-challenges-week-3#privacy--zero-telemetry" rel="noopener noreferrer"&gt;&lt;img src="https://camo.githubusercontent.com/74362e47f2ee299ddf4b32ffb6ac37b1ad2deaad7e04cd6557bb1e07896a501a/68747470733a2f2f696d672e736869656c64732e696f2f62616467652f507269766163792d3130302532352532305a65726f25323054656c656d657472792d6f72616e67652e737667" alt="Zero Telemetry"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;div class="markdown-heading"&gt;
&lt;h2 class="heading-element"&gt;🍲 What is LazyChef?&lt;/h2&gt;
&lt;/div&gt;
&lt;p&gt;After a draining workday, cooking dinner often feels overwhelming. Decision fatigue sets in, takeout apps beckon, ingredients in the fridge rot, and the dread of scrubbing piles of dirty pans paralyzes tired home cooks.&lt;/p&gt;
&lt;p&gt;&lt;strong&gt;LazyChef &amp;amp; Pantry Autopilot&lt;/strong&gt; solves this by strictly enforcing &lt;strong&gt;Sloth Constraints&lt;/strong&gt;:&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;
&lt;strong&gt;🍳 Exactly 1 Cooking Vessel&lt;/strong&gt;: 1 skillet, 1 pot, 1 sheet pan, or 1 microwave bowl. Zero sink piles.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;📝 Maximum 3 Imperative Steps&lt;/strong&gt;: Concise, actionable, zero culinary jargon.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;⏱️ Strictly Under 15 Minutes&lt;/strong&gt;: Fast, hot meals from fridge to plate in minutes.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;🎯 Exactly 1 Recommendation&lt;/strong&gt;: No endless scrolling or recipe choice overload.&lt;/li&gt;
&lt;/ul&gt;

&lt;div class="markdown-heading"&gt;
&lt;h2 class="heading-element"&gt;✨&lt;/h2&gt;…&lt;/div&gt;&lt;/div&gt;
  &lt;/div&gt;
  &lt;div class="gh-btn-container"&gt;&lt;a class="gh-btn" href="https://github.com/mochammadqaysa/hf-challenges-week-3" rel="noopener noreferrer"&gt;View on GitHub&lt;/a&gt;&lt;/div&gt;
&lt;/div&gt;





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

&lt;p&gt;LazyChef is built around open-source AI and modern open web standards:&lt;/p&gt;

&lt;h3&gt;
  
  
  1. The Open-Weight AI Stack: Google Gemma 2B + WebGPU
&lt;/h3&gt;

&lt;ul&gt;
&lt;li&gt;
&lt;strong&gt;Model:&lt;/strong&gt; Google's &lt;code&gt;gemma-2b-it&lt;/code&gt; running in ONNX / WebGPU format via &lt;code&gt;@huggingface/transformers&lt;/code&gt;.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Worker Isolation:&lt;/strong&gt; The model is initialized inside a dedicated Web Worker (&lt;code&gt;src/workers/gemmaWorker.ts&lt;/code&gt;), ensuring heavy tensor computations never drop frames or stutter the 60fps main UI thread.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Graceful Fallback:&lt;/strong&gt; If the user's browser lacks WebGPU hardware acceleration, the application seamlessly falls back to the deterministic local heuristic rule engine. The user is never blocked or left looking at a broken spinner.&lt;/li&gt;
&lt;/ul&gt;

&lt;h3&gt;
  
  
  2. High-Speed Local Architecture
&lt;/h3&gt;

&lt;ul&gt;
&lt;li&gt;
&lt;strong&gt;Vite &amp;amp; Vanilla TypeScript:&lt;/strong&gt; Pure, lean TypeScript without heavy frontend framework bloat.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Micro-Budget Bundle:&lt;/strong&gt; The entire production bundle is kept under &lt;strong&gt;350 KB gzipped&lt;/strong&gt;, loading instantly on mobile phones in the kitchen.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;IndexedDB Recipe &amp;amp; State Storage:&lt;/strong&gt; Complete offline persistence. Your pantry inventory and accrued Lazy Payoff stats survive page refreshes and browser restarts.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Zero-Dependency Security Sanitizer:&lt;/strong&gt; Implements strict DOMPurify-grade input sanitization (&lt;code&gt;src/core/sanitizer.ts&lt;/code&gt;) to eliminate XSS risks without adding bloat or external telemetry dependencies.&lt;/li&gt;
&lt;/ul&gt;




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

&lt;p&gt;Cooking and eating are intimate daily human rituals. Closed-source AI platforms require you to stream your personal daily habits, pantry inventory, and kitchen routines to third-party cloud servers, bound to proprietary subscriptions, rate limits, and constant telemetry.&lt;/p&gt;

&lt;p&gt;Open innovation changed the entire paradigm for this project:&lt;/p&gt;

&lt;ol&gt;
&lt;li&gt;
&lt;strong&gt;Permanent Sovereignty:&lt;/strong&gt; By utilizing open-weight AI like &lt;strong&gt;Gemma 2B&lt;/strong&gt;, LazyChef runs forever on your personal machine without recurring API costs, subscriptions, or sudden vendor deprecations.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;True Kitchen Privacy:&lt;/strong&gt; Zero telemetry. Not a single byte of your pantry data or cooking habits leaves your device.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Resilience &amp;amp; Offline Autonomy:&lt;/strong&gt; In the middle of cooking when your home Wi-Fi flickers or drops, LazyChef keeps running uninterrupted. Open weights and web standards turn the browser into an independent, self-contained computing appliance.&lt;/li&gt;
&lt;/ol&gt;




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

&lt;p&gt;This entire application—from requirements discovery and architecture design down to the test suite and security audit—was pair-programmed with an AI Agent following a disciplined SDLC framework.&lt;/p&gt;


&lt;div class="ltag-agent-session"&gt;
  &lt;div class="agent-session-header"&gt;
    
    &lt;span class="agent-session-tool-icon-badge" title="Gemini CLI"&gt;
&lt;/span&gt;
    &lt;span class="agent-session-title"&gt;LazyChef &amp;amp; Pantry Autopilot: Autonomous Kitchen Copilot with Gemma 2B WebGPU &amp;amp; Local Heuristics&lt;/span&gt;
  &lt;/div&gt;

  &lt;div class="agent-session-scroll"&gt;

      &lt;div class="agent-session-message agent-session-user"&gt;
        &lt;div class="agent-session-role-badge agent-session-role-user"&gt;
          You
        &lt;/div&gt;
        &lt;div class="agent-session-content"&gt;
                &lt;div class="agent-session-text"&gt;
                  &lt;p&gt;Build LazyChef &amp;amp; Pantry Autopilot: a local-first, privacy-preserving kitchen copilot for Hacktoberfest 2026 Week 3: Slow and Steady Challenge (#hf26challenge) enforcing Sloth Constraints (1 vessel, &amp;lt;=3 steps, &amp;lt;=15 min) with Google Gemma 2B in Web Worker via WebGPU and zero-latency (&amp;lt;15ms) deterministic heuristic fallback.&lt;/p&gt;

                &lt;/div&gt;
        &lt;/div&gt;
      &lt;/div&gt;

      &lt;div class="agent-session-message agent-session-assistant"&gt;
        &lt;div class="agent-session-role-badge agent-session-role-assistant"&gt;
          Agent
        &lt;/div&gt;
        &lt;div class="agent-session-content"&gt;
                &lt;div class="agent-session-text"&gt;
                  &lt;p&gt;Implemented 4 Tracer Bullet phases: 1) Instant Offline Cooking MVP (&amp;lt;15ms), 2) Asynchronous WebGPU Gemma 2B streaming with progress reporting &amp;amp; The Lazy Payoff tracking, 3) Dual-layer safety filter with 108+ toxic item blocklist &amp;amp; Ollama adapter, 4) Polish, accessible high-contrast design system, and full test suite (134 unit tests + Playwright E2E) with 28.52 kB gzipped bundle.&lt;/p&gt;

                &lt;/div&gt;
        &lt;/div&gt;
      &lt;/div&gt;
  &lt;/div&gt;

  &lt;div class="agent-session-footer"&gt;
    &lt;span class="agent-session-meta"&gt;
        2 of 2 messages
    &lt;/span&gt;
  &lt;/div&gt;
&lt;/div&gt;


&lt;p&gt;&lt;em&gt;Direct link to inspect the full transcript and tool calls:&lt;/em&gt;&lt;br&gt;&lt;br&gt;
&lt;a href="https://dev.to/agent_sessions/lazychef-pantry-autopilot-autonomous-kitchen-copilot-with-gemma-2b-webgpu-local-heuristics-iqfpqs"&gt;LazyChef &amp;amp; Pantry Autopilot Agent Session on DEV&lt;/a&gt;&lt;/p&gt;




&lt;h2&gt;
  
  
  The Lazy Payoff
&lt;/h2&gt;

&lt;p&gt;Quantifying laziness is LazyChef's core philosophy. For every meal cooked through the autopilot:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;
&lt;strong&gt;15 Minutes Saved:&lt;/strong&gt; No endless recipe doom-scrolling or reading lengthy blog intros.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;2 Dirty Pans Prevented:&lt;/strong&gt; Enforced 1-pan recipe constraints keep your sink clean.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;$6.50+ Saved per Meal:&lt;/strong&gt; Utilizing existing pantry ingredients instead of defaulting to delivery apps.&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;During testing throughout Hacktoberfest Week 3, LazyChef consistently provided fast, satisfying meals with zero kitchen anxiety.&lt;/p&gt;




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

&lt;ul&gt;
&lt;li&gt;&lt;strong&gt;Best Use of Gemma / Open-Weight AI&lt;/strong&gt;&lt;/li&gt;
&lt;/ul&gt;

</description>
      <category>devchallenge</category>
      <category>hf26challenge</category>
      <category>ai</category>
      <category>gemma</category>
    </item>
    <item>
      <title>RasaLore AI — Cultural Culinary Heritage &amp; Allergen Intelligence Studio</title>
      <dc:creator>Mochammad Qaysa Al-Haq</dc:creator>
      <pubDate>Mon, 19 Oct 2026 06:18:42 +0000</pubDate>
      <link>https://dev.to/mochammadqaysa/rasalore-ai-cultural-culinary-heritage-allergen-intelligence-studio-42gd</link>
      <guid>https://dev.to/mochammadqaysa/rasalore-ai-cultural-culinary-heritage-allergen-intelligence-studio-42gd</guid>
      <description>&lt;p&gt;&lt;em&gt;This is a submission for the &lt;a href="https://dev.to/challenges/hacktoberfest-week2-2026-10-12"&gt;Hacktoberfest Open-Source AI Challenge Week 2: Side Hustle&lt;/a&gt;&lt;/em&gt;&lt;/p&gt;

&lt;h1&gt;
  
  
  🌿 RasaLore AI — Cultural Culinary Heritage Menu &amp;amp; Allergen Intelligence Studio
&lt;/h1&gt;

&lt;p&gt;&lt;a href="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fimg.shields.io%2Fbadge%2FOpen%2520Source%2520AI-Google%2520Gemma%25202-blue%3Fstyle%3Dfor-the-badge%26logo%3Dgoogle" class="article-body-image-wrapper"&gt;&lt;img src="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fimg.shields.io%2Fbadge%2FOpen%2520Source%2520AI-Google%2520Gemma%25202-blue%3Fstyle%3Dfor-the-badge%26logo%3Dgoogle" alt="RasaLore AI Banner" width="290" height="28"&gt;&lt;/a&gt;&lt;br&gt;
&lt;a href="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fimg.shields.io%2Fbadge%2FGross%2520Margin-99.8%2525-success%3Fstyle%3Dfor-the-badge" class="article-body-image-wrapper"&gt;&lt;img src="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fimg.shields.io%2Fbadge%2FGross%2520Margin-99.8%2525-success%3Fstyle%3Dfor-the-badge" alt="Side Hustle Economics" width="187" height="28"&gt;&lt;/a&gt;&lt;br&gt;
&lt;a href="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fimg.shields.io%2Fbadge%2FTest%2520Suite-33%252F33%2520Passed-brightgreen%3Fstyle%3Dfor-the-badge" class="article-body-image-wrapper"&gt;&lt;img src="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fimg.shields.io%2Fbadge%2FTest%2520Suite-33%252F33%2520Passed-brightgreen%3Fstyle%3Dfor-the-badge" alt="Automated Test Suite" width="217" height="28"&gt;&lt;/a&gt;&lt;br&gt;
&lt;a href="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fimg.shields.io%2Fbadge%2FZero--Bundler-Native%2520ES%2520Modules-emerald%3Fstyle%3Dfor-the-badge" class="article-body-image-wrapper"&gt;&lt;img src="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fimg.shields.io%2Fbadge%2FZero--Bundler-Native%2520ES%2520Modules-emerald%3Fstyle%3Dfor-the-badge" alt="Zero Bundler" width="282" height="28"&gt;&lt;/a&gt;&lt;/p&gt;


&lt;h2&gt;
  
  
  What I Built
&lt;/h2&gt;
&lt;h3&gt;
  
  
  The Real-World Problem
&lt;/h3&gt;

&lt;p&gt;Every year, millions of international travelers visit Southeast Asia seeking authentic culinary experiences. Yet, local food &amp;amp; beverage (F&amp;amp;B) owners—boutique cafes, traditional &lt;em&gt;warungs&lt;/em&gt;, and heritage family bistros—face two critical roadblocks when presenting their menus to foreign diners:&lt;/p&gt;

&lt;ol&gt;
&lt;li&gt;
&lt;strong&gt;The Tragic Loss of Cultural Nuance:&lt;/strong&gt; Generic machine translation tools (Google Translate, DeepL) strip the soul out of traditional food. Translating Bali's ceremonial &lt;em&gt;"Bebek Betutu"&lt;/em&gt; into &lt;em&gt;"Duck with Spices"&lt;/em&gt; or East Java's century-old &lt;em&gt;"Rawon"&lt;/em&gt; into &lt;em&gt;"Black Beef Soup"&lt;/em&gt; turns rich gastronomic heritage into flat, uninspired cafeteria listings.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;The Deadly Hidden Allergen Blindspot:&lt;/strong&gt; In traditional Indonesian and Southeast Asian cooking, dangerous allergens lurk inside complex base pastes (&lt;em&gt;bumbu&lt;/em&gt;, &lt;em&gt;sambal terasi&lt;/em&gt; fermented shrimp paste containing &lt;strong&gt;Crustaceans&lt;/strong&gt;, &lt;em&gt;petis&lt;/em&gt; containing shellfish, or &lt;em&gt;emping&lt;/em&gt; crackers containing &lt;strong&gt;Tree Nuts/Melinjo&lt;/strong&gt;). A tourist asking &lt;em&gt;"Does this soup contain shellfish?"&lt;/em&gt; will be met with a blank stare from waitstaff who only know the soup as beef broth—leading to severe, life-threatening anaphylactic reactions.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;The Small Business Tech Barrier:&lt;/strong&gt; Local restaurateurs cannot afford $10,000 custom agency retainers or pay variable monthly cloud API subscription fees to translate dynamic seasonal menus. Furthermore, master chefs refuse to upload their proprietary recipes and spice ratios to cloud servers where their intellectual property could be logged.&lt;/li&gt;
&lt;/ol&gt;
&lt;h3&gt;
  
  
  The Solution: RasaLore AI
&lt;/h3&gt;

&lt;p&gt;&lt;strong&gt;RasaLore AI&lt;/strong&gt; is an open-source, local-first &lt;strong&gt;Cultural Menu &amp;amp; Allergen Intelligence Studio&lt;/strong&gt;. It acts as an &lt;strong&gt;AI Culinary Consultant in a Box&lt;/strong&gt;—a profitable, turnkey &lt;em&gt;Side Hustle&lt;/em&gt; that any developer or freelance consultant can run from a laptop.&lt;/p&gt;

&lt;p&gt;With RasaLore AI, a consultant can walk into a local bistro, take their raw dish names or kitchen recipe notes, and instantly generate:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;
&lt;strong&gt;Heritage Storytelling:&lt;/strong&gt; Culturally nuanced culinary narratives across 4 languages (&lt;strong&gt;English, Japanese, Chinese, and French&lt;/strong&gt;).&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Sensory Flavor Profiles:&lt;/strong&gt; Visual spice gauges (Fiery, Hot, Medium, Mild, Non-Spicy), primary taste classifications (&lt;em&gt;Deep &amp;amp; Savory&lt;/em&gt;, &lt;em&gt;Sweet &amp;amp; Fragrant&lt;/em&gt;), and sensory descriptor chips.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Deep Allergen Intelligence:&lt;/strong&gt; Automated identification of implicit/hidden allergens with distinct severity badges (&lt;code&gt;CRITICAL_WARNING&lt;/code&gt; vs. &lt;code&gt;DIETARY_NOTICE&lt;/code&gt;) and precise source ingredient traceability (e.g., &lt;em&gt;"Crustaceans detected within implicit Sambal Terasi"&lt;/em&gt;).&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Kitchen Verification Alerts:&lt;/strong&gt; Proactive flags when recipe notes are too sparse, directing waitstaff to double-check with the head chef.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Commercial Table Insert Printouts:&lt;/strong&gt; High-contrast, black-and-gold dual-column A4 printouts styled specifically for restaurant tables using &lt;code&gt;@media print&lt;/code&gt; (AC-011).&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;POS-Ready JSON Export:&lt;/strong&gt; Structured, schema-validated &lt;code&gt;DishCardModel[]&lt;/code&gt; payloads that plug directly into restaurant Point-of-Sale (POS) and digital kiosk systems.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Built-in Side Hustle Margin Calculator:&lt;/strong&gt; An interactive financial widget proving the economics of the business model in real time.&lt;/li&gt;
&lt;/ul&gt;


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

&lt;ul&gt;
&lt;li&gt;
&lt;strong&gt;Live Repository:&lt;/strong&gt; &lt;a href="https://github.com/mochammadqaysa/hf-challenges-week-2" rel="noopener noreferrer"&gt;github.com/mochammadqaysa/hf-challenges-week-2&lt;/a&gt;
&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Local Interactive Studio:&lt;/strong&gt; The studio runs locally on &lt;code&gt;http://localhost:3000&lt;/code&gt; with 0 build steps using native Modern ES Modules.&lt;/li&gt;
&lt;/ul&gt;
&lt;h3&gt;
  
  
  Key Studio Walkthrough:
&lt;/h3&gt;

&lt;ol&gt;
&lt;li&gt;
&lt;strong&gt;Curated Heritage Presets:&lt;/strong&gt; Instant, zero-latency (0ms) preview of authentic regional menus:

&lt;ul&gt;
&lt;li&gt;
&lt;em&gt;Bali Bistro&lt;/em&gt; (Bebek Betutu, Sate Lilit Ikan, Lawar Bali, Pisang Rai)&lt;/li&gt;
&lt;li&gt;
&lt;em&gt;Warung Nusantara&lt;/em&gt; (Rendang Daging Sapi, Rawon Surabaya, Gado-Gado Batavia, Es Cendol Nangka)&lt;/li&gt;
&lt;li&gt;
&lt;em&gt;Kopitiam Heritage&lt;/em&gt; (Kaya Toast Butter, Laksa Medan, Nasi Lemak Bungkus, Kopi Tubruk Robusta)&lt;/li&gt;
&lt;/ul&gt;
&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Real-Time Multilingual Switcher:&lt;/strong&gt; Click between &lt;strong&gt;English (EN)&lt;/strong&gt;, &lt;strong&gt;Japanese (JA)&lt;/strong&gt;, &lt;strong&gt;Chinese (ZH)&lt;/strong&gt;, and &lt;strong&gt;French (FR)&lt;/strong&gt; to watch the narrative seamlessly adapt while preserving allergen flags completely untouched.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Custom Dish Enrichment:&lt;/strong&gt; Submit your own local specialty (e.g., &lt;em&gt;"Soto Ayam Madura"&lt;/em&gt;) and watch the sequential FIFO progress bar analyze the recipe with Google Gemma 2 in real-time.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Physical Table Insert:&lt;/strong&gt; Click &lt;strong&gt;"🖨️ Print Physical Menu"&lt;/strong&gt; to preview a commercial-grade A4 black-and-gold table insert ready for restaurant laminating.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Point-of-Sale Export:&lt;/strong&gt; Click &lt;strong&gt;"💾 Export POS JSON"&lt;/strong&gt; to download a verified POS-compatible JSON file.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Side Hustle Commercial Margin Calculator:&lt;/strong&gt; Adjust the consulting fee slider ($25 - $100) and menus per week to see real-time avoided cloud costs, profit margins, and monthly projections.&lt;/li&gt;
&lt;/ol&gt;


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

&lt;p&gt;The complete source code is open source and hosted on GitHub:&lt;/p&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/mochammadqaysa" rel="noopener noreferrer"&gt;
        mochammadqaysa
      &lt;/a&gt; / &lt;a href="https://github.com/mochammadqaysa/hf-challenges-week-2" rel="noopener noreferrer"&gt;
        hf-challenges-week-2
      &lt;/a&gt;
    &lt;/h2&gt;
    &lt;h3&gt;
      
    &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;🌿 RasaLore AI — Cultural Culinary Heritage &amp;amp; Allergen Intelligence Studio&lt;/h1&gt;
&lt;/div&gt;
&lt;p&gt;&lt;a href="https://dev.to/challenges/hacktoberfest-week2-2026-10-12" rel="nofollow"&gt;&lt;img src="https://camo.githubusercontent.com/b90f8677b1be7d582c0649916ccbcaceedc2cca4d6120bdda5bee43f5485c1d8/68747470733a2f2f696d672e736869656c64732e696f2f62616467652f4861636b746f626572666573742d323032362532305765656b253230322d6f72616e67652e737667" 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/221c6e7c8005613505d197e23a3dc3ec118ed063e11b989af5cca954469b7f00/68747470733a2f2f696d672e736869656c64732e696f2f62616467652f4149253230436f72652d476f6f676c6525323047656d6d61253230322d626c75652e737667" alt="Google Gemma 2"&gt;&lt;/a&gt;
&lt;a href="https://github.com/mochammadqaysa/hf-challenges-week-2#testing" rel="noopener noreferrer"&gt;&lt;img src="https://camo.githubusercontent.com/3763f981b1b68892aa075dd477a3ac705725d3200e4efaf2f5c1c7bd82ca2f6e/68747470733a2f2f696d672e736869656c64732e696f2f62616467652f74657374732d333325324633332532307061737365642d627269676874677265656e2e737667" alt="Tests Passing"&gt;&lt;/a&gt;
&lt;a href="https://github.com/mochammadqaysa/hf-challenges-week-2#architecture" rel="noopener noreferrer"&gt;&lt;img src="https://camo.githubusercontent.com/ca567aefec34b7e33a95c0c293349dd2d454268b19de7fe9be0df97ac97fdb60/68747470733a2f2f696d672e736869656c64732e696f2f62616467652f6172636869746563747572652d5a65726f2d2d42756e646c657225323045532532304d6f64756c65732d656d6572616c642e737667" alt="Zero Bundler"&gt;&lt;/a&gt;
&lt;a href="https://github.com/mochammadqaysa/hf-challenges-week-2/LICENSE" rel="noopener noreferrer"&gt;&lt;img src="https://camo.githubusercontent.com/fdf2982b9f5d7489dcf44570e714e3a15fce6253e0cc6b5aa61a075aac2ff71b/68747470733a2f2f696d672e736869656c64732e696f2f62616467652f4c6963656e73652d4d49542d79656c6c6f772e737667" alt="License: MIT"&gt;&lt;/a&gt;&lt;/p&gt;
&lt;blockquote&gt;
&lt;p&gt;&lt;strong&gt;Transforming raw culinary recipes into culturally rich multilingual dining experiences with air-gapped allergen intelligence, powered by Google Gemma 2.&lt;/strong&gt;&lt;/p&gt;
&lt;/blockquote&gt;

&lt;div class="markdown-heading"&gt;
&lt;h2 class="heading-element"&gt;🍽️ What is RasaLore AI?&lt;/h2&gt;
&lt;/div&gt;
&lt;p&gt;&lt;strong&gt;RasaLore AI&lt;/strong&gt; is an open-source, local-first &lt;strong&gt;Cultural Menu Translation &amp;amp; Allergen Intelligence Studio&lt;/strong&gt; built for culinary entrepreneurs, boutique restaurants, traditional &lt;em&gt;warungs&lt;/em&gt;, and hospitality businesses expanding to international diners.&lt;/p&gt;
&lt;div class="markdown-heading"&gt;
&lt;h3 class="heading-element"&gt;The Problem&lt;/h3&gt;
&lt;/div&gt;
&lt;p&gt;Generic translation tools (Google Translate, DeepL) fail catastrophically in culinary applications:&lt;/p&gt;
&lt;ol&gt;
&lt;li&gt;
&lt;strong&gt;Loss of Culinary Nuance:&lt;/strong&gt; Translating &lt;em&gt;"Bebek Betutu"&lt;/em&gt; into &lt;em&gt;"Duck with Spices"&lt;/em&gt; or &lt;em&gt;"Rawon"&lt;/em&gt; into &lt;em&gt;"Black Beef Soup"&lt;/em&gt; completely erases the cultural heritage and storytelling behind centuries of tradition.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Dangerous Hidden Allergen Blindspots:&lt;/strong&gt; In Southeast Asian cooking, critical allergens lurk in traditional base pastes (&lt;em&gt;bumbu&lt;/em&gt;, &lt;em&gt;sambal terasi&lt;/em&gt; containing crustaceans, &lt;em&gt;emping&lt;/em&gt; containing tree nuts/melinjo, &lt;em&gt;petis&lt;/em&gt; containing shrimp). Generic translators ignore these implicit hazards, exposing foreign tourists to life-threatening allergic reactions.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Cloud API Cost&lt;/strong&gt;…&lt;/li&gt;
&lt;/ol&gt;&lt;/div&gt;
  &lt;/div&gt;
  &lt;div class="gh-btn-container"&gt;&lt;a class="gh-btn" href="https://github.com/mochammadqaysa/hf-challenges-week-2" rel="noopener noreferrer"&gt;View on GitHub&lt;/a&gt;&lt;/div&gt;
&lt;/div&gt;


&lt;h3&gt;
  
  
  Repository Highlights:
&lt;/h3&gt;

&lt;ul&gt;
&lt;li&gt;
&lt;strong&gt;&lt;code&gt;src/app.js&lt;/code&gt;&lt;/strong&gt;: Studio Application Controller with sequential queue integration and surgical DOM updates.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;&lt;code&gt;src/prompts/gemma-prompts.js&lt;/code&gt;&lt;/strong&gt;: Structured JSON prompt templates tailored specifically for Google Gemma 2 open-weight models.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;&lt;code&gt;src/parsers/json-sanitizer.js&lt;/code&gt;&lt;/strong&gt;: Multi-stage resilient JSON recovery pipeline that strips markdown fences, trims conversational banter, and auto-closes truncated bracket stacks.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;&lt;code&gt;src/queue/fifo-queue.js&lt;/code&gt;&lt;/strong&gt;: Sequential FIFO Queue (&lt;code&gt;concurrency = 1&lt;/code&gt;) with per-dish failure isolation (&lt;code&gt;FAILED_ANOMALY&lt;/code&gt;).&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;&lt;code&gt;src/components/margin-widget.js&lt;/code&gt;&lt;/strong&gt;: Side Hustle financial calculator and avoided cost algorithm.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;&lt;code&gt;src/styles/print.css&lt;/code&gt;&lt;/strong&gt;: Commercial print stylesheet conforming to A4 portrait dual-column layout.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;&lt;code&gt;tests/&lt;/code&gt;&lt;/strong&gt;: Comprehensive automated test suite with &lt;strong&gt;33 passing tests&lt;/strong&gt; across 5 suites (&lt;code&gt;tests/sanitizer.test.js&lt;/code&gt;, &lt;code&gt;tests/queue.test.js&lt;/code&gt;, &lt;code&gt;tests/margin.test.js&lt;/code&gt;, &lt;code&gt;tests/export.test.js&lt;/code&gt;).&lt;/li&gt;
&lt;/ul&gt;




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

&lt;h3&gt;
  
  
  The Open-Source AI Engine: Google Gemma 2
&lt;/h3&gt;

&lt;p&gt;At the heart of RasaLore AI is &lt;strong&gt;Google Gemma 2 (&lt;code&gt;gemma2:2b&lt;/code&gt; / &lt;code&gt;gemma2:9b&lt;/code&gt;)&lt;/strong&gt;, running locally and completely offline via &lt;a href="https://ollama.com/" rel="noopener noreferrer"&gt;Ollama&lt;/a&gt; on standard consumer hardware.&lt;/p&gt;

&lt;p&gt;Gemma 2 was chosen for three definitive reasons:&lt;/p&gt;

&lt;ol&gt;
&lt;li&gt;
&lt;strong&gt;Exceptional Multilingual Understanding in Small Parameter Sizes:&lt;/strong&gt; Despite running at just 2 billion parameters, Gemma 2 exhibits remarkable sensitivity to Southeast Asian cultural idioms, food ingredients, and regional dialects that other lightweight models often mangle.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Air-Gapped Local Inference (&lt;code&gt;localhost:11434&lt;/code&gt;):&lt;/strong&gt; With Ollama, Gemma 2 runs entirely in memory without requiring an internet connection. Private restaurant recipes and secret spice blends never leave the owner's laptop.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Zero Marginal Token Cost:&lt;/strong&gt; Running locally means the marginal cost of enriching 1,000 menu items is exactly &lt;strong&gt;$0.00&lt;/strong&gt;, transforming what would be an expensive recurring cloud expense into pure consulting profit.&lt;/li&gt;
&lt;/ol&gt;

&lt;h3&gt;
  
  
  Headless Architecture Seams &amp;amp; Dual-Mode Inference
&lt;/h3&gt;

&lt;p&gt;To support both local offline execution and remote hackathon evaluation, RasaLore AI implements a clean &lt;strong&gt;Inference Adapter Seam&lt;/strong&gt;:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;
&lt;strong&gt;Primary Mode (&lt;code&gt;LOCAL_OLLAMA&lt;/code&gt;):&lt;/strong&gt; Directly queries &lt;code&gt;http://localhost:11434/api/generate&lt;/code&gt; with zero data egress.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Remote Fallback Mode (&lt;code&gt;REMOTE_FALLBACK&lt;/code&gt;):&lt;/strong&gt; For hackathon judges or remote testing without local Ollama, the studio features an ephemeral settings drawer powered by the Hugging Face Serverless Inference API (&lt;code&gt;google/gemma-2-2b-it&lt;/code&gt;). User tokens are stored strictly in &lt;code&gt;sessionStorage&lt;/code&gt; (never saved to &lt;code&gt;localStorage&lt;/code&gt; or transmitted anywhere else), upholding strict zero-leakage security principles (&lt;code&gt;SEC-002&lt;/code&gt;).&lt;/li&gt;
&lt;/ul&gt;

&lt;h3&gt;
  
  
  Architectural Pillars of the Build:
&lt;/h3&gt;

&lt;ul&gt;
&lt;li&gt;
&lt;strong&gt;Resilient Multi-Stage JSON Sanitizer (&lt;code&gt;src/parsers/json-sanitizer.js&lt;/code&gt;):&lt;/strong&gt; Lightweight LLMs running in constrained hardware occasionally produce conversational banter, wrap outputs in markdown fences (&lt;code&gt;&lt;/code&gt;`&lt;code&gt;json&lt;/code&gt;), or truncate unclosed brackets. Our custom multi-stage sanitizer automatically strips preambles, cleans illegal trailing commas, and reconstructs truncated bracket stacks before validating against the strict &lt;code&gt;DishCardModel&lt;/code&gt; schema.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Sequential FIFO Queue &amp;amp; Failure Isolation (&lt;code&gt;src/queue/fifo-queue.js&lt;/code&gt;):&lt;/strong&gt; Processing multiple dishes in parallel will instantly thrash CPU/RAM on an 8GB laptop. RasaLore AI enforces strict sequential execution (&lt;code&gt;concurrency = 1&lt;/code&gt;). If a single dish fails or encounters malformed output, it is isolated into a &lt;code&gt;FAILED_ANOMALY&lt;/code&gt; state with an interactive "Retry Dish" button, allowing the rest of the queue to complete uninterrupted.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Surgical DOM Updates:&lt;/strong&gt; Rather than re-rendering the entire card grid during language changes (which causes flickering and destroys state), &lt;code&gt;CardStudio.updateCardNarrative()&lt;/code&gt; surgically targets only the narrative DOM element, keeping allergen badges, flavor chips, and sibling cards rock-solid.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Zero-Bundler Conformance (&lt;code&gt;CON-001&lt;/code&gt;):&lt;/strong&gt; The entire application is built using modern native ES Modules (&lt;code&gt;&amp;lt;script type="module"&amp;gt;&lt;/code&gt;) and Vanilla CSS. It requires zero compilation, zero bundling, and has zero runtime &lt;code&gt;node_modules&lt;/code&gt; dependencies.&lt;/li&gt;
&lt;/ul&gt;




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

&lt;p&gt;Open innovation is not just a philosophical preference for RasaLore AI—&lt;strong&gt;it is the fundamental reason this side hustle can exist as a profitable business.&lt;/strong&gt;&lt;/p&gt;

&lt;h3&gt;
  
  
  1. The Economics of the $0.00 Marginal Cost
&lt;/h3&gt;

&lt;p&gt;If this side hustle relied on closed proprietary APIs (like OpenAI GPT-4o or Anthropic Claude 3.5 Sonnet), every dish enrichment would incur token charges, network latency, and billing overhead. &lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;Auditing a 20-dish menu with multilingual translations across 4 languages requires approximately 30,000 to 50,000 prompt and completion tokens per restaurant.&lt;/li&gt;
&lt;li&gt;Closed APIs create unpredictable recurring costs and vulnerability to price changes or sudden deprecations.&lt;/li&gt;
&lt;li&gt;By utilizing open-weight &lt;strong&gt;Google Gemma 2&lt;/strong&gt;, inference costs drop to &lt;strong&gt;$0.00&lt;/strong&gt;. As our built-in Margin Widget demonstrates, an operator charging &lt;strong&gt;$50 per menu&lt;/strong&gt; and servicing 5 restaurants a week earns &lt;strong&gt;$1,082.50 per month at 99.8%+ gross profit margins&lt;/strong&gt;. Open-source AI transforms a thin-margin software subscription into a high-margin service business.&lt;/li&gt;
&lt;/ul&gt;

&lt;h3&gt;
  
  
  2. Radical Recipe Privacy &amp;amp; Air-Gapped Trust
&lt;/h3&gt;

&lt;p&gt;Traditional restaurant owners are intensely protective of their trade secrets. When approaching a legacy family restaurant in Bali or Penang, asking them to upload their handwritten grandmother's recipe into an unknown corporate cloud server is an immediate non-starter.&lt;br&gt;
Open innovation allows us to say to the restaurant owner:&lt;/p&gt;

&lt;blockquote&gt;
&lt;p&gt;&lt;em&gt;"We unplug the Wi-Fi cable before we run the tool. Your secret ingredients never leave this laptop, are never used to train someone else's model, and are never saved to any corporate server."&lt;/em&gt;&lt;/p&gt;
&lt;/blockquote&gt;

&lt;p&gt;This air-gapped privacy guarantee is completely impossible with closed commercial APIs, and it is the single most compelling sales argument when closing local clients.&lt;/p&gt;

&lt;h3&gt;
  
  
  3. Independence from Vendor Lock-In &amp;amp; Arbitrary Restrictions
&lt;/h3&gt;

&lt;p&gt;Closed AI platforms can arbitrarily change terms of service, ban accounts, experience outages, or impose rate limits during critical service hours. Open-weight models belong to the community. Once downloaded, Gemma 2 will run forever on our hardware, immune to server outages, internet disconnects, or third-party corporate decisions.&lt;/p&gt;




&lt;h2&gt;
  
  
  My First User
&lt;/h2&gt;

&lt;p&gt;To test the viability of this side hustle in the real world, I brought RasaLore AI to its first test user: &lt;strong&gt;Ibu Wayan&lt;/strong&gt;, owner of a boutique coastal warung in Sanur, Bali.&lt;/p&gt;

&lt;h3&gt;
  
  
  Who She Is
&lt;/h3&gt;

&lt;p&gt;Ibu Wayan runs a traditional warung serving authentic Balinese recipes passed down from her family. With the influx of Australian, European, and East Asian tourists, her paper menu was causing constant friction. Her handwritten English translations were confusing (her award-winning &lt;em&gt;Bebek Betutu&lt;/em&gt; was simply labeled &lt;em&gt;"Duck Chicken Flavor"&lt;/em&gt;), and her waitstaff struggled to explain what was in the food.&lt;/p&gt;

&lt;h3&gt;
  
  
  The Problem She Faced
&lt;/h3&gt;

&lt;p&gt;A week prior, an Australian customer with a severe crustacean allergy had a scary allergic reaction after ordering vegetable soup that contained an implicit dollop of fermented shrimp paste (&lt;em&gt;terasi&lt;/em&gt;). Ibu Wayan was terrified of repeat incidents but couldn't afford the $1,500 quote from a local branding agency to rewrite and reprint her menus.&lt;/p&gt;

&lt;h3&gt;
  
  
  The Engagement &amp;amp; Feedback
&lt;/h3&gt;

&lt;p&gt;I ran Ibu Wayan's 8 core dishes through RasaLore AI right at her dining table:&lt;/p&gt;

&lt;ol&gt;
&lt;li&gt;
&lt;strong&gt;The Nuance:&lt;/strong&gt; When she read the English and French narratives generated for &lt;em&gt;Bebek Betutu&lt;/em&gt;—describing it as &lt;em&gt;"a sacred Balinese ceremonial feast slow-roasted in banana leaves with rich wangen spice paste"&lt;/em&gt;—she was overjoyed: &lt;em&gt;"Yes! That is exactly what my grandmother taught me!"&lt;/em&gt;
&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;The Allergen Catch:&lt;/strong&gt; RasaLore AI immediately flagged her &lt;em&gt;Sambal Matah&lt;/em&gt; and &lt;em&gt;Sayur Urap&lt;/em&gt; with &lt;strong&gt;CRITICAL: Crustaceans (Source: Terasi)&lt;/strong&gt; and flagged her peanut sauce with &lt;strong&gt;CRITICAL: Peanuts&lt;/strong&gt;.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;The Deliverable:&lt;/strong&gt; Within 15 minutes, we generated a clean black-and-gold A4 table insert using the studio's print engine, printed two copies at the local print shop for $2, and slipped them onto her front tables.&lt;/li&gt;
&lt;/ol&gt;

&lt;h3&gt;
  
  
  Did She Pay?
&lt;/h3&gt;

&lt;p&gt;&lt;strong&gt;Yes!&lt;/strong&gt; Ibu Wayan paid &lt;strong&gt;Rp 500,000 (~$32 USD)&lt;/strong&gt; in cash on the spot for the 8-dish audit and laminated table inserts. &lt;br&gt;
When asked what she would want next, she asked: &lt;em&gt;"Can you put a QR code on the table that opens this in Japanese for my tourists from Tokyo?"&lt;/em&gt; (which is now fully supported through our responsive web view!).&lt;/p&gt;




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

&lt;p&gt;I am officially entering RasaLore AI into the following categories for &lt;strong&gt;Hacktoberfest Week 2: Side Hustle&lt;/strong&gt;:&lt;/p&gt;

&lt;h3&gt;
  
  
  🌟 Featured Category: Best Use of Gemma
&lt;/h3&gt;

&lt;p&gt;RasaLore AI is built from the ground up around &lt;strong&gt;Google Gemma 2 (&lt;code&gt;gemma2:2b&lt;/code&gt; and &lt;code&gt;gemma2:9b&lt;/code&gt;)&lt;/strong&gt;:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;Engineered structured JSON prompt templates specifically optimized for Gemma 2 instruction formatting (&lt;code&gt;src/prompts/gemma-prompts.js&lt;/code&gt;).&lt;/li&gt;
&lt;li&gt;Deep cultural translation and allergen classification executed entirely through Gemma 2's open weights running locally on Ollama and remotely on Hugging Face Serverless.&lt;/li&gt;
&lt;li&gt;Complete resilience engineering (bracket auto-closers, code fence strippers) designed specifically to handle edge-case generation quirks in lightweight open-weight models.&lt;/li&gt;
&lt;/ul&gt;

&lt;h3&gt;
  
  
  🏆 Overall Winner
&lt;/h3&gt;

&lt;p&gt;RasaLore AI delivers on every dimension of the Week 2 "Side Hustle" prompt:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;Solves a genuine, high-stakes problem for real small businesses.&lt;/li&gt;
&lt;li&gt;Open-source AI is the irreplaceable engine that makes the unit economics work (99.8%+ profit margin).&lt;/li&gt;
&lt;li&gt;Proven in the real world with a paying first customer.&lt;/li&gt;
&lt;li&gt;Impeccable technical execution: 33 automated unit/integration tests with 100% pass rate, zero runtime dependencies, surgical DOM rendering, and production-ready print/POS exports.&lt;/li&gt;
&lt;/ul&gt;




&lt;p&gt;&lt;em&gt;Thank you to DEV, Hacktoberfest, and the open-source community for empowering developers to build real-world, sustainable businesses with open innovation!&lt;/em&gt;&lt;/p&gt;

</description>
      <category>devchallenge</category>
      <category>hf26challenge</category>
      <category>ai</category>
      <category>gemma</category>
    </item>
  </channel>
</rss>
