<?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: Syed Saqib</title>
    <description>The latest articles on DEV Community by Syed Saqib (@saqib_builds).</description>
    <link>https://dev.to/saqib_builds</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%2F4157619%2F23122b7f-eb73-42dd-aa8f-8d752b72a6d0.jpg</url>
      <title>DEV Community: Syed Saqib</title>
      <link>https://dev.to/saqib_builds</link>
    </image>
    <atom:link rel="self" type="application/rss+xml" href="https://dev.to/feed/saqib_builds"/>
    <language>en</language>
    <item>
      <title>TrailPulse: An Offline-First Spatial Audio Guide for Zero Screen-Time Outdoors</title>
      <dc:creator>Syed Saqib</dc:creator>
      <pubDate>Sun, 11 Oct 2026 22:20:46 +0000</pubDate>
      <link>https://dev.to/saqib_builds/trailpulse-an-offline-first-spatial-audio-guide-for-zero-screen-time-outdoors-42af</link>
      <guid>https://dev.to/saqib_builds/trailpulse-an-offline-first-spatial-audio-guide-for-zero-screen-time-outdoors-42af</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;Modern outdoor technology suffers from a paradox: tools intended to enrich our time in nature—like plant identifiers, trail navigators, and peak finders—demand our constant visual attention. Hikers often pause at breathtaking vistas only to look down at glass screens, read text cards, and tap through menus. To make matters worse, backcountry trails and heritage parks frequently cut through cellular dead zones where conventional cloud-tethered apps fail completely.&lt;/p&gt;

&lt;p&gt;TrailPulse inverts this interaction model under a strict guiding philosophy: &lt;strong&gt;"Zero Screen-Time Outdoors."&lt;/strong&gt;&lt;/p&gt;

&lt;p&gt;It is an offline-first Progressive Web App (PWA) that converts standard GPX routes into location-triggered spatial audio narratives. Hikers and heritage walkers can prepare their tours ahead of time, plug in wireless earbuds, lock their phones, and put them in their pockets.&lt;/p&gt;

&lt;p&gt;As they hike:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;
&lt;strong&gt;Dynamic Haversine geofencing&lt;/strong&gt; continuously monitors satellite coordinates in the background.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Proximity alerts&lt;/strong&gt; trigger when users cross within 25–40 meters of a physical landmark, sounding a gentle entrance cue before playing a sensory audio vignette directly into their earbuds.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Lock-screen controls&lt;/strong&gt; via the MediaSession API display landmark names and allow single-tap earbud pause/resume functionality.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;An immersive experience&lt;/strong&gt; allows users to take in the physical landscape with their eyes up and completely off-screen.&lt;/li&gt;
&lt;/ul&gt;

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

&lt;p&gt;Live Application: &lt;a href="https://trailpulse.onrender.com" rel="noopener noreferrer"&gt;https://trailpulse.onrender.com&lt;/a&gt;&lt;/p&gt;


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


&lt;p&gt;Quick Test for Evaluators (60s Desk Demo):&lt;/p&gt;

&lt;p&gt;If you are reviewing this from your desk and cannot visit an outdoor trail right now, TrailPulse includes a built-in testing pipeline:&lt;/p&gt;

&lt;ol&gt;
&lt;li&gt;Open the live demo.&lt;/li&gt;
&lt;li&gt;Under Curated 1-Click Demo Trails, select Red Fort Quick Tour or Humayun's Tomb Garden (curated 45-second UNESCO Heritage demos).&lt;/li&gt;
&lt;li&gt;Click Load &amp;amp; Explore to unpack the audio bundle client-side into IndexedDB. &lt;/li&gt;
&lt;li&gt;Tap the GPS Simulator button to simulate physical movement along the path and hear automated proximity triggers fire without leaving your chair.&lt;/li&gt;
&lt;/ol&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/syed-yaga" rel="noopener noreferrer"&gt;
        syed-yaga
      &lt;/a&gt; / &lt;a href="https://github.com/syed-yaga/TrailPulse" rel="noopener noreferrer"&gt;
        TrailPulse
      &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;TrailPulse — Offline-First Nature Audio Guide&lt;/h1&gt;
