{"slug": "meal-mate-less-deciding-more-dinner-built-for-my-daughter-with-local-ai", "title": "Meal Mate: Less Deciding, More Dinner.Built for My Daughter with Local AI", "summary": "A developer built Meal Mate, a React and Vite web app that suggests a single recipe from ingredients a user already has, filtered by cooking time and dietary preferences such as dairy-free or gluten-free. The Express backend sends prompts to Gemma 3 4B via Ollama running locally, so no hosted inference API key is required and ingredient inputs never leave the machine. Prompt refinement addressed early inconsistencies, such as listing dry rice while instructing the user to reheat it, by distinguishing uncooked ingredients from leftovers.", "body_md": "*This is a submission for the [Hacktoberfest Weekend Challenge: Build for a Friend](https://dev.to/challenges/hacktoberfest-weekend-2026-10-01)*\n\nI built Meal Mate for my daughter to help her decide what to cook after a long day at work and university.\n\nShe enters the ingredients she already has, chooses 10, 20 or 30 minutes, and can select dairy-free or gluten-free preferences. Meal Mate suggests one simple meal for one person, with quantities and cooking instructions.\n\nI chose to return just one meal to make the decision easier. There is also a Copy Recipe button so she can keep the instructions handy.\n\nShe tried the app and said it would save her time and effort after a long day at work and uni. That was exactly the everyday problem I wanted to help with.\n\nThe screenshots shows Meal Mate running locally on my Mac, generating a recipe from available ingredients and copying the result.\n\nThe frontend uses React and Vite, with Express handling recipe requests. The backend sends a prompt to Gemma 3 4B through Ollama, running locally on my machine.\n\nThe prompt includes the available ingredients, time limit and dietary preferences. It asks for realistic quantities, minimal extra ingredients and five consistent recipe sections.\n\nTesting helped me improve the instructions. One early result listed dry rice but told the user to reheat it. I refined the prompt to distinguish uncooked ingredients from leftovers and to check consistency between the ingredient list and cooking steps.\n\nI also added input validation, loading states, error handling, Markdown rendering and a responsive layout.\n\nRecipes are AI-generated suggestions, so the interface reminds users to check ingredients, cooking instructions and product labels.\n\nLocal inference is at the centre of Meal Mate. The recipe request goes to Ollama on my machine rather than a hosted AI service.\n\nThat means no hosted inference API key is required, and ingredient inputs do not need to leave the computer for recipe generation. Once the model and dependencies are installed, local generation can run without an internet connection.\n\nUsing an open-weight model also gives me room to experiment. I can swap models and adjust the instructions as I learn what works best for my daughter.\n\nThere is a trade-off: generation speed depends on the computer running the model. For this small project, that was a useful way to learn about local AI while building something for someone I care about.", "url": "https://wpnews.pro/news/meal-mate-less-deciding-more-dinner-built-for-my-daughter-with-local-ai", "canonical_source": "https://dev.to/fabpe/meal-mate-less-deciding-more-dinnerbuilt-for-my-daughter-with-local-ai-12oc", "published_at": "2026-10-05 00:33:56+00:00", "updated_at": "2026-10-05 00:42:18.086030+00:00", "lang": "en", "topics": ["ai-tools", "large-language-models", "generative-ai", "ai-products"], "entities": ["Meal Mate", "Ollama", "Gemma 3 4B", "React", "Vite", "Express", "Hacktoberfest"], "also_reported_by": [], "alternates": {"html": "https://wpnews.pro/news/meal-mate-less-deciding-more-dinner-built-for-my-daughter-with-local-ai", "markdown": "https://wpnews.pro/news/meal-mate-less-deciding-more-dinner-built-for-my-daughter-with-local-ai.md", "text": "https://wpnews.pro/news/meal-mate-less-deciding-more-dinner-built-for-my-daughter-with-local-ai.txt", "jsonld": "https://wpnews.pro/news/meal-mate-less-deciding-more-dinner-built-for-my-daughter-with-local-ai.jsonld"}}