<?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: Shrey Chauhan</title>
    <description>The latest articles on DEV Community by Shrey Chauhan (@shreychauhan1993).</description>
    <link>https://dev.to/shreychauhan1993</link>
    <image>
      <url>https://media2.dev.to/dynamic/image/width=90,height=90,fit=cover,gravity=auto,format=auto/https:%2F%2Fthepracticaldev.s3.amazonaws.com%2Fi%2F99mvlsfu5tfj9m7ku25d.png</url>
      <title>DEV Community: Shrey Chauhan</title>
      <link>https://dev.to/shreychauhan1993</link>
    </image>
    <atom:link rel="self" type="application/rss+xml" href="https://dev.to/feed/shreychauhan1993"/>
    <language>en</language>
    <item>
      <title>Grassroots</title>
      <dc:creator>Shrey Chauhan</dc:creator>
      <pubDate>Thu, 08 Oct 2026 12:27:14 +0000</pubDate>
      <link>https://dev.to/shreychauhan1993/grassroots-3jg9</link>
      <guid>https://dev.to/shreychauhan1993/grassroots-3jg9</guid>
      <description>&lt;p&gt;This is a submission for the Hacktoberfest Open-Source AI Challenge Week 1: Touch Grass&lt;br&gt;
What I Built&lt;br&gt;
Grass Hunt 🌿 — an outdoor scavenger-hunt web app that forces people to actually go outside and touch grass.&lt;br&gt;
The Game Master describes their real neighbourhood on a phone (a neem tree, a Hanuman temple, a chai stall…). An open-weight Gemma 4 model instantly turns that description into riddles written in the local language — Hinglish, Hindi, Gujarati or English. Teams then race outside against a countdown timer to find the real object and photograph it.&lt;br&gt;
A second Gemma call judges every photo: is it the correct target, and is it genuinely outdoors (no TV screens or Google Images allowed)? Points, retries, funny in-language commentary, a live scoreboard, and a Gemma-written sports-commentator style recap at the end.&lt;br&gt;
Built for kids, families, housing societies and school camps — anyone whose idea of fun has been stuck behind a screen. The phone is only the starting line and the referee. The real game happens under the sky.&lt;br&gt;
Demo&lt;br&gt;
Live: &lt;a href="https://sherlawn-holmes.onrender.com" rel="noopener noreferrer"&gt;https://sherlawn-holmes.onrender.com&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;(Open on any phone. Free Render instance sleeps after ~15 min idle, so the first load may take 30–60 seconds.)&lt;br&gt;
Want it fully offline? Run it locally in 4 steps (see README) and open http://:5000 on any phone on the same Wi-Fi. Or set USE_OLLAMA=1 and the entire game runs on a local Gemma model with zero internet.&lt;br&gt;
Code&lt;br&gt;
GitHub: &lt;a href="https://github.com/shreychauhan02/Sherlawn-Holmes" rel="noopener noreferrer"&gt;https://github.com/shreychauhan02/Sherlawn-Holmes&lt;/a&gt;&lt;br&gt;
Deliberately tiny — no database, no login, no framework soup:&lt;/p&gt;

&lt;p&gt;app.py — single Flask file with Gemma 4 REST calls (cloud or local Ollama), defensive JSON parsing, and error-safe routes&lt;br&gt;
templates/index.html — the complete mobile-first game UI in one file (inline CSS + JS)&lt;/p&gt;

&lt;p&gt;How I Built It&lt;br&gt;
The brain of the game is Gemma 4 (gemma-4-26b-a4b-it), used in three ways:&lt;/p&gt;

&lt;p&gt;Riddle writer — turns the Game Master’s area description into N rhyming scavenger riddles in the chosen language and difficulty.&lt;br&gt;
Photo judge — a vision call that returns {correct, outdoors, comment} for every uploaded photo (client-side compressed to ≤800px).&lt;br&gt;
Commentator — writes a funny match recap at the end.&lt;/p&gt;

&lt;p&gt;Because Gemma doesn’t offer native JSON mode, all instructions live in the prompt and the parser extracts JSON from the model’s reasoning preamble (with a retry). A single USE_OLLAMA=1 flag switches the entire game to a fully offline local Gemma via Ollama — same code, same experience, zero internet required.&lt;br&gt;
Why Open Innovation Matters&lt;br&gt;
A closed, fixed-pricing API would have killed this project. Grass Hunt makes many small vision calls per game (one per photo per team). Open weights mean a whole society’s tournament can run on a laptop with Ollama and zero billing anxiety. It also means the game works in a village with no internet, schools can self-host it, and anyone can swap in a better open model tomorrow by changing one line. The model is a replaceable part, not a paywall.&lt;br&gt;
My Agent Session&lt;br&gt;
Built with Qoder (agentic IDE): Flask backend, single-file game UI, and live API debugging sessions (model 500s, Gemma 4 reasoning-preamble JSON parsing) — all verified end-to-end against the real model.&lt;br&gt;
Prize Categories&lt;/p&gt;

&lt;p&gt;Open-weight AI / Gemma category&lt;br&gt;
“Touch Grass” real-world impact&lt;/p&gt;

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