<?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: Abhinav shrivas</title>
    <description>The latest articles on DEV Community by Abhinav shrivas (@abhinav_shrivas_3007ba1c7).</description>
    <link>https://dev.to/abhinav_shrivas_3007ba1c7</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%2F4159728%2Ffede88da-7487-48a1-b35b-6f5a79f7155c.png</url>
      <title>DEV Community: Abhinav shrivas</title>
      <link>https://dev.to/abhinav_shrivas_3007ba1c7</link>
    </image>
    <atom:link rel="self" type="application/rss+xml" href="https://dev.to/feed/abhinav_shrivas_3007ba1c7"/>
    <language>en</language>
    <item>
      <title>TrailWhisper — The 100% Offline Nature Guide Built to Turn Off Your Screen</title>
      <dc:creator>Abhinav shrivas</dc:creator>
      <pubDate>Thu, 08 Oct 2026 11:52:31 +0000</pubDate>
      <link>https://dev.to/abhinav_shrivas_3007ba1c7/trailwhisper-the-100-offline-nature-guide-built-to-turn-off-your-screen-1hgf</link>
      <guid>https://dev.to/abhinav_shrivas_3007ba1c7/trailwhisper-the-100-offline-nature-guide-built-to-turn-off-your-screen-1hgf</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;Most modern AI applications are designed to maximize screen time, keeping your eyes glued to glass in endless conversation loops. &lt;strong&gt;TrailWhisper is designed to turn itself off.&lt;/strong&gt;&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;TrailWhisper&lt;/strong&gt; is a 100% offline edge nature companion and bioacoustic field guide powered by open-source AI. Built for hikers, trail runners, foragers, birders, and anyone experiencing screen fatigue, it puts nature first:&lt;/p&gt;

&lt;ol&gt;
&lt;li&gt;
&lt;strong&gt;Ultra-Fast Capture (&amp;lt; 2 Seconds):&lt;/strong&gt; Point your camera or snap an outdoor specimen (flora, fungi, aviary, pollinators).&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;On-Device Edge Vision:&lt;/strong&gt; Open-weight Vision Transformers analyze the specimen locally on your device's GPU (WebGPU) in ~50ms without an internet connection.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Auditory Whisper (Eyes-Up Nature Experience):&lt;/strong&gt; Instead of making you read dense paragraphs on a glowing screen, a natural voice speaks a concise naturalist insight directly into your earphones, with automated markdown symbol stripping for fluid, human-like cadence.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Tactile Sensory Challenges:&lt;/strong&gt; Each sighting invites you to physically interact with the wild (&lt;em&gt;"Touch the deeply furrowed white oak bark," "Smell the crushed pine needles"&lt;/em&gt;).&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Anti-Screen Sleep Minimizer (Trail Mode):&lt;/strong&gt; To keep eyes on the canopy, an automatic sleep countdown dims the display into an ultra-dim, battery-saving OLED black mode with a breathing green leaf ring. (Paused by default for review, with a customizable timer: 30s, 60s, 90s, or 3 mins).&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Smartwatch GPX &amp;amp; Markdown Export:&lt;/strong&gt; Trail observations and offline GPS waypoints export directly into a &lt;code&gt;.gpx&lt;/code&gt; file loadable into Garmin, Apple Watch, Strava, and AllTrails—allowing you to pack your phone away completely during hikes.&lt;/li&gt;
&lt;/ol&gt;




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

&lt;ul&gt;
&lt;li&gt;
&lt;strong&gt;GitHub Repository:&lt;/strong&gt; &lt;a href="https://github.com/Abhinav-Shrivas/TrailWhisper" rel="noopener noreferrer"&gt;https://github.com/Abhinav-Shrivas/TrailWhisper&lt;/a&gt;
&lt;/li&gt;
&lt;/ul&gt;

&lt;h3&gt;
  
  
  How to Run Locally in 60 Seconds:
&lt;/h3&gt;



&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight shell"&gt;&lt;code&gt;git clone https://github.com/Abhinav-Shrivas/TrailWhisper.git
&lt;span class="nb"&gt;cd &lt;/span&gt;TrailWhisper
npm &lt;span class="nb"&gt;install
&lt;/span&gt;npm run dev
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;


&lt;p&gt;Open &lt;code&gt;http://localhost:5173&lt;/code&gt; in any modern browser (Chrome, Edge, Brave).&lt;/p&gt;
&lt;h3&gt;
  
  
  Interactive Testing Highlights:
