<?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: Aakash Mehta</title>
    <description>The latest articles on DEV Community by Aakash Mehta (@aakash_mehta_48e67c642976).</description>
    <link>https://dev.to/aakash_mehta_48e67c642976</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%2F4167327%2F8d7b604d-4409-47dc-ba32-a1dfb9f2751c.png</url>
      <title>DEV Community: Aakash Mehta</title>
      <link>https://dev.to/aakash_mehta_48e67c642976</link>
    </image>
    <atom:link rel="self" type="application/rss+xml" href="https://dev.to/feed/aakash_mehta_48e67c642976"/>
    <language>en</language>
    <item>
      <title>GrassQuest: a local Gemma scavenger hunt that sends you outside</title>
      <dc:creator>Aakash Mehta</dc:creator>
      <pubDate>Sat, 10 Oct 2026 15:47:12 +0000</pubDate>
      <link>https://dev.to/aakash_mehta_48e67c642976/grassquest-a-local-gemma-scavenger-hunt-that-sends-you-outside-h6g</link>
      <guid>https://dev.to/aakash_mehta_48e67c642976/grassquest-a-local-gemma-scavenger-hunt-that-sends-you-outside-h6g</guid>
      <description>&lt;p&gt;&lt;em&gt;This is a submission for the &lt;a href="https://dev.to/challenges/hacktoberfest-week1-2026-10-05"&gt;Hacktoberfest Open-Source AI Challenge Week 1: Touch Grass&lt;/a&gt;&lt;/em&gt;&lt;/p&gt;

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

&lt;p&gt;GrassQuest turns a short walk into a photo scavenger hunt. You type where you're going, the season and how long you have. Gemma writes five things to find: a leaf shape, bark, a flower, a puddle reflection, a small insect. You snap a photo of each, and Gemma checks it. At the end it writes a short field journal from only what you actually found.&lt;/p&gt;

&lt;p&gt;The idea is simple: the screen should be the shortest part of the walk. You plan in about 20 seconds, then put the phone away.&lt;/p&gt;

&lt;p&gt;It runs entirely on my laptop. No cloud, no account, and no photo ever leaves my machine.&lt;/p&gt;

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

&lt;p&gt;  &lt;iframe src="https://www.youtube.com/embed/EMOXC7Ant3Q" width="710" height="399"&gt;
  &lt;/iframe&gt;
&lt;/p&gt;

&lt;p&gt;There is no live URL on purpose. The model runs locally through Ollama, so a hosted copy would defeat the point.&lt;/p&gt;

&lt;p&gt;Screenshots from the demo:&lt;/p&gt;

&lt;h2&gt;
  
  
  &lt;strong&gt;Code&lt;/strong&gt;
&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/aakashamy777" rel="noopener noreferrer"&gt;
        aakashamy777
      &lt;/a&gt; / &lt;a href="https://github.com/aakashamy777/Touch_Grass" rel="noopener noreferrer"&gt;
        Touch_Grass
      &lt;/a&gt;
    &lt;/h2&gt;
    &lt;h3&gt;
      
    &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;GrassQuest&lt;/h1&gt;

&lt;/div&gt;
&lt;p&gt;A local-first app for the Hacktoberfest "Touch Grass" challenge.&lt;/p&gt;
&lt;div class="markdown-heading"&gt;
&lt;h2 class="heading-element"&gt;Prerequisites&lt;/h2&gt;

&lt;/div&gt;
&lt;ol&gt;
&lt;li&gt;Node.js installed&lt;/li&gt;
&lt;li&gt;
&lt;a href="https://ollama.com/" rel="nofollow noopener noreferrer"&gt;Ollama&lt;/a&gt; installed and running locally&lt;/li&gt;
&lt;li&gt;The &lt;code&gt;gemma3:4b&lt;/code&gt; model pulled in Ollama&lt;/li&gt;
&lt;/ol&gt;
&lt;div class="markdown-heading"&gt;
&lt;h2 class="heading-element"&gt;Setup&lt;/h2&gt;

&lt;/div&gt;
&lt;ol&gt;
&lt;li&gt;
&lt;p&gt;Install dependencies:&lt;/p&gt;
&lt;div class="highlight highlight-source-shell notranslate position-relative overflow-auto js-code-highlight"&gt;
&lt;pre&gt;npm install&lt;/pre&gt;

&lt;/div&gt;
&lt;/li&gt;
&lt;li&gt;
&lt;p&gt;Pull the required model if you haven't already:&lt;/p&gt;
&lt;div class="highlight highlight-source-shell notranslate position-relative overflow-auto js-code-highlight"&gt;
&lt;pre&gt;ollama run gemma3:4b&lt;/pre&gt;

&lt;/div&gt;
&lt;/li&gt;
&lt;li&gt;
&lt;p&gt;Start the server:&lt;/p&gt;
&lt;div class="highlight highlight-source-shell notranslate position-relative overflow-auto js-code-highlight"&gt;
&lt;pre&gt;npm start&lt;/pre&gt;

&lt;/div&gt;
&lt;/li&gt;
&lt;li&gt;
&lt;p&gt;Open your browser and go to &lt;a href="http://localhost:3000" rel="nofollow noopener noreferrer"&gt;http://localhost:3000&lt;/a&gt;&lt;/p&gt;
&lt;/li&gt;
&lt;/ol&gt;
&lt;/div&gt;



