<?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: Laiba Ashfaq</title>
    <description>The latest articles on DEV Community by Laiba Ashfaq (@laiba_ashfaq_4b3f4b363ad4).</description>
    <link>https://dev.to/laiba_ashfaq_4b3f4b363ad4</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%2F3958298%2F3912c80d-8da9-462d-9a6c-c719864fec96.png</url>
      <title>DEV Community: Laiba Ashfaq</title>
      <link>https://dev.to/laiba_ashfaq_4b3f4b363ad4</link>
    </image>
    <atom:link rel="self" type="application/rss+xml" href="https://dev.to/feed/laiba_ashfaq_4b3f4b363ad4"/>
    <language>en</language>
    <item>
      <title>HomeMemory {Memo}</title>
      <dc:creator>Laiba Ashfaq</dc:creator>
      <pubDate>Sun, 04 Oct 2026 22:52:56 +0000</pubDate>
      <link>https://dev.to/laiba_ashfaq_4b3f4b363ad4/homememory-memo-16bj</link>
      <guid>https://dev.to/laiba_ashfaq_4b3f4b363ad4/homememory-memo-16bj</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;&lt;em&gt;HomeMemory&lt;/em&gt;&lt;/strong&gt; is a private memory for the small things families keep forgetting. Mother,sister,father and I are always asking: where are the spare keys, what's the Wi-Fi password, where did the wallet go, which hospital receipt was that, when does this medicine expire.&lt;/p&gt;

&lt;p&gt;You take a photo, add a short note ("wallet on the side table in my bedroom"), and a mascot called Memo remembers it. Later you ask in plain English, Urdu or Roman Urdu and get an answer with the source photo. A "Due soon" tab flags medicines and documents before they expire.&lt;/p&gt;

&lt;p&gt;I built it for my Mother, who is not at the age to remember everything so 1 time she forget her credit card in some shop so we all are very concern i build this for her so she is in ease .&lt;/p&gt;

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

&lt;p&gt;  &lt;iframe src="https://www.youtube.com/embed/1i7o2_LhIHk" width="710" height="399"&gt;
  &lt;/iframe&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/laiba-Ashfaq" rel="noopener noreferrer"&gt;
        laiba-Ashfaq
      &lt;/a&gt; / &lt;a href="https://github.com/laiba-Ashfaq/Home-Memory" rel="noopener noreferrer"&gt;
        Home-Memory
      &lt;/a&gt;
    &lt;/h2&gt;
    &lt;h3&gt;
      A private memory assistant for the small things families keep forgetting.
    &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;HomeMemory&lt;/h1&gt;
&lt;/div&gt;
&lt;blockquote&gt;
&lt;p&gt;A private memory assistant for the small things families keep forgetting.&lt;/p&gt;


&lt;/blockquote&gt;

&lt;div class="markdown-heading"&gt;
&lt;h2 class="heading-element"&gt;About&lt;/h2&gt;
&lt;/div&gt;

&lt;p&gt;HomeMemory is a personal memory assistant designed to help families remember where important everyday things are and keep track of dates such as document or medicine expiry dates.&lt;/p&gt;

&lt;p&gt;The idea came from a simple experience: my mother once left her credit card behind at a shop. It made me think about how often we forget small but important things at home — where we kept our wallet, keys, receipts, documents, or other belongings.&lt;/p&gt;

&lt;p&gt;Instead of expecting someone to remember everything, HomeMemory lets them simply &lt;strong&gt;ask&lt;/strong&gt;.&lt;/p&gt;

&lt;div class="markdown-heading"&gt;
&lt;h2 class="heading-element"&gt;What It Does&lt;/h2&gt;
&lt;/div&gt;

&lt;p&gt;With HomeMemory, you can:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;Take or upload a photo of an item.&lt;/li&gt;
&lt;li&gt;Add a short note about where it is.&lt;/li&gt;
&lt;li&gt;Use an open model to analyze the photo and extract useful details.&lt;/li&gt;
&lt;li&gt;Review and edit the information before saving it.&lt;/li&gt;
&lt;li&gt;Ask questions about saved items in English, Urdu…&lt;/li&gt;
&lt;/ul&gt;&lt;/div&gt;
  &lt;/div&gt;
  &lt;div class="gh-btn-container"&gt;&lt;a class="gh-btn" href="https://github.com/laiba-Ashfaq/Home-Memory" rel="noopener noreferrer"&gt;View on GitHub&lt;/a&gt;&lt;/div&gt;
