<?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: Thilagavathi</title>
    <description>The latest articles on DEV Community by Thilagavathi (@thilagavathi1).</description>
    <link>https://dev.to/thilagavathi1</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%2F508815%2Ff08d2182-98d4-4a80-9d1e-d39babbe24de.jpeg</url>
      <title>DEV Community: Thilagavathi</title>
      <link>https://dev.to/thilagavathi1</link>
    </image>
    <atom:link rel="self" type="application/rss+xml" href="https://dev.to/feed/thilagavathi1"/>
    <language>en</language>
    <item>
      <title>SnapDone: I stopped screenshotting things I'd forget, and let an on-device Gemma do the remembering</title>
      <dc:creator>Thilagavathi</dc:creator>
      <pubDate>Mon, 26 Oct 2026 06:57:24 +0000</pubDate>
      <link>https://dev.to/thilagavathi1/snapdone-i-stopped-screenshotting-things-id-forget-and-let-an-on-device-gemma-do-the-remembering-3je3</link>
      <guid>https://dev.to/thilagavathi1/snapdone-i-stopped-screenshotting-things-id-forget-and-let-an-on-device-gemma-do-the-remembering-3je3</guid>
      <description>&lt;p&gt;&lt;em&gt;This is a submission for the &lt;a href="https://dev.to/challenges/hacktoberfest-week3-2026-10-19"&gt;Hacktoberfest Open-Source AI Challenge Week 3: Slow and Steady&lt;/a&gt;&lt;/em&gt;&lt;/p&gt;

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

&lt;p&gt;My camera roll is a graveyard of good intentions: an electricity bill due "sometime next week", a flight confirmation, a dentist appointment from a chat, a conference schedule. I screenshot them so I won't forget, and then I forget the screenshot.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;SnapDone&lt;/strong&gt; turns those screenshots into finished actions. Pick a screenshot, and the app:&lt;/p&gt;

&lt;ol&gt;
&lt;li&gt;reads the text &lt;strong&gt;on the phone&lt;/strong&gt; with OCR,&lt;/li&gt;
&lt;li&gt;asks &lt;strong&gt;Gemma 3 1B, running locally through llama.cpp&lt;/strong&gt;, to pull out what matters (title, date, time, amount, notes),&lt;/li&gt;
&lt;li&gt;shows you the result to &lt;strong&gt;review and edit&lt;/strong&gt;,&lt;/li&gt;
&lt;li&gt;and only after you confirm, creates a &lt;strong&gt;reminder&lt;/strong&gt; (local notifications the day before and on the day), a &lt;strong&gt;calendar event&lt;/strong&gt;, or a &lt;strong&gt;task&lt;/strong&gt;.&lt;/li&gt;
&lt;/ol&gt;

&lt;p&gt;No account, no cloud and no API key. The screenshot, the extracted text and the history never leave the phone.&lt;/p&gt;

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


&lt;div&gt;
    &lt;iframe src="https://www.youtube.com/embed/w07Y8e9CwGk" width="315" height="560"&gt;
    &lt;/iframe&gt;
  &lt;/div&gt;


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

&lt;p&gt;&lt;a href="https://github.com/Thilagavathi1/snapdone/tree/main" rel="noopener noreferrer"&gt;https://github.com/Thilagavathi1/snapdone/tree/main&lt;/a&gt;&lt;/p&gt;

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

&lt;p&gt;&lt;strong&gt;Stack:&lt;/strong&gt; Expo SDK 58, React Native 0.88, TypeScript, Expo Router, Zustand, expo-sqlite, expo-notifications, expo-calendar, Reanimated, Zod, &lt;a href="https://github.com/mybigday/llama.rn" rel="noopener noreferrer"&gt;llama.rn&lt;/a&gt; and ML Kit text recognition.&lt;/p&gt;

&lt;p&gt;The pipeline is four small services, each behind an interface so it can be swapped or mocked:&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight plaintext"&gt;&lt;code&gt;OCR service ──► AI service ──► Action service ──► SQLite history
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;A few things I learned along the way:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;
&lt;strong&gt;Small models need structure, not freedom.&lt;/strong&gt; I give llama.rn a JSON schema, which it turns into a grammar, so Gemma can only produce the shape I expect. Then I validate again with &lt;strong&gt;Zod&lt;/strong&gt;. If anything fails, the app shows &lt;strong&gt;Needs review&lt;/strong&gt; and switches to manual entry, instead of guessing.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;OCR order matters more than the model.&lt;/strong&gt; My first test on a Hacktoberfest schedule screenshot came back as a dateless "task". The OCR was accurate, but it read the page column by column, so each card's date box ended up far from its title. Rebuilding the text &lt;strong&gt;row by row from the text block positions&lt;/strong&gt; put "MON 26 OCT · Build an Open-Source AI Assistant · 10:30 PM" on one line. After that, the same screenshot became a proper calendar event.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Memory is the real constraint on a phone.&lt;/strong&gt; On my mid-range MediaTek phone, every JavaScript reload left another 800 MB copy of the model in native memory until the phone started swapping. Freeing old contexts before loading, plus 4 threads and a smaller context window, made it usable again.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Never act without consent.&lt;/strong&gt; The model proposes; you decide. Nothing is scheduled until you tap the button.&lt;/li&gt;
&lt;/ul&gt;

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

&lt;p&gt;Screenshots are some of the most private data on a phone: bills with account numbers, medical appointments, travel bookings, family chats. Sending them to a closed cloud API to turn them into reminders is a bad trade.&lt;/p&gt;

&lt;p&gt;With an open-weight model running locally:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;
&lt;strong&gt;Privacy by architecture.&lt;/strong&gt; The screenshot is processed in the phone's memory. There's no server to trust, because there's no server at all.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;It works offline.&lt;/strong&gt; After a one-time model download, it works in airplane mode.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;No recurring cost.&lt;/strong&gt; No API key, no per-request bill, and no rate limits on a feature meant to be used a little every day.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Swappable.&lt;/strong&gt; The model sits behind a small &lt;code&gt;LocalModel&lt;/code&gt; interface. Any GGUF that llama.cpp can run can replace Gemma 3 1B, from a smaller model for older phones to a bigger one for flagships.&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;Where the open approach lost: speed and raw accuracy. A cloud model would read a busy schedule faster and better than a 1B model on a mid-range phone. For a "do the boring thing for me, quietly" app, I'll take private and free over fast.&lt;/p&gt;

&lt;p&gt;&lt;em&gt;Licensing note: Gemma is open-weight under Google's Gemma Terms of Use. ML Kit is free and runs on the device, but it isn't open source.&lt;/em&gt;&lt;/p&gt;

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

&lt;h2&gt;
  
  
  The Lazy Payoff
&lt;/h2&gt;

&lt;p&gt;Before: screenshot a bill → forget it → late fee.&lt;br&gt;
Now: screenshot a bill → open SnapDone → tap once to confirm → get reminded the day before. That's the whole interaction.&lt;/p&gt;

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

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