{"slug": "allergypal-open-source-ai-meal-planner-allergen-scanner-built-for-my-roommate", "title": "AllergyPal: Open-Source AI Meal Planner & Allergen Scanner Built for My Roommate Rahul", "summary": "A developer built AllergyPal, an open-source, client-side AI meal planner and recipe scanner that flags allergens and suggests substitutes, created for a roommate with severe tree nut and lactose allergies as part of the DEV × Hacktoberfest 2026 Weekend Challenge. The MIT-licensed web app runs an open-weights reasoning pipeline entirely in the browser, requiring no external API keys, and returns millisecond verdicts such as flagging almond milk, peanut butter and walnuts in a smoothie recipe with oat milk, sunflower seed butter and seed substitutes.", "body_md": "Living with a roommate who has severe food allergies changes how you think about everyday meals. My college friend and roommate **Rahul** deals with life-threatening tree nut and lactose allergies. \n\nEvery grocery trip or cooking session was an exercise in hyper-vigilance: squinting at microscopic warning labels, wondering whether a new recipe contained almond flour, walnut oil, or dairy-derived whey, and second-guessing whether something was genuinely safe.\n\nFor the **DEV × Hacktoberfest 2026 Weekend Challenge (\"Build for a Friend\")**, I built **AllergyPal** — a fast, private, open-source AI meal planner and recipe scanner designed specifically to keep Rahul safe and take the anxiety out of dinner.\n\n**AllergyPal** is an open-source assistive web application with open-source AI at its core. \n\nInstead of forcing users to navigate complex health databases, AllergyPal allows Rahul (or anyone cooking for him) to simply paste a recipe, grocery list, or restaurant dish description. In milliseconds, the open AI engine:\n\nHere is how AllergyPal looks and works in practice:\n\n```\n[ Active Allergen Shield: Rahul (Tree Nuts, Peanuts, Dairy/Lactose) ]\n\nInput: \n\"Breakfast Smoothie: 1 cup almond milk, 1 banana, 2 tbsp peanut butter, walnuts\"\n\nAllergyPal AI Output:\n⚠️ High Risk: Unsafe for Rahul!\n• ALMOND MILK detected (Tree Nut category) ➡️ Substitute: Fortified Oat Milk\n• PEANUT BUTTER detected (Peanut category) ➡️ Substitute: Sunflower Seed Butter (SunButter)\n• WALNUTS detected (Tree Nut category) ➡️ Substitute: Toasted Chia & Pumpkin Seeds\n```\n\nWhen scanning a clean recipe (like a Mediterranean chickpea and roasted sweet potato bowl), AllergyPal gives a bright green **\"✅ Verified 100% Safe for Rahul\"** verdict, explaining exactly why no cross-contaminants were found.\n\nAllergyPal is 100% open-source under the permissive MIT License.\n\nAt the heart of AllergyPal is an open-weights reasoning pipeline designed to categorize ingredients into allergen ontologies:\n\nBecause everything runs directly on the client, the application requires zero external API keys and has zero latency.\n\nThis challenge asked us to explain why an open approach worked better than a closed one. For AllergyPal, **open-source AI wasn't just a design preference — it was a necessity:**\n\nWhen I showed Rahul the working scanner and generated a safe dinner plan for our apartment, his first reaction was:\n\n*\"Wait, you built this just for my allergies? Being able to paste a whole recipe and see immediate substitutes without spending 15 minutes googling each ingredient is a game changer.\"*\n\nKnowing that something I built made my friend feel cared for and safe is the best reward of this entire hackathon.\n\n*Built with ❤️ for Rahul as part of the Hacktoberfest 2026 Weekend Challenge on DEV.*", "url": "https://wpnews.pro/news/allergypal-open-source-ai-meal-planner-allergen-scanner-built-for-my-roommate", "canonical_source": "https://dev.to/krishnasarkar051818/allergypal-open-source-ai-meal-planner-allergen-scanner-built-for-my-roommate-rahul-1588", "published_at": "2026-10-04 17:31:36+00:00", "updated_at": "2026-10-04 17:42:41.099581+00:00", "lang": "en", "topics": ["artificial-intelligence", "ai-tools", "generative-ai", "ai-products", "developer-tools"], "entities": ["AllergyPal", "Rahul", "DEV", "Hacktoberfest 2026"], "also_reported_by": [], "alternates": {"html": "https://wpnews.pro/news/allergypal-open-source-ai-meal-planner-allergen-scanner-built-for-my-roommate", "markdown": "https://wpnews.pro/news/allergypal-open-source-ai-meal-planner-allergen-scanner-built-for-my-roommate.md", "text": "https://wpnews.pro/news/allergypal-open-source-ai-meal-planner-allergen-scanner-built-for-my-roommate.txt", "jsonld": "https://wpnews.pro/news/allergypal-open-source-ai-meal-planner-allergen-scanner-built-for-my-roommate.jsonld"}}