<?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: arjav patni</title>
    <description>The latest articles on DEV Community by arjav patni (@arjav_patni_1963ed32c00d2).</description>
    <link>https://dev.to/arjav_patni_1963ed32c00d2</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%2F3431780%2F955bcfad-39c9-44c5-b84c-7518d7a0f175.jpg</url>
      <title>DEV Community: arjav patni</title>
      <link>https://dev.to/arjav_patni_1963ed32c00d2</link>
    </image>
    <atom:link rel="self" type="application/rss+xml" href="https://dev.to/feed/arjav_patni_1963ed32c00d2"/>
    <language>en</language>
    <item>
      <title>Touch Grass: An Offline, Privacy-First AI Route Planner Powered by Local Gemma</title>
      <dc:creator>arjav patni</dc:creator>
      <pubDate>Tue, 06 Oct 2026 10:10:06 +0000</pubDate>
      <link>https://dev.to/arjav_patni_1963ed32c00d2/touch-grass-an-offline-privacy-first-ai-route-planner-powered-by-local-gemma-5a0p</link>
      <guid>https://dev.to/arjav_patni_1963ed32c00d2/touch-grass-an-offline-privacy-first-ai-route-planner-powered-by-local-gemma-5a0p</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;
  
  
  What I Built
&lt;/h2&gt;

&lt;p&gt;I built Touch Grass, an entirely offline, privacy-first route generator for cyclists, runners, and hikers. It is designed to get people off their screens and into the real world by instantly generating dynamic, locally-aware navigation plans that don't require an active internet connection or a pricey cloud subscription.   The application features a Python FastAPI backend communicating with a local Gemma 2B model (via Ollama) and a Next.js frontend with a high-contrast UI specifically optimized for outdoor visibility in bright sunlight&lt;/p&gt;

&lt;h2&gt;
  
  
  Who is it for?
&lt;/h2&gt;

&lt;p&gt;It is for athletes, casual walkers, and outdoor enthusiasts who want to explore their local neighborhoods without broadcasting their exact starting location coordinates to a third-party cloud server.&lt;/p&gt;

&lt;h2&gt;
  
  
  Demo
&lt;/h2&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%2Fyxmepkq6adgrzan8rtmf.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%2Fyxmepkq6adgrzan8rtmf.png" alt=" " width="799" height="454"&gt;&lt;/a&gt;&lt;/p&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%2Fojyutwzil8x14bre43ss.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%2Fojyutwzil8x14bre43ss.png" alt=" " width="800" height="692"&gt;&lt;/a&gt;&lt;/p&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%2F4ijiladz1b0kb2u4rzfs.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%2F4ijiladz1b0kb2u4rzfs.png" alt=" " width="800" height="961"&gt;&lt;/a&gt;&lt;/p&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%2Fdsebybwbvxihf8f4hqql.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%2Fdsebybwbvxihf8f4hqql.png" alt=" " width="800" height="954"&gt;&lt;/a&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/arjav007" rel="noopener noreferrer"&gt;
        arjav007
      &lt;/a&gt; / &lt;a href="https://github.com/arjav007/touch-grass-route-planner" rel="noopener noreferrer"&gt;
        touch-grass-route-planner
      &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;I built Touch Grass using a modern, local-first stack designed for offline outdoor endurance routing:&lt;/p&gt;

&lt;p&gt;Local Inference &amp;amp; Model: Powered by Gemma 2B, running locally on macOS via Ollama for instant offline response times without cloud latency.&lt;/p&gt;

&lt;p&gt;Backend: Built with Python FastAPI, which handles custom pacing calculations and strict spatial guardrails. Instead of trusting the lightweight model with raw math, Python calculates exact kilometer markers and feeds a strict structural template to Gemma, eliminating hallucinations or geographic teleportation.&lt;/p&gt;

&lt;p&gt;Frontend: Developed using Next.js (TypeScript &amp;amp; Tailwind CSS) with a high-contrast, mobile-first design optimized for outdoor readability under bright sunlight. It features an interactive preparation checklist and a timeline-based navigation view.&lt;/p&gt;

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

&lt;p&gt;Open innovation and open-weight models like Gemma 2B made this project possible in three critical ways:&lt;/p&gt;

&lt;p&gt;Zero-Connectivity Resilience: Outdoor endurance activities (trail running, hiking, and long-distance cycling) frequently take place in cellular dead zones, forests, or national parks. A closed, cloud-dependent API would fail entirely in these environments; a local open-source model runs anywhere.&lt;/p&gt;

&lt;p&gt;Absolute Privacy: Route planning inherently requires sharing sensitive starting coordinates (like a user's home or current location). Proprietary cloud services harvest and store this telemetry, whereas local inference guarantees that private location data never leaves the user's hardware.&lt;/p&gt;

&lt;p&gt;Zero Cost Experimentation: Endurance athletes iterate through dozens of route variations during a training block. Open-weight models allow unlimited free planning without incurring per-token API charges.&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>hf26challenge</category>
      <category>gemma</category>
      <category>python</category>
    </item>
  </channel>
</rss>
