<?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: Ashish Anand</title>
    <description>The latest articles on DEV Community by Ashish Anand (@ashishanand).</description>
    <link>https://dev.to/ashishanand</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%2F4152864%2F77e209ca-899c-4008-b783-8d08a110d706.png</url>
      <title>DEV Community: Ashish Anand</title>
      <link>https://dev.to/ashishanand</link>
    </image>
    <atom:link rel="self" type="application/rss+xml" href="https://dev.to/feed/ashishanand"/>
    <language>en</language>
    <item>
      <title>Recipe Keeper - Hacktoberfest '26</title>
      <dc:creator>Ashish Anand</dc:creator>
      <pubDate>Mon, 05 Oct 2026 03:32:50 +0000</pubDate>
      <link>https://dev.to/ashishanand/recipe-keeper-hacktoberfest-26-42om</link>
      <guid>https://dev.to/ashishanand/recipe-keeper-hacktoberfest-26-42om</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;&lt;strong&gt;Recipe Keeper&lt;/strong&gt; is a small web app that turns [Grandpa's / Name's] rambling voice memos into a printable family cookbook.&lt;/p&gt;

&lt;p&gt;I built it for my grandfather. He cooks entirely by feel: "a fistful of rice, no, more, and onions until it smells right." None of it is written down, and the recipes will be lost if nobody captures them. A normal recipe app would force exact measurements he never uses, and it would throw away the stories that make the food his.&lt;/p&gt;

&lt;p&gt;You paste in a transcript of what he said. A local AI model turns it into a clean recipe card with a title, ingredients, steps and notes. It follows two rules:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;
&lt;strong&gt;It never invents quantities.&lt;/strong&gt; "A fistful" stays "a fistful".&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Unclear parts become questions to ask him&lt;/strong&gt;, such as "Ask Grandpa: how long is 'until it smells right'?"&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;Every card also keeps a quote of his original words underneath. Each recipe has a photo slot for the dish, and the whole cookbook can be printed or saved as a PDF to give back to the family.&lt;/p&gt;

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

&lt;p&gt;&lt;a href="https://youtu.be/6sBEymtBEBc" rel="noopener noreferrer"&gt;https://youtu.be/6sBEymtBEBc&lt;/a&gt;&lt;/p&gt;

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

&lt;p&gt;&lt;a href="https://github.com/ASAN-11/Recipe-Keeper" rel="noopener noreferrer"&gt;https://github.com/ASAN-11/Recipe-Keeper&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;It's a single file, &lt;code&gt;recipe-keeper.html&lt;/code&gt;, with no build step and no dependencies.&lt;/p&gt;

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

&lt;ul&gt;
&lt;li&gt;
&lt;strong&gt;Model:&lt;/strong&gt; an open-weight model run locally with &lt;strong&gt;Ollama&lt;/strong&gt; (I used &lt;code&gt;llama3.2&lt;/code&gt;, and the app lets you pick any model you have installed).&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Inference:&lt;/strong&gt; the page calls Ollama's local &lt;code&gt;/api/chat&lt;/code&gt; endpoint. Responses are streamed so you see the model working, and JSON mode (&lt;code&gt;format: "json"&lt;/code&gt;) with a low temperature keeps the output a structured recipe.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Prompting:&lt;/strong&gt; the system prompt tells the model to use only what was said and never guess amounts. It also tells it to flag unclear steps as questions for the cook.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;App:&lt;/strong&gt; plain HTML, CSS and JavaScript. The cookbook is saved in the browser's local storage, and it can be exported or imported as a JSON backup. The hero section takes a background photo or video, and a print stylesheet makes a clean PDF.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Setup:&lt;/strong&gt; &lt;code&gt;ollama pull llama3.2&lt;/code&gt;, then serve the page from localhost (&lt;code&gt;python -m http.server&lt;/code&gt;) or start Ollama with &lt;code&gt;OLLAMA_ORIGINS="*"&lt;/code&gt;.&lt;/li&gt;
&lt;/ul&gt;

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

&lt;ul&gt;
&lt;li&gt;
&lt;strong&gt;Privacy:&lt;/strong&gt; these are family recipes and a grandparent's own voice and stories. With a local model, none of it goes to a server I don't control, and there's no account to make.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Works offline:&lt;/strong&gt; after the one-time model download, it runs with no internet. That matters in a kitchen or at a grandparent's house.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Free to run:&lt;/strong&gt; there are no API keys and no per-token cost, so I can process as many memos as I want.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Swappable and tunable:&lt;/strong&gt; I can change models from a dropdown, and later I could fine-tune one on the finished cookbook so the cards sound like him.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;I control the behavior:&lt;/strong&gt; the "never invent quantities" rule matters a lot for heirloom recipes. With an open model I own the prompt and settings, and no provider can change them under me.&lt;/li&gt;
&lt;/ul&gt;




&lt;p&gt;&lt;strong&gt;What my father said when I showed him:&lt;/strong&gt; "Good, Boy!!" He asked me to do with his scrambled eggs recipe and shahi panner and it worked.&lt;/p&gt;

</description>
      <category>devchallenge</category>
      <category>weekendchallenge</category>
      <category>hf26challenge</category>
    </item>
  </channel>
</rss>