&lt;/h3&gt;

&lt;ul&gt;
&lt;li&gt;
&lt;strong&gt;Curated Trail Presets:&lt;/strong&gt; Test immediate edge AI classification without leaving your desk using curated specimens (&lt;em&gt;Eastern White Oak&lt;/em&gt;, &lt;em&gt;Fly Agaric Mushroom&lt;/em&gt;, &lt;em&gt;Perched Songbird&lt;/em&gt;, &lt;em&gt;Autumn Maple&lt;/em&gt;, &lt;em&gt;Peat Moss&lt;/em&gt;).&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Live Camera &amp;amp; Photo Upload:&lt;/strong&gt; Aim your webcam at houseplants or upload your own trail photos (lions, elephants, mushrooms, trees).&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Offline Trail Simulator:&lt;/strong&gt; Toggle the &lt;strong&gt;TRAIL OFFLINE&lt;/strong&gt; badge in the header to verify that the app runs with &lt;strong&gt;0KB network traffic&lt;/strong&gt;.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Edge AI Engine Settings:&lt;/strong&gt; Click the CPU chip icon in the header to inspect your hardware acceleration (WebGPU Direct3D 12/Vulkan vs. WASM SIMD CPU), verify on-device privacy badges (0 bytes uploaded), and manage your local Ollama connection.&lt;/li&gt;
&lt;/ul&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/Abhinav-Shrivas" rel="noopener noreferrer"&gt;
        Abhinav-Shrivas
      &lt;/a&gt; / &lt;a href="https://github.com/Abhinav-Shrivas/TrailWhisper" rel="noopener noreferrer"&gt;
        TrailWhisper
      &lt;/a&gt;
    &lt;/h2&gt;
    &lt;h3&gt;
      TrailWhisper is a 100% offline edge nature companion and bioacoustic guide powered by open-source AI. It is built for hikers, trail runners, foragers, birders, and anyone seeking respite from screen fatigue.
    &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;🌲 TrailWhisper — Offline Edge Nature Guide &amp;amp; Audio Naturalist&lt;/h1&gt;
&lt;/div&gt;

&lt;blockquote&gt;
&lt;p&gt;&lt;strong&gt;"Built with open-source AI at its core to get people off the screen and into the wild."&lt;/strong&gt;&lt;br&gt;
&lt;em&gt;Touch Grass Challenge — Open Source AI Build&lt;/em&gt;&lt;/p&gt;
&lt;/blockquote&gt;




&lt;div class="markdown-heading"&gt;
&lt;h2 class="heading-element"&gt;🍃 The Philosophy: "Make the Screen the Shortest Part of the Experience"&lt;/h2&gt;
&lt;/div&gt;

&lt;p&gt;Most AI applications are designed to maximize your time looking at a screen. &lt;strong&gt;TrailWhisper is designed to turn itself off.&lt;/strong&gt;&lt;/p&gt;

&lt;p&gt;When you encounter an unfamiliar tree, mushroom, bird, or wildflower on a remote trail:&lt;/p&gt;


&lt;ol&gt;

&lt;li&gt;

&lt;strong&gt;Quick Capture (&amp;lt; 2 seconds)&lt;/strong&gt;: Point your camera or choose a specimen.&lt;/li&gt;

&lt;li&gt;

&lt;strong&gt;Instant Edge AI Inference&lt;/strong&gt;: Powered 100% on-device by open-weight AI (WebGPU / Transformers.js).&lt;/li&gt;

&lt;li&gt;

&lt;strong&gt;Auditory Whisper&lt;/strong&gt;: Instead of reading paragraphs on a screen, a natural voice speaks a concise naturalist insight directly into your earphones.&lt;/li&gt;

&lt;li&gt;

