<?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: Samrat</title>
    <description>The latest articles on DEV Community by Samrat (@masterfloppa).</description>
    <link>https://dev.to/masterfloppa</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%2F4161605%2F4953c857-fee3-469d-9769-0479d85b9b2f.jpg</url>
      <title>DEV Community: Samrat</title>
      <link>https://dev.to/masterfloppa</link>
    </image>
    <atom:link rel="self" type="application/rss+xml" href="https://dev.to/feed/masterfloppa"/>
    <language>en</language>
    <item>
      <title>Cheomil: A Local AI Cooking Companion</title>
      <dc:creator>Samrat</dc:creator>
      <pubDate>Sun, 04 Oct 2026 20:27:23 +0000</pubDate>
      <link>https://dev.to/masterfloppa/cheomil-a-local-ai-cooking-companion-ei4</link>
      <guid>https://dev.to/masterfloppa/cheomil-a-local-ai-cooking-companion-ei4</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;I built Cheomil, a local AI cooking companion for a friend who wanted to know what they could cook with the ingredients already in their kitchen.&lt;/p&gt;

&lt;p&gt;Unlike a generic recipe chatbot, Cheomil starts with a pantry containing actual quantities and units. My friend can ask “What can I make for lunch?” and receive suggestions with ingredient amounts and cooking steps.&lt;/p&gt;

&lt;p&gt;After cooking, they review and confirm the quantities used before anything is deducted. Grocery purchases follow the same review-and-confirm process.&lt;/p&gt;

&lt;p&gt;Chat supports follow-up questions, while New chat clears conversation memory without erasing the pantry. The goal is simple: help one person choose their next meal and keep track of what remains&lt;/p&gt;

&lt;h2&gt;
  
  
  DEMO
&lt;/h2&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%2Fdev-to-uploads.s3.us-east-2.amazonaws.com%2Fuploads%2Farticles%2Frlz8bj4kz9rob237gj4j.png" 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%2Fdev-to-uploads.s3.us-east-2.amazonaws.com%2Fuploads%2Farticles%2Frlz8bj4kz9rob237gj4j.png" alt=" " width="800" height="548"&gt;&lt;/a&gt;&lt;/p&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%2Fdev-to-uploads.s3.us-east-2.amazonaws.com%2Fuploads%2Farticles%2Fkn42ucm84bejbf4tiw8p.png" 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%2Fdev-to-uploads.s3.us-east-2.amazonaws.com%2Fuploads%2Farticles%2Fkn42ucm84bejbf4tiw8p.png" alt=" " width="800" height="440"&gt;&lt;/a&gt;&lt;/p&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%2Fdev-to-uploads.s3.us-east-2.amazonaws.com%2Fuploads%2Farticles%2Fl0z4y4pwvjhdit44zega.png" 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%2Fdev-to-uploads.s3.us-east-2.amazonaws.com%2Fuploads%2Farticles%2Fl0z4y4pwvjhdit44zega.png" alt=" " width="800" height="393"&gt;&lt;/a&gt;&lt;/p&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/MasterFloppa" rel="noopener noreferrer"&gt;
        MasterFloppa
      &lt;/a&gt; / &lt;a href="https://github.com/MasterFloppa/Cheomil" rel="noopener noreferrer"&gt;
        Cheomil
      &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;Cheomil&lt;/h1&gt;
&lt;/div&gt;
&lt;p&gt;&lt;strong&gt;Good food, already at home.&lt;/strong&gt; A local-first cooking companion built for a friend who wants to turn the ingredients at home into meals, without losing track of what remains.&lt;/p&gt;
&lt;div class="markdown-heading"&gt;
&lt;h2 class="heading-element"&gt;Run on Windows&lt;/h2&gt;
&lt;/div&gt;
&lt;p&gt;Prerequisites: Node.js 24.12 or newer, Ollama, and the Gemma 3 4B model.&lt;/p&gt;
&lt;div class="highlight highlight-source-powershell notranslate position-relative overflow-auto js-code-highlight"&gt;
&lt;pre&gt;git clone https:&lt;span class="pl-k"&gt;//&lt;/span&gt;&lt;span class="pl-c1"&gt;github.com&lt;/span&gt;&lt;span class="pl-k"&gt;/&lt;/span&gt;MasterFloppa&lt;span class="pl-k"&gt;/&lt;/span&gt;Cheomil.git
&lt;span class="pl-c1"&gt;Set-Location&lt;/span&gt; Cheomil
ollama pull gemma3:4b
npm start&lt;/pre&gt;

