<?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: Akarsh Deva</title>
    <description>The latest articles on DEV Community by Akarsh Deva (@akarsh_deva_ade97384007ab).</description>
    <link>https://dev.to/akarsh_deva_ade97384007ab</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%2F4161082%2Fcf03408c-9065-4fa8-94b0-8fcfd7c45be8.png</url>
      <title>DEV Community: Akarsh Deva</title>
      <link>https://dev.to/akarsh_deva_ade97384007ab</link>
    </image>
    <atom:link rel="self" type="application/rss+xml" href="https://dev.to/feed/akarsh_deva_ade97384007ab"/>
    <language>en</language>
    <item>
      <title>I built a voice-to-recipe tool for a friend who never measures anything</title>
      <dc:creator>Akarsh Deva</dc:creator>
      <pubDate>Sun, 04 Oct 2026 10:17:15 +0000</pubDate>
      <link>https://dev.to/akarsh_deva_ade97384007ab/i-built-a-voice-to-recipe-tool-for-a-friend-who-never-measures-anything-4fn6</link>
      <guid>https://dev.to/akarsh_deva_ade97384007ab/i-built-a-voice-to-recipe-tool-for-a-friend-who-never-measures-anything-4fn6</guid>
      <description>&lt;p&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;/p&gt;

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

&lt;p&gt;I have a friend who cooks everything by feel. Ask her for a recipe and she says "put some masala, add water till it looks right." Nothing is written down, because she doesn't know the amounts herself.&lt;/p&gt;

&lt;p&gt;But she can explain a dish out loud really well. So I built Voice2Recipe: you put voice notes in a folder, run one Python script, and get a written recipe book.&lt;/p&gt;

&lt;p&gt;I told the AI not to invent amounts. If the cook doesn't say how much, it writes "to taste", because I didn't want the tool to put words in my friend's mouth.&lt;/p&gt;

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

&lt;p&gt;I tested it with free public domain audio from LibriVox, where a volunteer reads an old cookbook. I did this before asking my friend to trust it with her own recipes.&lt;br&gt;
&lt;a href="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto/https%3A%2F%2Fdev-to-uploads.s3.us-east-2.amazonaws.com%2Fuploads%2Farticles%2Fjn2b8vzg81p8kovkq8zf.webp" class="article-body-image-wrapper"&gt;&lt;img src="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto/https%3A%2F%2Fdev-to-uploads.s3.us-east-2.amazonaws.com%2Fuploads%2Farticles%2Fjn2b8vzg81p8kovkq8zf.webp" alt=" " width="800" height="552"&gt;&lt;/a&gt;&lt;br&gt;
&lt;a href="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto/https%3A%2F%2Fdev-to-uploads.s3.us-east-2.amazonaws.com%2Fuploads%2Farticles%2F11sxzkiewrsbcubj3bs2.webp" class="article-body-image-wrapper"&gt;&lt;img src="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto/https%3A%2F%2Fdev-to-uploads.s3.us-east-2.amazonaws.com%2Fuploads%2Farticles%2F11sxzkiewrsbcubj3bs2.webp" alt=" " width="800" height="565"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;It works, but it isn't perfect. The AI added a "here's a cleaned recipe" line at the top, spelled the author's name wrong, and wrote "to taste" next to an ingredient that needed a real amount. I used the small 1B model, so a person should always read the recipe before trusting it.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;What my friend said&lt;/strong&gt;&lt;/p&gt;

&lt;p&gt;I haven't shown her the result yet, because I was still fixing mistakes.&lt;br&gt;
My guess is she'll say the amounts are wrong, since she never measures anything.&lt;br&gt;
I'll ask her if it sounds like how she explains it and update this post.&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/AkarshDeva" rel="noopener noreferrer"&gt;
        AkarshDeva
      &lt;/a&gt; / &lt;a href="https://github.com/AkarshDeva/Voice2Recipe" rel="noopener noreferrer"&gt;
        Voice2Recipe
      &lt;/a&gt;
    &lt;/h2&gt;
    &lt;h3&gt;
      
    &lt;/h3&gt;
  &lt;/div&gt;
&lt;/div&gt;


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

&lt;p&gt;It's one Python script with two open models, both running on my laptop:&lt;/p&gt;

&lt;ol&gt;
&lt;li&gt;
&lt;strong&gt;Whisper&lt;/strong&gt; (through faster-whisper) listens to the audio and writes down the text.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Gemma&lt;/strong&gt; (through Ollama) turns that messy text into a recipe with ingredients, steps and tips.&lt;/li&gt;
&lt;/ol&gt;

&lt;p&gt;My laptop is low on memory, so the script reads audio in 30 second pieces and uses the small Gemma 3 1B model.&lt;/p&gt;

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

&lt;p&gt;A voice note of someone cooking is personal, and I didn't want to upload it to a site I don't control. Since Whisper and Gemma run on my own laptop, the audio never leaves it.&lt;/p&gt;

&lt;p&gt;It also cost nothing and needed no account. The bigger Gemma model didn't fit in my memory, so I switched to the 1B one by changing a single word in the script. With a closed API I wouldn't have had that choice.&lt;/p&gt;

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

&lt;p&gt;Best Use of Gemma&lt;/p&gt;

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