&lt;/div&gt;
&lt;blockquote&gt;
&lt;p&gt;&lt;strong&gt;"Touch Grass, Screen Off"&lt;/strong&gt;: A zero-screen-time nature audio guide for Hacktoberfest 2026. Hikers prepare a trail tour at home, then hike with their phone locked in their pocket while spatial background GPS triggers ambient naturalist audio vignettes directly through wireless earbuds.&lt;/p&gt;
&lt;/blockquote&gt;
&lt;p&gt;&lt;a href="https://hacktoberfest.com/" rel="nofollow noopener noreferrer"&gt;&lt;img src="https://camo.githubusercontent.com/529b0573a287d8146eef0788b2508703a3090498d316c4755bd0b145c26c77c7/68747470733a2f2f696d672e736869656c64732e696f2f62616467652f4861636b746f626572666573742d32303236253230546f75636825323047726173732d627269676874677265656e" alt="Hacktoberfest 2026"&gt;&lt;/a&gt;
&lt;a href="https://trailpulse.onrender.com" rel="nofollow noopener noreferrer"&gt;&lt;img src="https://camo.githubusercontent.com/ce26796a9027735231871171e1b719b29e03b9adf73a20ed6b516c9ee3009ba3/68747470733a2f2f696d672e736869656c64732e696f2f62616467652f4c69766525323044656d6f2d747261696c70756c73652e6f6e72656e6465722e636f6d2d3130623938313f6c6f676f3d72656e646572" alt="Live Demo"&gt;&lt;/a&gt;
&lt;a href="https://github.com/syed-yaga/TrailPulse/LICENSE" rel="noopener noreferrer"&gt;&lt;img src="https://camo.githubusercontent.com/58dd4da42df86c1864adaeef729174bec2cc4fe94d46a73afd38424fb2da9340/68747470733a2f2f696d672e736869656c64732e696f2f62616467652f4c6963656e73652d4d49542d656d6572616c642e737667" alt="License: MIT"&gt;&lt;/a&gt;
&lt;a href="https://developer.mozilla.org/en-US/docs/Web/Progressive_web_apps" rel="nofollow noopener noreferrer"&gt;&lt;img src="https://camo.githubusercontent.com/2f9ce7b59598958cfc48d2bd053a7e3da882650e97341c43e3d4970f437b053d/68747470733a2f2f696d672e736869656c64732e696f2f62616467652f5057412d3130302532352532304f66666c696e6525323052656164792d677265656e" alt="PWA Ready"&gt;&lt;/a&gt;
&lt;a href="https://ai.google.dev/gemma" rel="nofollow noopener noreferrer"&gt;&lt;img src="https://camo.githubusercontent.com/331c00b303ec62d47e1b2ccd7026eb8725c86e0d258e2f9cc59e33271d2277d7/68747470733a2f2f696d672e736869656c64732e696f2f62616467652f41492d47656d6d6125323032253230283942292d626c7565" alt="Open Weights: Gemma 2"&gt;&lt;/a&gt;
&lt;a href="https://elevenlabs.io" rel="nofollow noopener noreferrer"&gt;&lt;img src="https://camo.githubusercontent.com/233f756360fcabad67ef59909ab88b7a10e51b320ddfd09ea5f5a3fdc742f810/68747470733a2f2f696d672e736869656c64732e696f2f62616467652f417564696f2d456c6576656e4c6162732532305454532d6f72616e6765" alt="Audio: ElevenLabs"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;div class="markdown-heading"&gt;
&lt;h2 class="heading-element"&gt;The Philosophy: "Zero Screen-Time Outdoors"&lt;/h2&gt;
&lt;/div&gt;
&lt;p&gt;Modern outdoor technology suffers from a paradox: apps intended to enhance time in nature (plant identifiers, digital maps, peak finders) pull the user’s eyes directly toward glass screens. Hikers stop at vistas, open apps, scan menus, and read paragraphs of text while ignoring the physical landscape around them. Furthermore, backcountry recreation frequently occurs in complete cellular dead zones where conventional cloud-hosted AI APIs fail entirely.&lt;/p&gt;
&lt;p&gt;&lt;strong&gt;TrailPulse inverts this interaction model by treating the screen as an obstacle to be minimized.&lt;/strong&gt;&lt;/p&gt;
&lt;div class="snippet-clipboard-content notranslate position-relative overflow-auto"&gt;
&lt;pre class="notranslate"&gt;&lt;code&gt;┌────────────────────────────────────────────────────────┐
│ Pre-Trip Preparation Phase (Connected: Home / Cellular) │
└───────────────────────────┬────────────────────────────┘
                            │ Uploads GPX Track
                            ▼
           ┌─────────────────────────────────┐&lt;/code&gt;&lt;/pre&gt;…&lt;/div&gt;&lt;/div&gt;
  &lt;/div&gt;
  &lt;div class="gh-btn-container"&gt;&lt;a class="gh-btn" href="https://github.com/syed-yaga/TrailPulse" rel="noopener noreferrer"&gt;View on GitHub&lt;/a&gt;&lt;/div&gt;