&lt;/div&gt;
&lt;p&gt;Open &lt;strong&gt;&lt;a href="http://127.0.0.1:3000" rel="nofollow noopener noreferrer"&gt;http://127.0.0.1:3000&lt;/a&gt;&lt;/strong&gt;. Ollama must be running at &lt;code&gt;http://127.0.0.1:11434&lt;/code&gt;.&lt;/p&gt;
&lt;p&gt;The production app has &lt;strong&gt;no npm runtime dependencies&lt;/strong&gt;. &lt;code&gt;npm install&lt;/code&gt; is only required for the optional Edge browser test.&lt;/p&gt;
&lt;div class="markdown-heading"&gt;
&lt;h2 class="heading-element"&gt;The everyday loop&lt;/h2&gt;
&lt;/div&gt;
&lt;ol&gt;
&lt;li&gt;Enter the ingredients you have, including their quantities. Use &lt;strong&gt;g&lt;/strong&gt;, &lt;strong&gt;ml&lt;/strong&gt;, or &lt;strong&gt;pcs&lt;/strong&gt;. Adding an existing ingredient tops up its stock.&lt;/li&gt;
&lt;li&gt;Ask a question such as "What can I make for lunch?" The local model proposes recipes with pantry ingredient references, quantities, serving counts, and cooking steps.&lt;/li&gt;
&lt;li&gt;Say "I cooked [dish name]" or…&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/MasterFloppa/Cheomil" 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;Cheomil uses Gemma 3 4B, an open-weight model served locally through Ollama. It interprets cooking requests, generates recipes, and identifies previously suggested dishes.&lt;/p&gt;

&lt;p&gt;The application uses a native Node.js server, SQLite, and vanilla JavaScript, with no npm runtime dependencies.&lt;/p&gt;

&lt;p&gt;The key design decision is separating AI suggestions from inventory changes. Application code validates ingredient references and quantities, and the person confirms every cooking or restocking action.&lt;/p&gt;

&lt;p&gt;One revealing edge case was a recipe treating 2 grams of onion as a meaningful ingredient. I added ingredient-specific quantity checks and explicit rejection of invalid drafts. These safeguards improve reliability but do not replace human judgment or food-safety checks.&lt;/p&gt;

&lt;p&gt;I used GitHub Copilot CLI for implementation, debugging, and regression coverage.&lt;/p&gt;

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

&lt;p&gt;After downloading the model, Cheomil runs without an internet connection or cloud AI API key. Pantry and conversation data stay on the local machine.&lt;/p&gt;

&lt;p&gt;Local inference avoids per-request API charges, although it still uses the computer’s processing power, memory, and electricity. CPU inference can also be slower than a hosted service.&lt;/p&gt;

&lt;p&gt;The model and prompts can be changed without tying the application to one cloud provider. Gemma is open-weight, not fully open-source, and its terms apply; Ollama supplies the open-source runtime.&lt;/p&gt;

&lt;p&gt;For a personal kitchen companion, local control is part of the product—not just a technical choice&lt;/p&gt;

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

&lt;p&gt;Best Use of Gemma: Gemma 3 4B powers local cooking-request interpretation and pantry-grounded recipe generation.&lt;/p&gt;

&lt;p&gt;Best Use of GitHub Copilot: GitHub Copilot CLI assisted with implementation, debugging, and automated regression coverage&lt;/p&gt;

</description>
      <category>devchallenge</category>
      <category>weekendchallenge</category>
      <category>hf26challenge</category>
    </item>
    <item>
      <title>New to the community</title>
      <dc:creator>Samrat</dc:creator>
      <pubDate>Sun, 04 Oct 2026 13:02:08 +0000</pubDate>
      <link>https://dev.to/masterfloppa/new-to-the-community-3leo</link>
      <guid>https://dev.to/masterfloppa/new-to-the-community-3leo</guid>
      <description>&lt;p&gt;Grittings everyone!&lt;/p&gt;

</description>
    </item>
  </channel>
</rss>
