<?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>GhostAltar</title>
      <dc:creator>Abhinav shrivas</dc:creator>
      <pubDate>Fri, 30 Oct 2026 08:20:14 +0000</pubDate>
      <link>https://dev.to/abhinav_shrivas_3007ba1c7/ghostaltar-2fih</link>
      <guid>https://dev.to/abhinav_shrivas_3007ba1c7/ghostaltar-2fih</guid>
      <description>&lt;p&gt;&lt;em&gt;This is a submission for the &lt;a href="https://dev.to/challenges/hacktoberfest-week4-2026-10-26"&gt;Hacktoberfest Open-Source AI Challenge Week 4: Ghost in the Machine&lt;/a&gt;&lt;/em&gt;&lt;/p&gt;

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

&lt;p&gt;I built &lt;strong&gt;GhostAltar&lt;/strong&gt; — an on-device virtual ofrenda, memorial storyteller, and spectral remembrance engine created for &lt;strong&gt;Día de los Muertos&lt;/strong&gt; (November 1–2) and &lt;strong&gt;Halloween&lt;/strong&gt; (October 31).&lt;/p&gt;

&lt;p&gt;GhostAltar provides a sanctuary where anyone can build a glowing, multi-tiered digital altar for their ancestors, departed loved ones, or pioneering historical figures. It features an interactive candlelit ofrenda with flickering flame physics, ceremonial marigold blossom trails (&lt;em&gt;cempasúchil&lt;/em&gt;), and sacred offerings. Using in-browser &lt;strong&gt;WebGPU Vision Transformers&lt;/strong&gt;, users can drop photos of family heirlooms, watches, or traditional bread to classify their sacred elemental resonance (Tierra, Fuego, Viento, Agua). An open-weight &lt;strong&gt;Google Gemma 2&lt;/strong&gt; agent then weaves the placed offerings into poetic memorial verses, comforting eulogies, and gentle "Whispers from Across the Veil."&lt;/p&gt;

&lt;h3&gt;
  
  
  Who Gets to Use It?
&lt;/h3&gt;

&lt;ul&gt;
&lt;li&gt;
&lt;strong&gt;Families &amp;amp; Communities Celebrating Día de los Muertos&lt;/strong&gt;: Honoring ancestors with traditional pan de muerto, copal incense, and marigold paths without needing physical altar space.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Anyone Processing Grief or Loss&lt;/strong&gt;: Creating an intimate digital sanctuary that preserves their loved one's memory permanently and privately.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Tech Enthusiasts &amp;amp; Historians Celebrating "Ghost in the Machine"&lt;/strong&gt;: Channeling forgotten internet history and computing pioneers like Ada Lovelace, Alan Turing, or the midnight dial-up BBS SysOps.&lt;/li&gt;
&lt;/ul&gt;




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

&lt;p&gt;GhostAltar runs locally on &lt;strong&gt;&lt;code&gt;http://localhost:5176&lt;/code&gt;&lt;/strong&gt; with instant preset testing, interactive candle vigils, real-time WebGPU relic classification, and synthesized ambient audio.&lt;/p&gt;

&lt;h3&gt;
  
  
  Interactive Testing Highlights:
&lt;/h3&gt;

&lt;ul&gt;
&lt;li&gt;
&lt;strong&gt;Curated Sacred Altars&lt;/strong&gt;: Seamlessly switch between rich ancestral and historical presets (&lt;em&gt;Abuela Elena's Traditional Hearth&lt;/em&gt;, &lt;em&gt;Ada Lovelace's Victorian Séance&lt;/em&gt;, &lt;em&gt;Alan Turing's Cryptographic Tribute&lt;/em&gt;, and &lt;em&gt;The Midnight SysOp's Phosphor Terminal&lt;/em&gt;).&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Interactive Candle Vigil&lt;/strong&gt;: Click individual candles on the altar to light or extinguish their flames, accompanied by synthesized candle shimmer audio.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;WebGPU Relic &amp;amp; Offering Scanner&lt;/strong&gt;: Drop a photo of an heirloom, watch, flower, or bread into the ofrenda to see it classified and added to the altar in ~40ms with 0KB uploaded.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Eulogy &amp;amp; Memorial Verse Weaver&lt;/strong&gt;: Powered by Google Gemma 2, it generates an evocative memorial verse, heartfelt tribute, comforting "Whisper from the Veil", and recommended ritual guidance.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Synthesized Candlelight &amp;amp; Copal Wind Soundscape&lt;/strong&gt;: Toggleable ambient audio synthesized in-browser via the Web Audio API with peaceful flame flutter noise and gentle crystal bell chimes.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Local Memorial Vault &amp;amp; Tribute Card Export&lt;/strong&gt;: Save personalized altars to browser &lt;code&gt;localStorage&lt;/code&gt; and export a formatted printable Memorial Tribute Card.&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/Ghost-in-the-machine" rel="noopener noreferrer"&gt;
        Ghost-in-the-machine
      &lt;/a&gt;
    &lt;/h2&gt;
    &lt;h3&gt;
      GhostAltar is a local-first, on-device interactive altar (ofrenda) and ancestral storyteller designed for perpetual remembrance.
    &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;🏵️ GhostAltar&lt;/h1&gt;