&lt;/div&gt;


&lt;p&gt;Repository: &lt;a href="https://github.com/syed-yaga/TrailPulse" rel="noopener noreferrer"&gt;https://github.com/syed-yaga/TrailPulse&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;License: MIT&lt;/p&gt;

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

&lt;p&gt;TrailPulse is built around a split-phase architecture that cleanly separates generative computation from field runtime.&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight plaintext"&gt;&lt;code&gt;[ Preparation Phase (Pre-Hike / Connected) ]
GPX Track ──▶ Express Orchestration Server
                 ├── Overpass API (400m POI context)
                 ├── Gemma 2 (Local / Ollama) ──▶ Tactile Nature Vignettes
                 └── ElevenLabs TTS ───────────▶ Audio Synthesis
                                                        │
                                            Compressed .zip Bundle
                                                        │
[ Execution Phase (Field Runtime / 100% Offline PWA) ]  │
IndexedDB Cache ◀── In-Memory JSZip Unpack ─────────────┘
      │
navigator.geolocation (Continuous satellite polling)
      │
Haversine Proximity Check (Distance &amp;lt;= 40m)
      │
Soft Chime Alert (Web Audio API) ──▶ Narration Playback ──▶ Wireless Earbuds
      │
Lock-Screen Metadata (MediaSession API)
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;h3&gt;
  
  
  1. Open-Source AI Core: Gemma 2 via Ollama
&lt;/h3&gt;

&lt;p&gt;To generate audio narratives that feel present and observant rather than like an encyclopedic Wikipedia read, we utilized Google's open-weights &lt;strong&gt;Gemma 2&lt;/strong&gt; running locally via &lt;strong&gt;Ollama&lt;/strong&gt;.&lt;/p&gt;

&lt;p&gt;Gemma 2 was prompted to write concise, 30–45 word sensory scripts focusing strictly on physical touchpoints (such as canopy foliage, sandstone textures, bird calls, and prevailing winds) while prohibiting conversational filler. For users without a local Ollama instance or ElevenLabs API key, the orchestration layer includes a deterministic procedural naturalist fallback and Web Audio synthesizer so the full pipeline works out of the box with zero external dependencies.&lt;/p&gt;

&lt;h3&gt;
  
  
  2. Client-Side Bundle Decompression &amp;amp; IndexedDB
&lt;/h3&gt;

&lt;p&gt;Backcountry connectivity is unreliable. Instead of streaming audio files on demand, TrailPulse packages the manifest and audio into a compressed &lt;code&gt;.zip&lt;/code&gt; bundle.&lt;/p&gt;

&lt;p&gt;Upon download, the client uses &lt;strong&gt;JSZip&lt;/strong&gt; to extract the archive in-memory, saves the raw audio blobs to the browser's &lt;strong&gt;IndexedDB&lt;/strong&gt;, and indexes them by waypoint ID. Once loaded, the app operates entirely decoupled from the network.&lt;/p&gt;

&lt;h3&gt;
  
  
  3. Surviving Mobile Screen Lock
&lt;/h3&gt;