&lt;/div&gt;
&lt;br&gt;
Live Deploy :&lt;br&gt;
&lt;a href="http://home-memorygit-an9izpjmre3yesgikuoybq.streamlit.app/" rel="noopener noreferrer"&gt;http://home-memorygit-an9izpjmre3yesgikuoybq.streamlit.app/&lt;/a&gt; 
&lt;h2&gt;
  
  
  How I Built It
&lt;/h2&gt;

&lt;p&gt;Gemma 4 runs locally through Ollama. It reads each photo and returns structured JSON (category, item, description, readable text, expiry date) and writes the final answers.&lt;br&gt;
EmbeddingGemma turns each memory into a vector, so "extra chabi" can still find "spare keys".&lt;br&gt;
MongoDB Atlas Vector Search stores the memories and finds the closest match to a question.&lt;br&gt;
Streamlit powers the interface, including a dark mode and an animated mascot, Memo.&lt;/p&gt;

&lt;p&gt;What I did to keep answers reliable:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;&lt;p&gt;Forced a fixed JSON schema and temperature 0, so the model can't invent categories.&lt;/p&gt;&lt;/li&gt;
&lt;li&gt;&lt;p&gt;Made your own note the source of truth for where something is.&lt;/p&gt;&lt;/li&gt;
&lt;li&gt;&lt;p&gt;Added a confirm-and-edit step before anything is saved.&lt;/p&gt;&lt;/li&gt;
&lt;li&gt;&lt;p&gt;Added a match threshold, so Memo says "I couldn't find that" instead of guessing.&lt;/p&gt;&lt;/li&gt;
&lt;li&gt;&lt;p&gt;Wrote a small test script: top-1 retrieval accuracy was [X/Y = 78%] on 10 real items.&lt;br&gt;
What went wrong: a real failure, my wallet was first labelled "document" because of the cards inside, and Then i add edit button and dropdown menue chnage into add also button for belongings .&lt;br&gt;
result: it takes 10-15 minutes to find these things before This chatbot ,after this it goes to 2-3 minutes maximum &lt;/p&gt;&lt;/li&gt;
&lt;/ul&gt;

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

&lt;p&gt;This ChatBot holds Wi-Fi passwords, ID documents, medical receipts and where the jewelry is kept. I didn't want to send those photos to a closed API.&lt;/p&gt;

&lt;p&gt;Because Gemma is open-weight, the photo reading and answering run on my own laptop. The images never leave it, there are no per-request costs, and I could change the prompts, schema and model size freely.&lt;/p&gt;

&lt;p&gt;One honest limit: the text records and their embeddings are stored in MongoDB Atlas, not locally. The same code also works against a local MongoDB.&lt;/p&gt;

&lt;h2&gt;
  
  
  My Agent Session
&lt;/h2&gt;

&lt;p&gt;I built HomeMemory by working with Claude in a chat window, then running and testing&lt;br&gt;
everything on my own laptop. I didn't use a coding-agent tool, so I have no agent-session&lt;br&gt;
file to share. The main fixes I made along the way:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;wallet was first labelled "document"; fixed with a new category and a stricter prompt&lt;/li&gt;
&lt;li&gt;search threshold tuned so Memo says "not found" instead of guessing&lt;/li&gt;
&lt;li&gt;UI fixes for dark mode and the upload button&lt;/li&gt;
&lt;/ul&gt;

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

&lt;ul&gt;
&lt;li&gt;
&lt;strong&gt;Best Use of Gemma&lt;/strong&gt;: Gemma 4 runs locally through Ollama. It reads each photo and returns structured JSON, and it writes the answers. EmbeddingGemma creates the embeddings used for search.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Best Use of MongoDB Atlas&lt;/strong&gt;: Atlas stores every memory and Atlas Vector Search finds the closest match to a question.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Best Use of ElevenLabs&lt;/strong&gt;: I used ElevenLabs to generate the narration for my demo video.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Best Use of GitHub Copilot&lt;/strong&gt;: I used Copilot in VS Code to fix errors i encounter like toggle button not working so i had to fix it using copilot ollama takes to much time so i also fixed this issue it now reads images quickly with better score.&lt;/li&gt;
&lt;/ul&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%2Flwbe4wtmwpg3bmfe701p.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%2Flwbe4wtmwpg3bmfe701p.png" alt="Home-page" width="800" height="341"&gt;&lt;/a&gt;&lt;/p&gt;

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