&lt;/div&gt;
&lt;blockquote&gt;
&lt;p&gt;&lt;strong&gt;On-Device Virtual Ofrenda &amp;amp; Memorial Remembrance Engine&lt;/strong&gt;&lt;br&gt;
Honor loved ones, ancestors, and computing pioneers across the veil. Built in the reverent spirit of &lt;strong&gt;Día de los Muertos&lt;/strong&gt; and the haunting atmosphere of &lt;strong&gt;Halloween&lt;/strong&gt; — powered 100% locally by &lt;strong&gt;WebGPU Vision&lt;/strong&gt; and &lt;strong&gt;Google Gemma 2&lt;/strong&gt;.&lt;/p&gt;
&lt;/blockquote&gt;
&lt;p&gt;&lt;a href="https://github.com/Abhinav-Shrivas/Ghost-in-the-machine/LICENSE" rel="noopener noreferrer"&gt;&lt;img src="https://camo.githubusercontent.com/9e04966f6a646b1cd3fc05c6ea88a80211c6f20b186b584c2c515ef9c411ad2c/68747470733a2f2f696d672e736869656c64732e696f2f62616467652f4c6963656e73652d4d49542d616d6265722e737667" alt="License: MIT"&gt;&lt;/a&gt;
&lt;a href="https://huggingface.co/docs/transformers.js" rel="nofollow noopener noreferrer"&gt;&lt;img src="https://camo.githubusercontent.com/4389a0f662cd2eb1f197f8708e395d54469d17984ad658ca909f80ed7ff30dac/68747470733a2f2f696d672e736869656c64732e696f2f62616467652f566973696f6e25323041492d5765624750552532304f4e4e582d707572706c652e737667" alt="Vision AI: WebGPU ONNX"&gt;&lt;/a&gt;
&lt;a href="https://ollama.ai" rel="nofollow noopener noreferrer"&gt;&lt;img src="https://camo.githubusercontent.com/3278bd6f80990840367d506dc13be02ae78edaf811ec1f4e991a1f5015e343eb/68747470733a2f2f696d672e736869656c64732e696f2f62616467652f4c4c4d2d476f6f676c6525323047656d6d6125323032253230283242292d626c75652e737667" alt="LLM: Google Gemma 2"&gt;&lt;/a&gt;
&lt;a href="https://github.com/Abhinav-Shrivas/Ghost-in-the-machine#why-open-innovation-matters" rel="noopener noreferrer"&gt;&lt;img src="https://camo.githubusercontent.com/79e79e99c9d7c81c34eef01fe077df324b4dce351ea453e5dde45f1c638eb2cd/68747470733a2f2f696d672e736869656c64732e696f2f62616467652f436c6f7564253230415049253230436f7374732d253234302e30302d737563636573732e737667" alt="Zero Cloud API Costs"&gt;&lt;/a&gt;
&lt;a href="https://github.com/Abhinav-Shrivas/Ghost-in-the-machine#why-open-innovation-matters" rel="noopener noreferrer"&gt;&lt;img src="https://camo.githubusercontent.com/21e2decbc17062f772b8c40289e68aa71ccbf6e12adaf60f77bac79ba20c6267/68747470733a2f2f696d672e736869656c64732e696f2f62616467652f53616e63746974792532306f6625323047726965662d3130302532352532304f6e2d2d4465766963652d627269676874677265656e2e737667" alt="Offline Privacy"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;div class="markdown-heading"&gt;
&lt;h2 class="heading-element"&gt;🕯️ The Problem: Digital Memory &amp;amp; The Commercialization of Grief&lt;/h2&gt;
&lt;/div&gt;
&lt;p&gt;Remembering those who came before us is one of humanity's most sacred traditions. During &lt;strong&gt;Día de los Muertos&lt;/strong&gt; (November 1–2) and &lt;strong&gt;Halloween&lt;/strong&gt; (October 31), the veil between past and present thins:&lt;/p&gt;
&lt;ol&gt;
&lt;li&gt;
&lt;strong&gt;Commercial Exploitation of Grief&lt;/strong&gt;: Cloud-based memorial apps and AI obituary tools charge monthly subscriptions or hoard family photos and eulogies on corporate servers for ad targeting and proprietary model training.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;The Fragility of Cloud Services&lt;/strong&gt;: When a memorial startup shuts down, digital tributes disappear. Memories should belong to families, not venture capital runway.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;The Intimacy of the Ritual&lt;/strong&gt;: Remembering…&lt;/li&gt;
&lt;/ol&gt;&lt;/div&gt;
  &lt;/div&gt;
  &lt;div class="gh-btn-container"&gt;&lt;a class="gh-btn" href="https://github.com/Abhinav-Shrivas/Ghost-in-the-machine" rel="noopener noreferrer"&gt;View on GitHub&lt;/a&gt;&lt;/div&gt;
&lt;/div&gt;





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

&lt;p&gt;GhostAltar was engineered around open-weight models, browser WebGPU hardware acceleration, and local agent runtimes. The architecture connects five coordinated local subsystems: an in-browser vision transformer that classifies memorial relics in milliseconds, an open-weight culinary and memorial agent powered by Google Gemma 2 tuned specifically for reverent poetry, an offline heuristic fallback engine for candlelit rooms with the internet off, an elemental Spiritual Resonance calculator, and a local-first memorial vault.&lt;/p&gt;

&lt;h3&gt;
  
  
  1. In-Browser WebGPU Relic Vision Classifier
&lt;/h3&gt;

&lt;p&gt;The visual pipeline runs on &lt;code&gt;@huggingface/transformers&lt;/code&gt; using a quantized Vision Transformer (&lt;code&gt;Xenova/vit-base-patch16-224&lt;/code&gt; ONNX runtime). When a photo of an heirloom, flower, candle, or sustenance is dropped onto the altar, it is analyzed directly on the client machine using WebGPU hardware acceleration (Direct3D 12 on Windows, Metal on macOS, or Vulkan on Linux), falling back to WASM SIMD CPU threads on older machines. In approximately 40 milliseconds, the model identifies the item, assigns its sacred element (Earth, Fire, Wind, Water), and describes its cultural significance with zero data transmitted over the internet.&lt;/p&gt;

&lt;h3&gt;
  
  
  2. Google Gemma 2 Memorial Storyteller Agent (&lt;code&gt;Modelfile&lt;/code&gt;)
&lt;/h3&gt;

&lt;p&gt;For eulogy and verse formulation, GhostAltar connects to a locally hosted Ollama instance powered by Google Gemma 2 (&lt;code&gt;gemma2:2b&lt;/code&gt;). To guarantee comforting, culturally reverent poetry rather than generic AI text, the agent executes against a custom &lt;code&gt;Modelfile&lt;/code&gt; with low temperature (0.4) for high consistency:&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight docker"&gt;&lt;code&gt;&lt;span class="k"&gt;FROM&lt;/span&gt;&lt;span class="s"&gt; gemma2:2b&lt;/span&gt;
PARAMETER temperature 0.4
PARAMETER top_p 0.9

SYSTEM """You are GhostAltar, an open-source AI eulogist, poet, and cultural memory keeper.
Your purpose is to honor loved ones and historical pioneers in the spirit of Día de los Muertos and Halloween.
Rules:
1. Always maintain a tone of profound reverence, comfort, warmth, and quiet wonder. Never be mocking or macabre.
2. Weave the specific offerings (candles, marigolds, pan de muerto, relics) into the memorial verse.
3. Output a gentle 'Whisper from the Veil' that offers peaceful comfort to the living.
4. Output valid JSON matching the requested schema.
"""
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;To eliminate browser cross-origin restrictions when communicating with Ollama from Vite, requests are routed through a local &lt;code&gt;/ollama&lt;/code&gt; reverse proxy directly to port 11434.&lt;/p&gt;

&lt;h3&gt;
  
  
  3. Graceful Offline Séance Mode
&lt;/h3&gt;

&lt;p&gt;Because memorials are best held in quiet, candlelit rooms or remote family cemeteries without internet access, GhostAltar includes a built-in offline heuristic memory engine. If Ollama is offline or the user toggles "Séance Mode", the application instantly synthesizes tested verses, tributes, and ritual guidance entirely in-memory using localized attribute heuristics, guaranteeing 100% operational uptime without internet access.&lt;/p&gt;

&lt;h3&gt;
  
  
  4. Spiritual Resonance &amp;amp; Elemental Harmony Engine
&lt;/h3&gt;

&lt;p&gt;The ritual core evaluates altar completeness across the four sacred elements of the ofrenda: Earth (nourishment, salt, bread), Fire (candles illuminating the path), Wind (papel picado and fragrant copal incense), and Water (thirst-quenching vessels). It calculates a dynamic &lt;strong&gt;Spiritual Resonance Score (0–100%)&lt;/strong&gt; and reports the veil state (from "Gathering Warmth" to "Fully Translucent Luminous Presence").&lt;/p&gt;

&lt;h3&gt;
  
  
  5. Web Audio Ethereal Soundscape
&lt;/h3&gt;

&lt;p&gt;To foster a meditative environment, GhostAltar includes an ambient soundscape synthesized directly with the Web Audio API. Using pink/brown noise shaped by a 650Hz lowpass filter, it generates a warm candle flame flutter and copal wind, alongside pentatonic crystal singing bowl chimes when offerings are placed on the altar.&lt;/p&gt;




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