&lt;p&gt;Mobile browsers aggressively throttle JavaScript timers and suspend background execution when a user turns off their display. TrailPulse solves this using a multi-pronged approach:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;
&lt;strong&gt;Audio Context Priming&lt;/strong&gt;: User interaction unlocks the audio thread before the walk begins.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Heartbeat Audio Loop&lt;/strong&gt;: A continuous, low-volume audio loop keeps the browser runtime active in the background.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Lock-Screen Integration&lt;/strong&gt;: The &lt;code&gt;navigator.mediaSession&lt;/code&gt; API binds landmark names and audio states to the lock-screen controls, enabling single-tap earbud interaction.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Debouncing &amp;amp; Hysteresis&lt;/strong&gt;: A visited-waypoint state engine prevents repetitive audio retriggers while the hiker lingers at a scenic overlook.&lt;/li&gt;
&lt;/ul&gt;

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

&lt;p&gt;Outdoor exploration and mobile edge computing demand resilience. Relying exclusively on proprietary cloud AI APIs creates several critical failure modes:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;
&lt;strong&gt;Cellular Dead Zones:&lt;/strong&gt; Proprietary conversational APIs require active internet connectivity. In canyons, dense forests, or remote historical sites, a cloud-tethered app stops functioning.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Cost &amp;amp; Privacy:&lt;/strong&gt; Continuous streaming or per-query API calls can turn outdoor utility tools into expensive, metered services that track user locations on remote servers.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Local Self-Reliance:&lt;/strong&gt; Open-weight models like Gemma 2 allow developers to run generation completely on local machines or private edge nodes.&lt;/li&gt;
&lt;/ul&gt;

&lt;h3&gt;
  
  
  The TrailPulse Solution
&lt;/h3&gt;

&lt;p&gt;By leveraging open-source AI locally during the trail preparation phase and open web standards (PWAs, IndexedDB, and the Geolocation API) during the walk, TrailPulse proves that modern software can enhance time in nature without tethering users to an internet connection or trapping their eyes behind a screen.&lt;/p&gt;

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

