Urgent.News

What's breaking now, across thousands of outlets.

Tech

I Turned My Grandmother's Voice Memos Into a Family Recipe Book, Fully Offline

Many family recipes only exist in someone's head. Ask how much of an ingredient goes in and you'll hear "a handful," "until it smells right," or "you'll know." When that person is gone, the recipe goes with them. For this challenge I built Recipe Keeper for a family member who cooks from memory and has never written their recipes down. You record yourself explaining a dish, and the tool turns…

Many family recipes are only kept in someone's mind. Asking about an ingredient's amount might result in vague answers like "a handful" or "until it tastes right." Once the cook is gone, the recipe disappears along with them. For a challenge, I developed Recipe Keeper for a family member who cooks from memory and rarely writes their recipes.

This tool records someone explaining a dish and converts that recording into a written recipe. All recipes are compiled into one book, and everything runs on my laptop without any internet or paid APIs. The target audience is a family member whose cooking skills I wouldn't want to lose. They often explain dishes in multiple languages, estimate quantities, and jump between steps in a recipe.

A regular recipe app wouldn't work for them, but a voice memo would. Here's how it operates: Record the dish by having the person explain it out loud and save the recording in a folder. Transcribe the audio to text using faster-whisper, an open-source version of Whisper, locally. Structure the rambling transcript into JSON format with a title, ingredients, steps, and personal tips using a local open-weight model (Gemma, served through Ollama).

Publish all the recipes into one Markdown recipe book using a small Python script. The core of the script is about 50 lines of Python. Some challenges include vague measurements, mixed languages, and invented details. To address these issues, the prompt and pipeline were designed to keep vague amounts vague, prevent the model from inventing numbers or details, and handle language switching.

Open source was crucial for privacy and to ensure the tool works offline without any cost. The code is available on GitHub for anyone to use and modify.

Written by urgent.news from Dev.to's reporting — not their text. Machine-written — may contain errors; check the original before relying on it.

Read the original at dev.to →

More in Tech

I launched a free GDPR-compliant toolkit for European users in 48 hours — here's the full technical breakdown

What I Built OmniWebTool (omniwebtool.com) — a free, privacy-focused digital tools platform built specifically for European users. 30+ tools running 100% in your browser. No file uploads.

  • OmniWebTool launched in 48 hours, free GDPR-compliant toolkit for European users
  • Platform features 30+ privacy-focused tools running entirely in browser
  • Technical foundation built with Next.js 14, static site generation, TypeScript, Tailwind CSS

What Does a Web Designer Actually Do Day to Day? A Beginner’s Guide

What Does a Web Designer Do? A web designer combines creativity with technology to create useful digital experiences. Before starting a design, they usually try to understand the website's purpose…

  • Web designers combine creativity with technical skills for user-friendly online experiences.
  • Tasks include designing interfaces, ensuring responsiveness, and collaborating with developers.
  • Daily routine involves communication, planning, reviewing, problem-solving, and testing designs.

More from Monday 5 October →