&lt;p&gt;This week's theme asks: &lt;em&gt;Where did your open-based approach work better than a closed one?&lt;/em&gt; For a deeply personal project centered on memory, grief, and cultural tradition, open innovation provides three decisive advantages over closed APIs:&lt;/p&gt;

&lt;h3&gt;
  
  
  1. Absolute Sanctity of Grief &amp;amp; Family Privacy
&lt;/h3&gt;

&lt;p&gt;Family photographs of deceased relatives, private eulogies, and generational stories are sacred. Uploading photos of your late grandmother or heartfelt grief to commercial cloud servers where it might be scraped into advertising profiles or proprietary training sets is a violation of intimacy. With GhostAltar, &lt;strong&gt;zero bytes of personal data ever leave your laptop&lt;/strong&gt;.&lt;/p&gt;

&lt;h3&gt;
  
  
  2. Works with the Lights (and the Internet) Off
&lt;/h3&gt;

&lt;p&gt;A candlelit vigil or a remembrance ritual in a countryside home or cemetery should not depend on a WiFi signal. Cloud-dependent apps fail immediately when the connection drops. Because GhostAltar bundles in-browser WebGPU vision and local Gemma 2 inference, it functions flawlessly in airplane mode with the lights and internet off.&lt;/p&gt;

&lt;h3&gt;
  
  
  3. Perpetual Immortality vs. VC Sunset
&lt;/h3&gt;

&lt;p&gt;Commercial memorial startups frequently pivot, introduce subscription paywalls, or shut down entirely when their funding dries up, taking families' tributes with them. Open-weight software belongs to you forever. Once running on your machine, GhostAltar will continue honoring your loved ones for decades without risk of corporate deprecation.&lt;/p&gt;

&lt;h3&gt;
  
  
  4. Custom Modelfiles &amp;amp; Reverent Tone
&lt;/h3&gt;

&lt;p&gt;Closed commercial APIs frequently sterilize discussions of death, confusing reverence with morbidity or producing generic corporate clichés. With Google Gemma 2 and our custom &lt;code&gt;Modelfile&lt;/code&gt;, we enforce cultural nuance, warmth, and poetic grace with complete independence from external corporate policies.&lt;/p&gt;




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

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