&lt;ul&gt;
&lt;li&gt;
&lt;strong&gt;Architectural Decoupling &amp;amp; Offline Runtime:&lt;/strong&gt; Directed the agent to enforce a strict boundary between tour generation and hike playback. Rather than executing cloud queries in zero-reception backcountry zones, we engineered a split-phase pipeline where &lt;code&gt;Gemma 2&lt;/code&gt; narrations and TTS audio are compiled into self-contained ZIP bundles, unpacked 100% client-side via &lt;code&gt;JSZip&lt;/code&gt;, and cached into &lt;code&gt;IndexedDB&lt;/code&gt; for zero-network playback.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Outdoor GPS Tracking &amp;amp; Inversion Fix:&lt;/strong&gt; Diagnosed an outdoor tracking bug where departing the trailhead caused remaining distance to climb instead of decrementing. Directed the agent to replace naive nearest-neighbor queries with a sequential unvisited waypoint queue, enforcing Haversine approach tracking (&lt;code&gt;≤ 40m&lt;/code&gt;) that counts down toward zero before advancing the trail pointer.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Mobile Audio Autoplay &amp;amp; MediaSession Integration:&lt;/strong&gt; Resolved strict mobile browser autoplay and background throttling policies. Instructed the agent to trigger a silent audio buffer on the physical "Start Hiking" touch gesture to unlock HTML5 audio permissions, pairing it with the &lt;code&gt;MediaSession&lt;/code&gt; API for persistent lock-screen metadata and Bluetooth earbud controls.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Evaluator UX &amp;amp; Responsive HUD Polish:&lt;/strong&gt; Guided responsive layout refinements to prevent mobile overflow, transforming the diagnostic telemetry into a responsive 2×2 Live GPS Debug HUD and introducing 1-click 45-second UNESCO Heritage demo bundles (Red Fort &amp;amp; Humayun's Tomb) for instant judge testing without API keys.&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;By pairing human architectural direction and outdoor edge-case debugging with the agent’s rapid implementation and continuous build verification, we delivered a resilient, zero-cloud PWA built for real trails.&lt;/p&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;: We use Google's open-weight Gemma 2 via Ollama to generate concise, tactile, sensory nature and heritage vignettes from raw GPX coordinates and Overpass POI data, strictly avoiding conversational filler.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Best Use of Render&lt;/strong&gt;: Render hosts TrailPulse's production PWA frontend and orchestration API runtime, serving the compiled static application and 1-click demo bundles at &lt;a href="https://trailpulse.onrender.com" rel="noopener noreferrer"&gt;https://trailpulse.onrender.com&lt;/a&gt;.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Best Use of ElevenLabs&lt;/strong&gt;: ElevenLabs provides the natural, studio-quality voice narration synthesized during trail preparation, giving the offline guide its immersive audio presence.&lt;/li&gt;
&lt;/ul&gt;

</description>
      <category>devchallenge</category>
      <category>hf26challenge</category>
      <category>ai</category>
      <category>opensource</category>
    </item>
    <item>
      <title>AirNEET: Building an Airplane Mode Socratic Mentor for My Sister's NEET Prep (100% Offline RAG)</title>
      <dc:creator>Syed Saqib</dc:creator>
      <pubDate>Mon, 05 Oct 2026 06:18:37 +0000</pubDate>
      <link>https://dev.to/saqib_builds/airneet-building-an-airplane-mode-socratic-mentor-for-my-sisters-neet-prep-100-offline-rag-4921</link>
      <guid>https://dev.to/saqib_builds/airneet-building-an-airplane-mode-socratic-mentor-for-my-sisters-neet-prep-100-offline-rag-4921</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;Preparing for the Indian &lt;strong&gt;National Eligibility cum Entrance Test (NEET)&lt;/strong&gt; requires memorizing thousands of verbatim lines across the NCERT curriculum. My sister, &lt;strong&gt;Sifat&lt;/strong&gt;, is preparing for NEET Medical 2027.&lt;/p&gt;

&lt;p&gt;Whenever she studied complex Biology chapters, she ran into three major roadblocks:&lt;/p&gt;

&lt;ol&gt;
&lt;li&gt;
&lt;strong&gt;The Distraction Loop:&lt;/strong&gt; Opening a browser or study app on her laptop invited notifications, WhatsApp pings, and YouTube rabbit holes. When she switched to Airplane Mode to focus, traditional digital study tools stopped working.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;The Spoon-Feeding Trap:&lt;/strong&gt; General conversational LLMs immediately provide full answers. Without the cognitive strain of recalling facts from memory, retention collapses on exam day.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Negative Marking &amp;amp; Hallucinations:&lt;/strong&gt; NEET penalizes incorrect answers with negative marks (-1 mark per incorrect answer). A general LLM hallucinating a single biochemical bond or enzyme property can damage an aspirant's score.&lt;/li&gt;
&lt;/ol&gt;

&lt;p&gt;I built &lt;strong&gt;AirNEET&lt;/strong&gt; specifically for Sifat: an offline desktop web tutor built exclusively for &lt;strong&gt;Airplane Mode&lt;/strong&gt;. It features:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;
&lt;strong&gt;100% Offline Local RAG:&lt;/strong&gt; Grounded strictly in NCERT textbook excerpts without requiring internet connectivity.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Strict Socratic Tutoring:&lt;/strong&gt; Never gives the answer directly; provides &lt;strong&gt;one conceptual clue&lt;/strong&gt; and &lt;strong&gt;one diagnostic test question&lt;/strong&gt; to force active recall.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;"Roast My Mistakes" Mode:&lt;/strong&gt; A supportive sibling persona that analyzes session mistakes with lighthearted banter and high-yield NEET mnemonics.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Asynchronous Mentor Sync:&lt;/strong&gt; Once Wi-Fi is restored after her study block, session metrics and identified weak topics sync to a cloud dashboard so I can review her progress.&lt;/li&gt;
&lt;/ul&gt;




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

&lt;ul&gt;
&lt;li&gt;
&lt;strong&gt;Live Sibling Review Dashboard (Render):&lt;/strong&gt; &lt;a href="https://airneet.onrender.com/dashboard" rel="noopener noreferrer"&gt;https://airneet.onrender.com/dashboard&lt;/a&gt;
&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Offline Client:&lt;/strong&gt; Runs locally on &lt;code&gt;http://localhost:3000&lt;/code&gt; under complete Airplane Mode.&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%2Fp5j9d1lnmljcl8t61ndo.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%2Fp5j9d1lnmljcl8t61ndo.png" alt="Chat UI with the Socratic hint and without WiFi" width="800" height="431"&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%2Fq1uuj6s25a4alyqo1zxk.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%2Fq1uuj6s25a4alyqo1zxk.png" alt="Render Dashboard" width="800" height="404"&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/syed-yaga" rel="noopener noreferrer"&gt;
        syed-yaga
      &lt;/a&gt; / &lt;a href="https://github.com/syed-yaga/AirNEET" rel="noopener noreferrer"&gt;
        AirNEET
      &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;AirNEET (Offline Socratic RAG)&lt;/h1&gt;
&lt;/div&gt;
&lt;blockquote&gt;
&lt;p&gt;&lt;strong&gt;Hacktoberfest 2026 • Challenge 1: Build for a Friend&lt;/strong&gt;&lt;br&gt;
&lt;strong&gt;Mentee:&lt;/strong&gt; Sifat (NEET Medical Aspirant)&lt;br&gt;
&lt;strong&gt;Core AI:&lt;/strong&gt; Local Ollama (&lt;code&gt;llama3.2&lt;/code&gt; + &lt;code&gt;nomic-embed-text&lt;/code&gt;)&lt;br&gt;
&lt;strong&gt;Stack:&lt;/strong&gt; Next.js 14/15 (App Router), Tailwind CSS, TypeScript, Express (Render-ready)&lt;/p&gt;
&lt;/blockquote&gt;

&lt;div class="markdown-heading"&gt;
&lt;h2 class="heading-element"&gt;Executive Summary &amp;amp; Problem Definition&lt;/h2&gt;
&lt;/div&gt;
&lt;p&gt;Preparing for the &lt;strong&gt;Indian National Eligibility cum Entrance Test (NEET)&lt;/strong&gt; requires memorizing thousands of NCERT lines across Physics, Chemistry, and Biology. However, modern studying faces three critical friction points:&lt;/p&gt;
&lt;ol&gt;
&lt;li&gt;
&lt;strong&gt;The Distraction Loop:&lt;/strong&gt; Studying online invites social media notifications, messaging apps, and video rabbit holes. Turning Wi-Fi off eliminates distractions but breaks standard web learning tools.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;The Spoon-Feeding Trap:&lt;/strong&gt; Standard conversational LLMs output full answers directly. When a student doesn't have to retrieve the information from memory, active recall drops drastically.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Hallucination Risk:&lt;/strong&gt; Generative AI often hallucinates facts, which is fatal in NEET's strict negative-marking scheme (-1 mark per incorrect answer).&lt;/li&gt;
&lt;/ol&gt;
&lt;div class="markdown-heading"&gt;
&lt;h3 class="heading-element"&gt;The Solution:&lt;/h3&gt;
&lt;/div&gt;
&lt;p&gt;&lt;strong&gt;AirNEET&lt;/strong&gt; is a 100% offline desktop…&lt;/p&gt;&lt;/div&gt;
  &lt;/div&gt;
  &lt;div class="gh-btn-container"&gt;&lt;a class="gh-btn" href="https://github.com/syed-yaga/AirNEET" rel="noopener noreferrer"&gt;View on GitHub&lt;/a&gt;&lt;/div&gt;
&lt;/div&gt;


&lt;ul&gt;
&lt;li&gt;
&lt;strong&gt;GitHub Repository:&lt;/strong&gt; &lt;a href="https://github.com/syed-yaga/AirNEET" rel="noopener noreferrer"&gt;https://github.com/syed-yaga/AirNEET&lt;/a&gt;
&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;License:&lt;/strong&gt; MIT License&lt;/li&gt;
&lt;/ul&gt;




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

&lt;p&gt;AirNEET balances an offline-first local client with an asynchronous cloud review companion:&lt;/p&gt;

&lt;h3&gt;
  
  
  1. Local Open-Source AI Stack (Ollama)
&lt;/h3&gt;

&lt;ul&gt;
&lt;li&gt;
&lt;strong&gt;LLM Engine:&lt;/strong&gt; Local &lt;code&gt;llama3.2&lt;/code&gt; running locally on &lt;code&gt;localhost:11434&lt;/code&gt; for sub-second, zero-cost Socratic streaming.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Embedding Model:&lt;/strong&gt; Local &lt;code&gt;nomic-embed-text&lt;/code&gt; (~274 MB) generating embeddings completely offline.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Vector Store:&lt;/strong&gt; In-memory LangChain vector store serialized to &lt;code&gt;client/data/vector_store/index.json&lt;/code&gt;.&lt;/li&gt;
&lt;/ul&gt;

&lt;h3&gt;
  
  
  2. Frontend &amp;amp; RAG Pipeline
&lt;/h3&gt;

&lt;ul&gt;
&lt;li&gt;
&lt;strong&gt;Framework:&lt;/strong&gt; Next.js 14/15 App Router, TypeScript, and Tailwind CSS.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Selective Ingestion:&lt;/strong&gt; Chunked &lt;strong&gt;Class 11 Chapter 9 (Biomolecules)&lt;/strong&gt; into 47 optimized chunks (500 tokens, 80 overlap), keeping the active memory footprint under 2 GB RAM.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Socratic Guardrail:&lt;/strong&gt; Enforces responses formatted with strict &lt;code&gt;### Conceptual Clue:&lt;/code&gt; and &lt;code&gt;### Diagnostic Question:&lt;/code&gt; headers alongside verified NCERT page citations.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Local Persistence:&lt;/strong&gt; Writes study session logs and weak areas to &lt;code&gt;./data/study_log.json&lt;/code&gt; with zero network dependency.&lt;/li&gt;
&lt;/ul&gt;

&lt;h3&gt;
  
  
  3. Cloud Review Backend (Render)
&lt;/h3&gt;

&lt;ul&gt;
&lt;li&gt;
&lt;strong&gt;Backend:&lt;/strong&gt; Express &amp;amp; TypeScript web service deployed on &lt;strong&gt;Render&lt;/strong&gt;.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Sync Mechanism:&lt;/strong&gt; When Wi-Fi is toggled back on, clicking "Sync to Brother" dispatches the session payload to &lt;code&gt;POST https://airneet.onrender.com/api/sync&lt;/code&gt;.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Mentor Dashboard:&lt;/strong&gt; Accessible at &lt;code&gt;GET /dashboard&lt;/code&gt;, rendering an overview of Sifat's study sessions, questions asked, and flagged weak concepts.&lt;/li&gt;
&lt;/ul&gt;




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

&lt;p&gt;Open-source and local AI were non-negotiable for this project:&lt;/p&gt;

&lt;ol&gt;
&lt;li&gt;
&lt;strong&gt;True Airplane Mode:&lt;/strong&gt; Proprietary cloud APIs (OpenAI, Claude) require an active internet connection, directly breaking the core goal of a distraction-free, isolated study environment.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Deterministic Grounding &amp;amp; Zero Cost:&lt;/strong&gt; High-school students should not face subscription paywalls, token limits, or cloud downtime during exam preparation. Open-weight models like &lt;code&gt;llama3.2&lt;/code&gt; and &lt;code&gt;nomic-embed-text&lt;/code&gt; provide reliable, sub-second inference at zero cost.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Data Sovereignty:&lt;/strong&gt; Study logs, mistake patterns, and personal learning pace remain entirely on the local device.&lt;/li&gt;
&lt;/ol&gt;




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

&lt;ul&gt;
&lt;li&gt;
&lt;strong&gt;Primary Track:&lt;/strong&gt; Hacktoberfest Challenge 1 — Build for a Friend (Built for my sister, Sifat, for NEET 2027)&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Partner Category:&lt;/strong&gt; Render (Express review dashboard and sync API web service deployed on Render)&lt;/li&gt;
&lt;/ul&gt;

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