&lt;strong&gt;Tactile Sensory Prompt&lt;/strong&gt;: You are invited to interact with nature physically (&lt;em&gt;"Touch the deeply furrowed bark," "Smell the&lt;/em&gt;…&lt;/li&gt;

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





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

&lt;p&gt;TrailWhisper is built from the ground up around open-source AI models and frameworks:&lt;/p&gt;

&lt;h3&gt;
  
  
  1. Google Gemma 2 (&lt;code&gt;google/gemma-2-2b-it&lt;/code&gt;) — The Naturalist Reasoning Brain
&lt;/h3&gt;

&lt;p&gt;We integrated Google DeepMind's open-weight &lt;strong&gt;Gemma 2&lt;/strong&gt; as our ecological reasoning and sensory quest engine:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;
&lt;strong&gt;Custom Naturalist &lt;code&gt;Modelfile&lt;/code&gt;:&lt;/strong&gt; We created a specialized Ollama persona compiled directly on top of &lt;code&gt;FROM gemma2:2b&lt;/code&gt; (&lt;code&gt;ollama create trailwhisper -f Modelfile&lt;/code&gt;) that produces poetic, scientifically grounded ecological relationships formatted specifically for eyes-up hikers.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Live Local Ollama Bridge:&lt;/strong&gt; Connects seamlessly to a local Ollama instance on &lt;code&gt;localhost:11434&lt;/code&gt; via a dedicated Vite proxy to stream live 2.6B neural reasoning with zero browser CORS barriers.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Zero-Cloud Distilled Field Fallback:&lt;/strong&gt; When disconnected on a remote backcountry trail without Ollama active, TrailWhisper automatically falls back to an embedded &lt;strong&gt;Distilled Gemma 2 Field Cache&lt;/strong&gt; with zero network dependency.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Terminal Verification Command:&lt;/strong&gt; &lt;code&gt;npm run test:gemma&lt;/code&gt;
&lt;/li&gt;
&lt;/ul&gt;

&lt;h3&gt;
  
  
  2. Vision Transformer (ViT) — Hardware-Accelerated Edge Classifier
&lt;/h3&gt;

&lt;ul&gt;
&lt;li&gt;
&lt;strong&gt;Model:&lt;/strong&gt; &lt;code&gt;Xenova/vit-base-patch16-224&lt;/code&gt; (open weights in ONNX format).&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Runtime:&lt;/strong&gt; &lt;code&gt;@huggingface/transformers&lt;/code&gt; running directly in the browser via &lt;strong&gt;WebGPU&lt;/strong&gt; (Direct3D 12 / Vulkan) with WASM SIMD CPU fallback.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Zero Cloud Latency:&lt;/strong&gt; Performs forward tensor passes in ~50ms without transmitting pixels across the internet.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Terminal Verification Command:&lt;/strong&gt; &lt;code&gt;npm run test:model&lt;/code&gt;
&lt;/li&gt;
&lt;/ul&gt;

&lt;h3&gt;
  
  
  3. Offline Botanical &amp;amp; Wildlife Taxonomy Engine
&lt;/h3&gt;

&lt;ul&gt;
&lt;li&gt;Pre-compiled taxonomic field knowledge for 50+ forest species pairing neural predictions with safety badges (&lt;em&gt;Edible / Toxic / Protected&lt;/em&gt;), habitat notes, and tactile field cues.&lt;/li&gt;
&lt;/ul&gt;

&lt;h3&gt;
  
  
  4. Anti-Screen UI, GPX Engine &amp;amp; Local Field Journal
&lt;/h3&gt;

&lt;ul&gt;
&lt;li&gt;Built with Vite, React 19, and a custom &lt;strong&gt;Vanilla CSS&lt;/strong&gt; design system styled with deep forest obsidian tones (&lt;code&gt;#07100b&lt;/code&gt;) and bioluminescent accents (&lt;code&gt;#4ade80&lt;/code&gt;).&lt;/li&gt;
&lt;li&gt;Observations, timestamps, and GPS coordinates are stored exclusively in local &lt;code&gt;IndexedDB&lt;/code&gt;/&lt;code&gt;localStorage&lt;/code&gt; with 0 external telemetry.&lt;/li&gt;
&lt;li&gt;Export engine formats GPS coordinates directly into standard GPX 1.1 XML schema for cross-compatibility with outdoor GPS watches and mapping software.&lt;/li&gt;
&lt;/ul&gt;




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

&lt;h3&gt;
  
  
  1. Datacenters Can't Hike With You
&lt;/h3&gt;

&lt;p&gt;Frontier cloud models (GPT-4o, Gemini Cloud) reside in multi-billion dollar datacenters. When you hike into a valley, canyon, or national park, cellular reception vanishes—and cloud AI goes completely dark. If an assistant requires 5 bars of 5G to tell you whether a mushroom is toxic, it fails the outdoors. By running open weights locally on-device via &lt;strong&gt;Transformers.js and WebGPU&lt;/strong&gt;, TrailWhisper operates reliably in Airplane Mode with 0 bytes sent over the wire.&lt;/p&gt;

&lt;h3&gt;
  
  
  2. 100% Location &amp;amp; Foraging Privacy
&lt;/h3&gt;

&lt;p&gt;Trail paths and foraging spots are personal and sensitive. Commercial closed APIs log GPS waypoints and store photos on external servers. Open-source AI ensures that all coordinates, images, and notes remain strictly on the user's hardware.&lt;/p&gt;

&lt;h3&gt;
  
  
  3. $0.00 Operating Cost &amp;amp; Zero Cloud Emissions
&lt;/h3&gt;

&lt;p&gt;No subscription fees, no credit card paywalls, no metered API billing, and zero datacenter water or compute emissions.&lt;/p&gt;

&lt;h3&gt;
  
  
  4. Freedom to Build an "Anti-Screen" App
&lt;/h3&gt;

&lt;p&gt;Commercial AI companies optimize their products for continuous user engagement and endless chat loops. Open-source AI gave us the autonomy to build an AI that does the opposite: &lt;strong&gt;answers in 2 seconds, speaks aloud, and intentionally turns off the screen so you can touch grass.&lt;/strong&gt;&lt;/p&gt;




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

&lt;p&gt;This project was built and architected in pair-programming collaboration with &lt;strong&gt;Antigravity&lt;/strong&gt; (Google DeepMind's agentic AI assistant). The agent assisted with:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;Architecting the anti-screen WebGPU edge pipeline and auto-sleep countdown mechanics.&lt;/li&gt;
&lt;li&gt;Integrating Google Gemma 2 open weights, configuring the custom &lt;code&gt;Modelfile&lt;/code&gt;, and building the local Ollama bridge.&lt;/li&gt;
&lt;li&gt;Developing automated standalone test suites (&lt;code&gt;test-model.js&lt;/code&gt; and &lt;code&gt;test-gemma.js&lt;/code&gt;) for reproducible CLI verification.&lt;/li&gt;
&lt;li&gt;Configuring GitHub Actions CI/CD to ensure continuous model testing and build verification on every commit.&lt;/li&gt;
&lt;/ul&gt;




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

&lt;h3&gt;
  
  
  1. Best Use of Gemma ($200 USD)
&lt;/h3&gt;

&lt;ul&gt;
&lt;li&gt;
&lt;strong&gt;Model Used:&lt;/strong&gt; &lt;strong&gt;Google Gemma 2&lt;/strong&gt; (&lt;code&gt;google/gemma-2-2b-it&lt;/code&gt; / &lt;code&gt;gemma2:2b&lt;/code&gt;) by Google DeepMind.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Implementation:&lt;/strong&gt; Gemma 2 powers both the dynamic ecological reasoning engine and the real-time sensory quest generator. We created a custom Ollama &lt;code&gt;Modelfile&lt;/code&gt; (&lt;code&gt;FROM gemma2:2b&lt;/code&gt;) with a specialized naturalist prompt and sensory quest format, and coupled it with an offline distilled field knowledge cache for zero-cloud resilience in the backcountry.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Verification:&lt;/strong&gt; Run &lt;code&gt;npm run test:gemma&lt;/code&gt; to test the open-weight reasoning pipeline directly in your terminal.&lt;/li&gt;
&lt;/ul&gt;

&lt;h3&gt;
  
  
  2. Best Use of GitHub ($100 USD)
&lt;/h3&gt;

&lt;ul&gt;
&lt;li&gt;
&lt;strong&gt;Continuous Integration:&lt;/strong&gt; Implemented an automated &lt;strong&gt;GitHub Actions&lt;/strong&gt; workflow (&lt;a href="https://github.com/Abhinav-Shrivas/TrailWhisper/blob/master/.github/workflows/ci.yml" rel="noopener noreferrer"&gt;&lt;code&gt;.github/workflows/ci.yml&lt;/code&gt;&lt;/a&gt;).&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Automated AI Testing:&lt;/strong&gt; On every push and PR, GitHub Actions automatically spins up an environment, runs model unit tests to verify the Gemma 2 reasoning engine, and compiles the production bundle with &lt;code&gt;npm run build&lt;/code&gt; to prevent regressions for open-source contributors.&lt;/li&gt;
&lt;/ul&gt;

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