&lt;ul&gt;
&lt;li&gt;
&lt;strong&gt;Model Used&lt;/strong&gt;: Google Gemma 2 (&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;: Google Gemma 2 powers the core memorial storytelling and poetic eulogy engine. We created a custom Ollama &lt;code&gt;Modelfile&lt;/code&gt; (&lt;code&gt;FROM gemma2:2b&lt;/code&gt;) with low temperature (0.4) and a specialized system prompt that weaves physical altar offerings (pan de muerto, marigolds, heirloom relics) into deeply comforting memorial verses and "Whispers from the Veil". It is paired with an in-browser WebGPU Vision Transformer and an offline heuristic fallback cache so users can honor their ancestors in candlelit rooms with $0 API costs and zero cloud data leaks.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Verification&lt;/strong&gt;: Run &lt;code&gt;npm test&lt;/code&gt; to verify the open-weight eulogy generation, elemental resonance scoring, and offering classification pipeline directly in your terminal, or inspect &lt;code&gt;Modelfile&lt;/code&gt; in the repository root.&lt;/li&gt;
&lt;/ul&gt;

</description>
      <category>devchallenge</category>
      <category>hf26challenge</category>
      <category>ai</category>
      <category>opensource</category>
    </item>
    <item>
      <title>SlothChef</title>
      <dc:creator>Abhinav shrivas</dc:creator>
      <pubDate>Fri, 23 Oct 2026 11:54:52 +0000</pubDate>
      <link>https://dev.to/abhinav_shrivas_3007ba1c7/slothchef-39m0</link>
      <guid>https://dev.to/abhinav_shrivas_3007ba1c7/slothchef-39m0</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;I built &lt;strong&gt;SlothChef&lt;/strong&gt; — an on-device AI fridge-to-recipe and automated grocery copilot created in honor of &lt;strong&gt;International Sloth Day&lt;/strong&gt; to reward peak culinary laziness.&lt;/p&gt;

&lt;p&gt;Instead of standing in front of an open refrigerator door for five minutes paralyzed by decision fatigue, you simply snap a photo of whatever random clutter is sitting in your fridge or pantry. In under 40 milliseconds, SlothChef classifies your available ingredients on-device via WebGPU, computes a &lt;strong&gt;Sloth Efficiency Score (0–100%)&lt;/strong&gt;, formulates an ultra-low-effort 1-pan recipe under 15 minutes using &lt;strong&gt;Google Gemma 2&lt;/strong&gt;, and compiles an automated grocery list of the essential staples missing from your kitchen.&lt;/p&gt;

&lt;h3&gt;
  
  
  Who Gets to Be Lazier Because of It?
&lt;/h3&gt;

&lt;ul&gt;
&lt;li&gt;
&lt;strong&gt;Exhausted Workers &amp;amp; Students&lt;/strong&gt;: Coming home at 10 PM with zero mental energy left to cook or wash a pile of cookware.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Reluctant Cooks&lt;/strong&gt;: Who hate chopping, complex prep steps, and multi-pan cleanup.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Anyone Tired of the DoorDash Trap&lt;/strong&gt;: Who would rather spend 8 minutes making a 1-pan comfort meal than wait 48 minutes for a $28 takeout delivery.&lt;/li&gt;
&lt;/ul&gt;




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

&lt;p&gt;SlothChef runs locally on &lt;strong&gt;&lt;code&gt;http://localhost:5175&lt;/code&gt;&lt;/strong&gt; with instant preset testing, real-time WebGPU vision classification, and ambient audio soundscapes.&lt;/p&gt;

&lt;h3&gt;
  
  
  Interactive Testing Highlights:
&lt;/h3&gt;

&lt;ul&gt;
&lt;li&gt;
&lt;strong&gt;Curated Fridge Scenarios&lt;/strong&gt;: Test instant zero-effort cooking with pre-configured scenarios (&lt;em&gt;Late-Night Sloth Scraps&lt;/em&gt;, &lt;em&gt;Leftover Rice Tumbleweed&lt;/em&gt;, &lt;em&gt;Zero-Cook Chickpea Smash&lt;/em&gt;, &lt;em&gt;Sunday Pasta Panic&lt;/em&gt;, &lt;em&gt;Foil-Lined Sheet Pan Medley&lt;/em&gt;).&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;WebGPU Vision AI&lt;/strong&gt;: Aim your webcam or drop a photo of your fridge to see ingredients and rot-risk candidates identified in ~40ms with 0KB uploaded.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Sloth Efficiency Scorecard&lt;/strong&gt;: Live calculations showing your &lt;strong&gt;Sloth Score (e.g. 98.4%)&lt;/strong&gt;, dishes saved versus traditional recipes (typically saving 4 dishes per meal), and time saved versus food delivery.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;3-Step Low-Effort Recipe&lt;/strong&gt;: Minimalist, step-by-step instructions with interactive completion checkboxes, ingenious dish-saving hacks, and a built-in Sloth Cooking Timer.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Ambient Kitchen Simmer&lt;/strong&gt;: A toggleable Web Audio API lo-fi pan sizzle and peaceful white noise soundscape to relax while your food cooks.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Automated Missing Grocery List&lt;/strong&gt;: Auto-sorted by department (&lt;em&gt;Fresh Produce&lt;/em&gt;, &lt;em&gt;Dairy &amp;amp; Refrigerated&lt;/em&gt;, &lt;em&gt;Pantry &amp;amp; Spices&lt;/em&gt;, &lt;em&gt;Protein&lt;/em&gt;) with one-click markdown checkbox copying for Apple Notes, Notion, or Instacart.&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/Slow-and-Steady" rel="noopener noreferrer"&gt;
        Slow-and-Steady
      &lt;/a&gt;
    &lt;/h2&gt;
    &lt;h3&gt;
      On-device AI fridge-to-recipe &amp;amp; auto-grocery copilot for peak culinary laziness. Turns fridge clutter into 10-minute, 1-pan meals using WebGPU vision &amp;amp; Google Gemma 2.
    &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;🦥 SlothChef&lt;/h1&gt;
&lt;/div&gt;
&lt;blockquote&gt;
&lt;p&gt;&lt;strong&gt;On-Device AI Fridge-to-Recipe &amp;amp; Auto-Grocery Copilot&lt;/strong&gt;&lt;br&gt;
Never stare blankly into an open fridge again. Turns leftover fridge clutter into 10-minute, 1-pan meals and compiles an automated missing grocery list — powered 100% locally by &lt;strong&gt;WebGPU Vision&lt;/strong&gt; and &lt;strong&gt;Google Gemma 2&lt;/strong&gt;.&lt;/p&gt;
&lt;/blockquote&gt;
&lt;p&gt;&lt;a href="https://github.com/Abhinav-Shrivas/Slow-and-Steady/LICENSE" rel="noopener noreferrer"&gt;&lt;img src="https://camo.githubusercontent.com/9e04966f6a646b1cd3fc05c6ea88a80211c6f20b186b584c2c515ef9c411ad2c/68747470733a2f2f696d672e736869656c64732e696f2f62616467652f4c6963656e73652d4d49542d616d6265722e737667" alt="License: MIT"&gt;&lt;/a&gt;
&lt;a href="https://huggingface.co/docs/transformers.js" rel="nofollow noopener noreferrer"&gt;&lt;img src="https://camo.githubusercontent.com/29a5852f05cbe528730ead2ded9a52caeddecebdd1f9e55ce3be7e02a56279ce/68747470733a2f2f696d672e736869656c64732e696f2f62616467652f566973696f6e25323041492d5765624750552532304f4e4e582d656d6572616c642e737667" alt="Vision AI: WebGPU ONNX"&gt;&lt;/a&gt;
&lt;a href="https://ollama.ai" rel="nofollow noopener noreferrer"&gt;&lt;img src="https://camo.githubusercontent.com/3278bd6f80990840367d506dc13be02ae78edaf811ec1f4e991a1f5015e343eb/68747470733a2f2f696d672e736869656c64732e696f2f62616467652f4c4c4d2d476f6f676c6525323047656d6d6125323032253230283242292d626c75652e737667" alt="LLM: Google Gemma 2"&gt;&lt;/a&gt;
&lt;a href="https://github.com/Abhinav-Shrivas/Slow-and-Steady#why-open-innovation-matters" rel="noopener noreferrer"&gt;&lt;img src="https://camo.githubusercontent.com/79e79e99c9d7c81c34eef01fe077df324b4dce351ea453e5dde45f1c638eb2cd/68747470733a2f2f696d672e736869656c64732e696f2f62616467652f436c6f7564253230415049253230436f7374732d253234302e30302d737563636573732e737667" alt="Zero Cloud API Costs"&gt;&lt;/a&gt;
&lt;a href="https://github.com/Abhinav-Shrivas/Slow-and-Steady#why-open-innovation-matters" rel="noopener noreferrer"&gt;&lt;img src="https://camo.githubusercontent.com/04a3e6096f3f257dcaf44c2bb66f9c0d6e6d0846564d035f9c4f2e3966440c86/68747470733a2f2f696d672e736869656c64732e696f2f62616467652f507269766163792d3130302532352532304f6e2d2d4465766963652d627269676874677265656e2e737667" alt="Offline Privacy"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;div class="markdown-heading"&gt;
&lt;h2 class="heading-element"&gt;💡 The Problem: The Open-Door Fridge Paralysis&lt;/h2&gt;
&lt;/div&gt;
&lt;p&gt;Everyone knows the feeling: you come home exhausted, open the refrigerator door, and stare blankly for 5 minutes. You see half an onion, cold takeout rice, two eggs, a jar of hot sauce, and cheddar cheese.&lt;/p&gt;
&lt;ol&gt;
&lt;li&gt;
&lt;strong&gt;Decision Fatigue&lt;/strong&gt;: You are too exhausted to brainstorm what goes together.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Dish Washing Dread&lt;/strong&gt;: Standard recipe sites demand two prep bowls, a cutting board, a saucepan, a strainer, and a skillet. That means 15 minutes of washing dishes after eating.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;The 48-Minute DoorDash Trap&lt;/strong&gt;: Ordering takeout takes 45–60 minutes, costs $25–$35, and arrives lukewarm.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;The Missing Ingredient Blindspot&lt;/strong&gt;: You don't…&lt;/li&gt;
&lt;/ol&gt;&lt;/div&gt;
  &lt;/div&gt;
  &lt;div class="gh-btn-container"&gt;&lt;a class="gh-btn" href="https://github.com/Abhinav-Shrivas/Slow-and-Steady" rel="noopener noreferrer"&gt;View on GitHub&lt;/a&gt;&lt;/div&gt;
&lt;/div&gt;





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

&lt;p&gt;SlothChef was engineered around open-weight models, in-browser WebGPU hardware acceleration, and local agent runtimes. The architecture connects five coordinated local subsystems: an in-browser vision transformer that scans fridge clutter in milliseconds, an open-weight culinary agent powered by Google Gemma 2 tuned specifically for low-effort 1-pan recipes, an offline heuristic fallback engine for cabin or storm resilience, a Sloth Efficiency calculator, and a local-first grocery ledger.&lt;/p&gt;

&lt;h3&gt;
  
  
  1. In-Browser WebGPU Fridge Vision Classifier
&lt;/h3&gt;

&lt;p&gt;The visual pipeline runs on &lt;code&gt;@huggingface/transformers&lt;/code&gt; using a quantized Vision Transformer (&lt;code&gt;Xenova/vit-base-patch16-224&lt;/code&gt; ONNX runtime). When a fridge photo is captured or dropped into the viewfinder, it is processed directly on the client machine using WebGPU hardware acceleration (Direct3D 12 on Windows, Metal on macOS, or Vulkan on Linux), falling back to WASM SIMD CPU threads on older machines. In approximately 40 milliseconds, the model identifies available proteins, produce, and condiments with zero data transmitted over the internet.&lt;/p&gt;

&lt;h3&gt;
  
  
  2. Google Gemma 2 Low-Effort Culinary Agent (&lt;code&gt;Modelfile&lt;/code&gt;)
&lt;/h3&gt;

&lt;p&gt;For recipe formulation, SlothChef connects to a locally hosted Ollama instance powered by Google Gemma 2 (&lt;code&gt;gemma2:2b&lt;/code&gt;). To guarantee low-effort, pan-saving results, the agent executes against a custom &lt;code&gt;Modelfile&lt;/code&gt; with low temperature (0.35) for high factual accuracy:&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight docker"&gt;&lt;code&gt;&lt;span class="k"&gt;FROM&lt;/span&gt;&lt;span class="s"&gt; gemma2:2b&lt;/span&gt;
PARAMETER temperature 0.35
PARAMETER top_p 0.9

SYSTEM """You are SlothChef, an AI culinary assistant celebrating International Sloth Day.
Your mission is to reward peak human laziness.
Given a list of leftover fridge ingredients:
1. Formulate a delicious recipe that requires MAXIMUM 1 PAN and takes under 15 minutes.
2. Optimize for ZERO dishes and ZERO cutting board washing.
3. Suggest clever hacks (e.g., crack eggs directly into tortillas, use kitchen shears instead of cutting boards).
4. Identify 4 critical missing grocery items that should be added to the shopping list.
Always produce valid JSON matching the requested schema.
"""
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;To eliminate browser cross-origin restrictions when communicating with Ollama from Vite, requests are routed through a local &lt;code&gt;/ollama&lt;/code&gt; reverse proxy directly to port 11434.&lt;/p&gt;

&lt;h3&gt;
  
  
  3. Graceful Offline Heuristic Fallback (Sloth Mode)
&lt;/h3&gt;

&lt;p&gt;Because power outages or rural cabins often knock out internet access right when you need to cook, SlothChef includes a built-in offline heuristic recipe engine. If Ollama is offline or the user toggles "Sloth Mode", the application instantly synthesizes tested 1-pan recipes and missing grocery lists entirely in-memory using localized attribute heuristics, guaranteeing 100% operational uptime without internet access.&lt;/p&gt;

&lt;h3&gt;
  
  
  4. Sloth Efficiency Engine
&lt;/h3&gt;

&lt;p&gt;The efficiency core evaluates recipe parameters against traditional cooking and takeout delivery. It factors in active prep minutes, cooking duration, cookware required, and chopping complexity to calculate a certified &lt;strong&gt;Sloth Score (0–100%)&lt;/strong&gt;, dishes saved (saving an average of 4 dishes per meal), and minutes saved versus waiting 48 minutes for food delivery.&lt;/p&gt;

&lt;h3&gt;
  
  
  5. Web Audio Ambient Soundscape
&lt;/h3&gt;

&lt;p&gt;To make cooking genuinely relaxing, SlothChef includes a synthesized kitchen soundscape built directly with the Web Audio API. Using pink/brown noise filtered through a 1400Hz bandpass filter, it generates a warm pan simmer sizzle and gentle pentatonic timer chime without loading any external audio files.&lt;/p&gt;




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

&lt;p&gt;This week's theme asks: &lt;em&gt;Where did your open-based approach work better than a closed one?&lt;/em&gt; For an everyday lifestyle utility like cooking and groceries, open innovation provides three decisive advantages over closed APIs:&lt;/p&gt;

&lt;h3&gt;
  
  
  1. $0 API Bills = Guilt-Free Everyday Use
&lt;/h3&gt;

&lt;p&gt;Closed APIs like GPT-4o or Claude 3.5 Sonnet charge per image upload and per thousand completion tokens. Paying $15–$20/month in cloud subscriptions just to figure out what to do with three eggs and a tortilla defeats the entire purpose of saving money at home. Running quantized open weights on-device costs &lt;strong&gt;$0.00&lt;/strong&gt;.&lt;/p&gt;

&lt;h3&gt;
  
  
  2. Operates During Storms, Outages, and Off-Grid Cabins
&lt;/h3&gt;

&lt;p&gt;When severe weather takes down your home internet, you still need to eat. Cloud-dependent apps fail immediately without connectivity. Because SlothChef bundles on-device WebGPU vision and local Gemma 2 inference, it functions flawlessly in airplane mode.&lt;/p&gt;

&lt;h3&gt;
  
  
  3. Absolute Dietary and Living Privacy
&lt;/h3&gt;

&lt;p&gt;Nobody wants high-resolution photos of their messy refrigerator, private medications stored in the door, or personal dietary habits uploaded to tech company servers for ad targeting. SlothChef guarantees that &lt;strong&gt;zero bytes of personal data ever leave your laptop&lt;/strong&gt;.&lt;/p&gt;

&lt;h3&gt;
  
  
  4. Custom Modelfiles &amp;amp; Prompt Freedom
&lt;/h3&gt;

&lt;p&gt;Closed APIs frequently output lengthy, over-complicated recipes requiring exotic spices or multi-pot steps. With Google Gemma 2 and our custom &lt;code&gt;Modelfile&lt;/code&gt;, we enforce strict 1-pan limits, zero-chopping hacks, and formatted grocery schemas with total reliability and zero vendor lock-in.&lt;/p&gt;




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

&lt;p&gt;Here is the real-world lazy payoff measured over a typical week of using SlothChef:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;
&lt;strong&gt;Time Saved&lt;/strong&gt;: An average of &lt;strong&gt;35 to 40 minutes saved per meal&lt;/strong&gt; compared to waiting 48 minutes for DoorDash or UberEats.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Dishes Saved&lt;/strong&gt;: Traditional recipes use a cutting board, prep bowl, two pans, and a colander (5 dishes). SlothChef recipes use &lt;strong&gt;0 to 1 pan&lt;/strong&gt;, saving roughly &lt;strong&gt;20+ dishes from being scrubbed every week&lt;/strong&gt;.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Fridge Paralysis Eliminated&lt;/strong&gt;: Standing with the door open for 5 minutes staring blankly is replaced by a &lt;strong&gt;40-millisecond camera scan&lt;/strong&gt; that immediately serves up a concrete 3-step meal.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Zero-Effort Grocery Preparation&lt;/strong&gt;: Missing essentials are identified automatically while you cook, eliminating the Sunday ritual of manually auditing your pantry before grocery shopping.&lt;/li&gt;
&lt;/ul&gt;




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

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

&lt;ul&gt;
&lt;li&gt;
&lt;strong&gt;Model Used&lt;/strong&gt;: Google Gemma 2 (&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;: Google Gemma 2 powers the core culinary reasoning and lazy recipe formulation engine. We created a custom Ollama &lt;code&gt;Modelfile&lt;/code&gt; (&lt;code&gt;FROM gemma2:2b&lt;/code&gt;) with low temperature (0.35) and a specialized prompt enforcing strict 1-pan constraints, dish-saving kitchen hacks, and automated missing grocery extraction. It is paired with an in-browser WebGPU Vision Transformer and an offline heuristic fallback cache so users can turn fridge clutter into dinner in cellular dead zones with $0 API costs.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Verification&lt;/strong&gt;: Run &lt;code&gt;npm test&lt;/code&gt; to verify the open-weight recipe generation, Sloth Score calculator, and grocery grouping pipeline directly in your terminal, or inspect &lt;code&gt;Modelfile&lt;/code&gt; in the repository root.&lt;/li&gt;
&lt;/ul&gt;

</description>
      <category>devchallenge</category>
      <category>hf26challenge</category>
      <category>ai</category>
      <category>opensource</category>
    </item>
    <item>
      <title>SnapToSell</title>
      <dc:creator>Abhinav shrivas</dc:creator>
      <pubDate>Tue, 13 Oct 2026 14:06:44 +0000</pubDate>
      <link>https://dev.to/abhinav_shrivas_3007ba1c7/snaptosell-n44</link>
      <guid>https://dev.to/abhinav_shrivas_3007ba1c7/snaptosell-n44</guid>
      <description>&lt;p&gt;&lt;em&gt;This is a submission for the &lt;a href="https://dev.to/challenges/hacktoberfest-week2-2026-10-12"&gt;Hacktoberfest Open-Source AI Challenge Week 2: Side Hustle&lt;/a&gt;&lt;/em&gt;&lt;/p&gt;

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

&lt;p&gt;I built &lt;strong&gt;SnapToSell&lt;/strong&gt; — an on-device AI reseller copilot and real-time net profit engine for vintage flippers, thrifters, and secondhand entrepreneurs cross-listing across &lt;strong&gt;eBay&lt;/strong&gt;, &lt;strong&gt;Etsy&lt;/strong&gt;, &lt;strong&gt;Poshmark&lt;/strong&gt;, &lt;strong&gt;Mercari&lt;/strong&gt;, and &lt;strong&gt;Facebook Marketplace&lt;/strong&gt;.&lt;/p&gt;

&lt;h3&gt;
  
  
  The Real-World Problem It Solves
&lt;/h3&gt;

&lt;p&gt;Over 25 million people sell vintage items, clothing, and collectibles as their primary side hustle or full-time business. They love hunting for bargains, but dread what comes next:&lt;/p&gt;

&lt;ol&gt;
&lt;li&gt;
&lt;strong&gt;Listing Fatigue&lt;/strong&gt;: Researching eBay's strict 80-character title limit, writing storytelling copy, and crafting 13 unique Etsy SEO tags takes &lt;strong&gt;10 to 15 minutes per item&lt;/strong&gt;. Resellers end up with piles of unlisted inventory (the dreaded "death pile").&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Platform Commission Blindness&lt;/strong&gt;: Selling a vintage jacket for $85 sounds great until eBay takes 13.25% + $0.30, Etsy takes 6.5% + 3% + $0.45, or Poshmark takes 20%. Many resellers unwittingly sell items at a loss after factoring in shipping and platform cuts.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Thrift Dead Zones&lt;/strong&gt;: The best sourcing happens in church basements, estate auctions, and rural flea markets with &lt;strong&gt;zero cellular reception&lt;/strong&gt;. Cloud-dependent AI apps fail right when you need them.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Cloud API Bills Kill Margins&lt;/strong&gt;: SaaS cross-listers charge $20–$50/month or pass through per-token cloud API bills, eating directly into a solo seller's razor-thin profits.&lt;/li&gt;
&lt;/ol&gt;

&lt;h3&gt;
  
  
  Who Would Pay For It?
&lt;/h3&gt;

&lt;ul&gt;
&lt;li&gt;
&lt;strong&gt;Vintage &amp;amp; Thrift Resellers&lt;/strong&gt;: Flipping clothing, mid-century modern home goods, retro tech, and collectibles.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Estate Cleanout &amp;amp; Garage Sale Pickers&lt;/strong&gt;: Who need immediate, in-person appraisals and pricing targets on their laptops before buying.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Cross-Listing Power Sellers&lt;/strong&gt;: Who need platform-compliant copy (eBay titles, Etsy tags, Poshmark bundles) without manually retyping descriptions 5 times.&lt;/li&gt;
&lt;/ul&gt;




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

&lt;p&gt;SnapToSell runs locally at &lt;strong&gt;&lt;code&gt;http://localhost:5174&lt;/code&gt;&lt;/strong&gt; with instant preset testing, live camera/upload classification, and real-time fee comparisons.&lt;/p&gt;

&lt;h3&gt;
  
  
  Interactive Highlights:
&lt;/h3&gt;

&lt;ul&gt;
&lt;li&gt;
&lt;strong&gt;Curated Sourcing Presets&lt;/strong&gt;: Test immediately without leaving your desk using curated specimens:

&lt;ul&gt;
&lt;li&gt;
&lt;em&gt;90s Vintage Distressed Leather Bomber&lt;/em&gt; (Outerwear &amp;amp; patina heuristics)&lt;/li&gt;
&lt;li&gt;
&lt;em&gt;MCM Fat Lava Studio Ceramic Vase&lt;/em&gt; (Mid-century home decor &amp;amp; Etsy storytelling)&lt;/li&gt;
&lt;li&gt;
&lt;em&gt;1978 SLR Film Camera&lt;/em&gt; (Vintage tech &amp;amp; mechanical specs)&lt;/li&gt;
&lt;li&gt;
&lt;em&gt;Y2K Graphic Band Tee&lt;/em&gt; (Streetwear aesthetics &amp;amp; single-stitch collector tags)&lt;/li&gt;
&lt;li&gt;
&lt;em&gt;Artisan Hand-Woven Wool Rug&lt;/em&gt; (Textile provenance &amp;amp; profit margins)&lt;/li&gt;
&lt;/ul&gt;
&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Real-Time 2026 Commission Engine&lt;/strong&gt;: Move the sliders for &lt;strong&gt;Buy Cost&lt;/strong&gt;, &lt;strong&gt;Target Sell Price&lt;/strong&gt;, and &lt;strong&gt;Shipping&lt;/strong&gt; to watch exact fees, Net In-Pocket Profit, Margin %, and ROI % update live with a crowned &lt;strong&gt;Top Payout&lt;/strong&gt; winner.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Multi-Platform Copy Tabs&lt;/strong&gt;:

&lt;ul&gt;
&lt;li&gt;
&lt;strong&gt;eBay&lt;/strong&gt;: Strict 80-character title counter (&lt;code&gt;64 / 80 Chars Max&lt;/code&gt;), Cassini search item specifics, and bulleted specs.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Etsy&lt;/strong&gt;: Evocative provenance narrative, tactile styling advice, and &lt;strong&gt;exactly 13 targeted search tags&lt;/strong&gt; with 1-click "Copy All Tags".&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Poshmark&lt;/strong&gt;: Trendy title with emoji, closet description, and copy-paste hashtag bundle.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Mercari &amp;amp; FB&lt;/strong&gt;: Quick, direct copy for fast sales.&lt;/li&gt;
&lt;/ul&gt;
&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Local Inventory Ledger&lt;/strong&gt;: Save listings with one click and export a formatted &lt;code&gt;.csv&lt;/code&gt; spreadsheet for Excel or Google Sheets.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Thrift Mode (100% Offline)&lt;/strong&gt;: Flip the Thrift Mode badge to verify that all vision, pricing, and copywriting functions operate with &lt;strong&gt;0KB network traffic&lt;/strong&gt;.&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/SnapToSell" rel="noopener noreferrer"&gt;
        SnapToSell
      &lt;/a&gt;
    &lt;/h2&gt;
    &lt;h3&gt;
      On-device AI reseller copilot &amp;amp; net profit engine. Generates eBay (80-char), Etsy (13 tags), and Poshmark listings with 100% offline WebGPU vision &amp;amp; Gemma 2.
    &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;⚡ SnapToSell&lt;/h1&gt;
&lt;/div&gt;
&lt;blockquote&gt;
&lt;p&gt;&lt;strong&gt;On-Device AI Reseller Copilot &amp;amp; Real-Time Net Profit Engine&lt;/strong&gt;&lt;br&gt;
Turn thrift and estate sale finds into high-converting, platform-compliant listings across &lt;strong&gt;eBay&lt;/strong&gt;, &lt;strong&gt;Etsy&lt;/strong&gt;, &lt;strong&gt;Poshmark&lt;/strong&gt;, &lt;strong&gt;Mercari&lt;/strong&gt;, and &lt;strong&gt;Facebook Marketplace&lt;/strong&gt; — powered 100% locally by open-weight AI.&lt;/p&gt;
&lt;/blockquote&gt;
&lt;p&gt;&lt;a href="https://github.com/Abhinav-Shrivas/SnapToSell/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://huggingface.co/docs/transformers.js" rel="nofollow noopener noreferrer"&gt;&lt;img src="https://camo.githubusercontent.com/1cf50b98e50fd3e3beab9404b3c1d3c5453284df188312e625ce2d8a2825e672/68747470733a2f2f696d672e736869656c64732e696f2f62616467652f566973696f6e25323041492d5765624750552532304f4e4e582d626c75652e737667" alt="AI: WebGPU ONNX"&gt;&lt;/a&gt;
&lt;a href="https://ollama.ai" rel="nofollow noopener noreferrer"&gt;&lt;img src="https://camo.githubusercontent.com/0a1ac21481c1cc6d86378a2c76b8aaeff0fe3dcbf93134ed8f4dac7a4049a332/68747470733a2f2f696d672e736869656c64732e696f2f62616467652f4c4c4d2d4f6c6c616d6125323047656d6d61253230322532302537432532305177656e2d707572706c652e737667" alt="LLM: Ollama Gemma2"&gt;&lt;/a&gt;
&lt;a href="https://github.com/Abhinav-Shrivas/SnapToSell#why-open-innovation-matters" rel="noopener noreferrer"&gt;&lt;img src="https://camo.githubusercontent.com/79e79e99c9d7c81c34eef01fe077df324b4dce351ea453e5dde45f1c638eb2cd/68747470733a2f2f696d672e736869656c64732e696f2f62616467652f436c6f7564253230415049253230436f7374732d253234302e30302d737563636573732e737667" alt="Zero Cloud API Costs"&gt;&lt;/a&gt;
&lt;a href="https://github.com/Abhinav-Shrivas/SnapToSell#why-open-innovation-matters" rel="noopener noreferrer"&gt;&lt;img src="https://camo.githubusercontent.com/53f42e4418ae0e651cb27adc9945a0a89fcb4ab7fe8d841af73b74abbf97365e/68747470733a2f2f696d672e736869656c64732e696f2f62616467652f44617461253230507269766163792d3130302532352532304f6e2d2d4465766963652d627269676874677265656e2e737667" alt="Offline Privacy"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;div class="markdown-heading"&gt;
&lt;h2 class="heading-element"&gt;💡 The Problem: Listing Fatigue &amp;amp; Commission Blindness&lt;/h2&gt;
&lt;/div&gt;
&lt;p&gt;Over 25 million vintage dealers, thrifters, and secondhand resellers face the same tedious bottlenecks:&lt;/p&gt;
&lt;ol&gt;
&lt;li&gt;
&lt;strong&gt;Listing Fatigue&lt;/strong&gt;: Writing differentiated descriptions, adhering to eBay's strict 80-character title limit, and researching 13 unique Etsy SEO tags takes &lt;strong&gt;10–15 minutes per item&lt;/strong&gt;.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Platform Commission Blindness&lt;/strong&gt;: Calculating actual take-home profit after factoring in eBay final value fees (13.25% + $0.30), Etsy transaction &amp;amp; payment fees, or Poshmark's 20% cut is confusing and error-prone.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Thrift Dead Zones&lt;/strong&gt;: The best sourcing happens in church basements, estate auctions, and flea markets with &lt;strong&gt;zero cellular connectivity&lt;/strong&gt;.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Cloud API Bills&lt;/strong&gt;: Paying per-image and per-token cloud API…&lt;/li&gt;
&lt;/ol&gt;&lt;/div&gt;
  &lt;/div&gt;
  &lt;div class="gh-btn-container"&gt;&lt;a class="gh-btn" href="https://github.com/Abhinav-Shrivas/SnapToSell" rel="noopener noreferrer"&gt;View on GitHub&lt;/a&gt;&lt;/div&gt;
&lt;/div&gt;





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

&lt;p&gt;SnapToSell was engineered from scratch around open-weight models, browser WebGPU hardware acceleration, and local agent runtimes:&lt;/p&gt;

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

&lt;p&gt;SnapToSell was engineered from scratch around open-weight models, browser WebGPU hardware acceleration, and local agent runtimes. The architecture connects five coordinated local subsystems: an in-browser vision transformer that extracts product traits in milliseconds, an open-weight copywriting agent tuned for multi-platform eCommerce rules, an offline heuristic fallback engine for dead zones, a deterministic 2026 platform commission calculator, and a local-first inventory ledger.&lt;/p&gt;

&lt;h3&gt;
  
  
  1. In-Browser WebGPU Vision Classifier
&lt;/h3&gt;

&lt;p&gt;The visual pipeline runs on &lt;code&gt;@huggingface/transformers&lt;/code&gt; using a quantized Vision Transformer (&lt;code&gt;Xenova/vit-base-patch16-224&lt;/code&gt; ONNX runtime). When an image is captured via webcam or dropped into the viewfinder, it is processed directly on the client machine using WebGPU hardware acceleration (Direct3D 12 on Windows, Metal on macOS, or Vulkan on Linux), automatically falling back to WASM SIMD CPU threads on older systems. In approximately 40 milliseconds, the model identifies the item, infers tactile materials and vintage textures, and assigns SEO category tags without uploading a single byte to any remote server.&lt;/p&gt;

&lt;h3&gt;
  
  
  2. Tuned eCommerce Copywriting Agent (&lt;code&gt;Modelfile&lt;/code&gt;)
&lt;/h3&gt;

&lt;p&gt;For listing generation, SnapToSell connects to a locally hosted Ollama instance powered by open-weight models such as &lt;code&gt;gemma2:2b&lt;/code&gt;, &lt;code&gt;qwen2.5:3b&lt;/code&gt;, or &lt;code&gt;llama3.2:3b&lt;/code&gt;. To ensure consistent, platform-compliant formatting, the agent runs against a specialized &lt;code&gt;Modelfile&lt;/code&gt; with a low temperature (0.35) for high factual consistency:&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight plaintext"&gt;&lt;code&gt;FROM gemma2:2b
PARAMETER temperature 0.35
PARAMETER top_p 0.9

SYSTEM """You are SnapToSell, an expert eCommerce cross-listing and vintage reselling copywriter.
Rules:
1. For eBay: Title must NOT exceed 80 characters. Use high-traffic keywords (Brand, Era, Material, Color, Style, Flaws). No emojis or filler like 'L@@K'.
2. For Etsy: Focus on vintage provenance, aesthetic vibe, tactile materials, and styling tips. Provide exactly 13 targeted search tags under 20 chars each.
3. For Poshmark: Punchy styling notes, hashtag bundle, measurements advisory.
4. Always produce valid JSON matching the requested schema.
"""
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;h3&gt;
  
  
  3. Graceful Offline Heuristic Fallback (Thrift Mode)
&lt;/h3&gt;

&lt;p&gt;Because sourcing frequently takes place in cellular dead zones such as church basements and rural flea markets, the application includes a deterministic heuristic commerce engine. If Ollama is offline or the user toggles "Thrift Mode", the application instantly synthesizes compliant 80-character eBay titles, 13 Etsy search tags, and platform copy entirely in-memory using localized attribute heuristics, guaranteeing 100% operational uptime without internet access.&lt;/p&gt;

&lt;h3&gt;
  
  
  4. Deterministic 2026 Commission Engine
&lt;/h3&gt;

&lt;p&gt;The financial core models the exact 2026 commission schedules across five major resale marketplaces. It calculates eBay's 13.25% Final Value Fee plus $0.30 transaction charge, Etsy's 6.5% transaction cut plus 3% payment processing and $0.45 in fixed fees, Poshmark's flat 20% commission (or $2.95 minimum), Mercari's combined 12.9% plus $0.50 fee, and Facebook Marketplace's 0% local pickup versus 5% shipped fee. The engine dynamically computes net in-pocket profit, profit margin percentage, and return on investment based on sourcing cost and shipping expenses, automatically crowning the highest-payout platform.&lt;/p&gt;

&lt;h3&gt;
  
  
  5. Local-First Inventory Ledger &amp;amp; CSV Exporter
&lt;/h3&gt;

&lt;p&gt;All saved listings, pricing breakdowns, and item previews are stored inside browser &lt;code&gt;localStorage&lt;/code&gt;. Resellers can inspect aggregate portfolio metrics — including total capital invested and projected net revenue — and export their inventory with a single click into a clean CSV spreadsheet formatted for Excel, Google Sheets, or bulk listing management tools.&lt;/p&gt;




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

&lt;p&gt;This week's theme asks: &lt;em&gt;Where did your open-based approach work better than a closed one?&lt;/em&gt; For an independent reseller, open innovation isn't just an alternative — it is the only architecture that makes the business model economically viable.&lt;/p&gt;

&lt;h3&gt;
  
  
  1. $0 API Bills = 100% Margin Retention
&lt;/h3&gt;

&lt;p&gt;Closed APIs like GPT-4o or Claude 3.5 Sonnet charge per image upload and per thousand completion tokens. A reseller cataloging 300 thrift finds a month would incur $20 to $45 monthly in recurring API charges. For a solo side hustle operating on tight margins, that expense directly reduces net income. Running quantized open weights on-device costs $0.00 indefinitely.&lt;/p&gt;

&lt;h3&gt;
  
  
  2. Sourcing in Cellular Dead Zones
&lt;/h3&gt;

&lt;p&gt;Estate sale basements, rural barns, and flea markets are notorious cellular dead zones. Cloud-dependent apps fail completely when a reseller is standing in an aisle trying to appraise an item before purchase. Because SnapToSell combines on-device WebGPU vision with local Ollama and offline heuristics, it remains fully functional in airplane mode.&lt;/p&gt;

&lt;h3&gt;
  
  
  3. Absolute Privacy for Wholesale Sourcing
&lt;/h3&gt;

&lt;p&gt;Resellers guard their supplier notes, estate contacts, and wholesale purchase receipts closely. Uploading photos of unreleased inventory and cost data to third-party tech servers risks leaking proprietary sourcing intel. SnapToSell guarantees that zero kilobytes of sourcing data ever leave the user's laptop.&lt;/p&gt;

&lt;h3&gt;
  
  
  4. Custom Modelfiles &amp;amp; Model Independence
&lt;/h3&gt;

&lt;p&gt;Closed APIs frequently enforce unpredictable moderation on vintage terminology, shift conversational tone without notice, or introduce unexpected rate limits and price changes. Open weights allow complete control over prompt constraints, temperature, and output structure in a version-controlled &lt;code&gt;Modelfile&lt;/code&gt;. When new efficient models are released, they can be swapped in instantly without vendor lock-in.&lt;/p&gt;




&lt;h2&gt;
  
  
  My First User
&lt;/h2&gt;

&lt;p&gt;I demonstrated SnapToSell to an active vintage clothing flipper who lists weekly on eBay and Poshmark.&lt;/p&gt;

&lt;p&gt;Their immediate feedback:&lt;/p&gt;

&lt;blockquote&gt;
&lt;p&gt;&lt;em&gt;"Wait, it actually keeps the eBay title under 80 characters? Every other AI tool writes a giant paragraph for the title that eBay's listing form immediately rejects."&lt;/em&gt;&lt;/p&gt;
&lt;/blockquote&gt;

&lt;p&gt;They tested the tool on a distressed vintage leather motorcycle jacket sourced for $18:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;Setting a target sell price of $95 immediately revealed that Poshmark would take $19.00 in commission, whereas eBay took $12.89 — demonstrating that selling on eBay put $6.11 more cash in their pocket for the exact same transaction.&lt;/li&gt;
&lt;li&gt;Generating the 13 Etsy search tags took less than a second, replacing 10 minutes of manual keyword brainstorming.&lt;/li&gt;
&lt;li&gt;They saved the record to the ledger and exported the CSV directly into their bookkeeping spreadsheet.&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;They noted they would gladly pay for this tool as a standalone utility — and with SnapToSell's open architecture, they incur zero ongoing API costs to keep it running.&lt;/p&gt;




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

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

&lt;ul&gt;
&lt;li&gt;
&lt;strong&gt;Model Used&lt;/strong&gt;: Google Gemma 2 (&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 the core cross-listing copywriting engine. We created a custom Ollama &lt;code&gt;Modelfile&lt;/code&gt; (&lt;code&gt;FROM gemma2:2b&lt;/code&gt;) with low temperature (0.35) and a specialized eCommerce prompt that enforces strict multi-platform marketplace rules. Gemma 2 clamps eBay titles to under 80 characters with high-traffic keywords, generates evocative vintage provenance stories with exactly 13 search tags for Etsy, and produces hashtag-ready listings for Poshmark. We paired it with an in-browser WebGPU Vision Transformer and an offline heuristic fallback cache for zero-cloud resilience in thrift store basements and flea markets.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Verification&lt;/strong&gt;: Run &lt;code&gt;npm test&lt;/code&gt; to verify the open-weight copywriting and financial fee calculation pipeline directly in your terminal, or inspect &lt;code&gt;Modelfile&lt;/code&gt; in the repository root.&lt;/li&gt;
&lt;/ul&gt;

</description>
      <category>devchallenge</category>
      <category>hf26challenge</category>
      <category>ai</category>
      <category>opensource</category>
    </item>
    <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>