&lt;/div&gt;
&lt;br&gt;
  &lt;div class="gh-btn-container"&gt;&lt;a class="gh-btn" href="https://github.com/aakashamy777/Touch_Grass" rel="noopener noreferrer"&gt;View on GitHub&lt;/a&gt;&lt;/div&gt;
&lt;br&gt;
&lt;/div&gt;
&lt;br&gt;


&lt;p&gt;Setup: install &lt;a href="https://ollama.com" rel="noopener noreferrer"&gt;Ollama&lt;/a&gt;, run &lt;code&gt;ollama pull gemma3:4b&lt;/code&gt;, then &lt;code&gt;npm install&lt;/code&gt; and &lt;code&gt;npm start&lt;/code&gt;, and open &lt;code&gt;http://localhost:3000&lt;/code&gt;.&lt;/p&gt;

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

&lt;ul&gt;
&lt;li&gt;
&lt;strong&gt;Model:&lt;/strong&gt; Gemma 3 4B (vision) through Ollama. It writes the quest, judges each photo and writes the journal.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Server:&lt;/strong&gt; Node.js and Express, with small endpoints for quests, photo checks and the journal.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Client:&lt;/strong&gt; one plain HTML page. Photos are resized to 1024px in the browser before upload, and progress is saved in &lt;code&gt;localStorage&lt;/code&gt; so a refresh doesn't lose the quest.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Structured output:&lt;/strong&gt; every call asks Gemma for JSON, validates it, and retries once if the output is bad.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Built in stages:&lt;/strong&gt; skeleton and health check first, then the quest generator, the photo check and the journal, testing each stage before starting the next.&lt;/li&gt;
&lt;/ul&gt;

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

&lt;ol&gt;
&lt;li&gt;
&lt;strong&gt;Privacy.&lt;/strong&gt; Your photos and your area stay on your own machine. A closed API would receive every photo you take.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;No signal needed.&lt;/strong&gt; Once the model is downloaded, the whole app works without internet, which is what you want on a trail.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Cost.&lt;/strong&gt; It is free to run, however many walks you take.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Swappable.&lt;/strong&gt; Changing one model name lets me try another open vision model without rewriting the app.&lt;/li&gt;
&lt;/ol&gt;

&lt;h2&gt;
  
  
  &lt;strong&gt;What I Tested&lt;/strong&gt;
&lt;/h2&gt;

&lt;p&gt;I tested the photo check with real photos on my laptop. Five matching photos passed their tasks, and mismatched photos were rejected. A photo of roses was correctly rejected on a different flower task.&lt;/p&gt;

&lt;div class="table-wrapper-paragraph"&gt;&lt;table&gt;
&lt;thead&gt;
&lt;tr&gt;
&lt;th&gt;Task&lt;/th&gt;
&lt;th&gt;Photo&lt;/th&gt;
&lt;th&gt;Result&lt;/th&gt;
&lt;/tr&gt;
&lt;/thead&gt;
&lt;tbody&gt;
&lt;tr&gt;
&lt;td&gt;Leaf with five lobes&lt;/td&gt;
&lt;td&gt;maple leaf&lt;/td&gt;
&lt;td&gt;pass&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;Close-up of rough bark&lt;/td&gt;
&lt;td&gt;tree bark&lt;/td&gt;
&lt;td&gt;pass&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;Cluster of pink flowers&lt;/td&gt;
&lt;td&gt;flowers&lt;/td&gt;
&lt;td&gt;pass&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;Building reflection in a puddle&lt;/td&gt;
&lt;td&gt;puddle&lt;/td&gt;
&lt;td&gt;pass&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;Small insect on a leaf&lt;/td&gt;
&lt;td&gt;stink bug&lt;/td&gt;
&lt;td&gt;pass&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;Any task&lt;/td&gt;
&lt;td&gt;unrelated photo&lt;/td&gt;
&lt;td&gt;rejected&lt;/td&gt;
&lt;/tr&gt;
&lt;/tbody&gt;
&lt;/table&gt;&lt;/div&gt;

&lt;h2&gt;
  
  
  &lt;strong&gt;What It Does Not Do&lt;/strong&gt;
&lt;/h2&gt;

&lt;ul&gt;
&lt;li&gt;
&lt;strong&gt;Look-alikes can slip through.&lt;/strong&gt; A chrysanthemum passed on a task that asked for a similar pink flower. A 4B model recognises "flower" better than an exact species. I added a "Gemma is not sure" note for low confidence, but it is not perfect.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Quests aren't always local.&lt;/strong&gt; Gemma sometimes suggests things that don't grow near you, such as maple leaves in Bengaluru.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;I have not done a full outdoor field test or a phone test yet.&lt;/strong&gt; Testing so far was on my laptop, using saved photos.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;The journal needed a fix.&lt;/strong&gt; The first version invented dates and details that were not in the input, so I changed it to use only the photo notes.&lt;/li&gt;
&lt;/ul&gt;

&lt;h2&gt;
  
  
  &lt;strong&gt;AI Disclosure&lt;/strong&gt;
&lt;/h2&gt;

&lt;p&gt;I used Antigravity to help write the code, and a Claude assistant helped me plan the build and write this post. The app itself runs on Gemma locally.&lt;/p&gt;

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

&lt;p&gt;&lt;strong&gt;Best Use of Gemma:&lt;/strong&gt; Gemma 3 4B does all three jobs (planning, vision and writing) locally.&lt;/p&gt;

</description>
      <category>hf26challenge</category>
      <category>ai</category>
      <category>opensource</category>
      <category>programming</category>
    </item>
  </channel>
</rss>
