<?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: Bhavya Yadav</title>
    <description>The latest articles on DEV Community by Bhavya Yadav (@shadowbhav).</description>
    <link>https://dev.to/shadowbhav</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: Bhavya Yadav</title>
      <link>https://dev.to/shadowbhav</link>
    </image>
    <atom:link rel="self" type="application/rss+xml" href="https://dev.to/feed/shadowbhav"/>
    <language>en</language>
    <item>
      <title>LeafLock — Open-Source AI Outdoor Steganography Engine (#hf26challenge)</title>
      <dc:creator>Bhavya Yadav</dc:creator>
      <pubDate>Sat, 10 Oct 2026 16:48:46 +0000</pubDate>
      <link>https://dev.to/shadowbhav/leaflock-open-source-ai-outdoor-steganography-engine-hf26challenge-4mjc</link>
      <guid>https://dev.to/shadowbhav/leaflock-open-source-ai-outdoor-steganography-engine-hf26challenge-4mjc</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;&lt;strong&gt;LeafLock&lt;/strong&gt; is an asynchronous, two-player botanical steganography web app that turns nature into a cryptographic key vault. Instead of digital passwords, users lock secret messages behind physical, biological objects in the real world. Player 1 encrypts a message behind a plant, and Player 2 must step outside, solve an AI-generated poetic riddle, and scan the correct physical object with their phone camera to unlock it.&lt;/p&gt;

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

&lt;ul&gt;
&lt;li&gt;
&lt;strong&gt;Live Demo&lt;/strong&gt;: &lt;a href="https://leaflock.onrender.com/" rel="noopener noreferrer"&gt;https://leaflock.onrender.com/&lt;/a&gt;
&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;&lt;em&gt;(Drag and drop your outdoor field-test photo here!)&lt;/em&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/iqbhavya" rel="noopener noreferrer"&gt;
        iqbhavya
      &lt;/a&gt; / &lt;a href="https://github.com/iqbhavya/LeafLock" rel="noopener noreferrer"&gt;
        LeafLock
      &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;🍃 LeafLock — Open-Source AI Outdoor Steganography Engine&lt;/h1&gt;
&lt;/div&gt;
&lt;p&gt;Built for &lt;strong&gt;Hacktoberfest 2026&lt;/strong&gt; (&lt;code&gt;#hf26challenge&lt;/code&gt;), &lt;strong&gt;Global Hack Week (GHW)&lt;/strong&gt;, and &lt;strong&gt;DEV.to Hackathon Challenges&lt;/strong&gt;.&lt;/p&gt;
&lt;blockquote&gt;
&lt;p&gt;&lt;strong&gt;LeafLock&lt;/strong&gt; applies digital steganography to the physical world. Player 1 locks a secret payload message behind any physical outdoor object (nature, animals, plants, items). Player 2 must decode an AI-generated riddle, step outdoors, find the object, and capture a matching photo with their camera to decrypt the message.&lt;/p&gt;
&lt;/blockquote&gt;

&lt;div class="markdown-heading"&gt;
&lt;h2 class="heading-element"&gt;🏆 Hacktoberfest Prize Categories &amp;amp; Alignment&lt;/h2&gt;
&lt;/div&gt;
&lt;ul&gt;
&lt;li&gt;
&lt;strong&gt;Touch Grass Challenge (&lt;code&gt;#hf26challenge&lt;/code&gt;)&lt;/strong&gt;: Asynchronous 2-player outdoor game that encourages participants to step outside, explore flora/fauna, and engage with nature.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Best Use of Gemma ($200)&lt;/strong&gt;: Uses &lt;strong&gt;Google AI Studio&lt;/strong&gt; and &lt;strong&gt;Google Gemma models (&lt;code&gt;gemma-4-31b-it&lt;/code&gt;, &lt;code&gt;gemma-4-26b-a4b-it&lt;/code&gt;)&lt;/strong&gt; to dynamically synthesize 2-line cryptic riddles based on real-time detected botanical, object, and color features.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Best Use of MongoDB Atlas&lt;/strong&gt;: Uses &lt;strong&gt;MongoDB Atlas (M0 Cluster)&lt;/strong&gt; with Mongoose models…&lt;/li&gt;
&lt;/ul&gt;&lt;/div&gt;
  &lt;/div&gt;
  &lt;div class="gh-btn-container"&gt;&lt;a class="gh-btn" href="https://github.com/iqbhavya/LeafLock" 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;LeafLock relies on a hybrid edge-and-cloud architecture to keep processing fast and privacy-centric:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;
&lt;strong&gt;Frontend&lt;/strong&gt;: The user interface was built using React 19 and Vite 8, styled with Tailwind CSS, and utilizes HTML5 environment camera capture.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Backend &amp;amp; Database&lt;/strong&gt;: A Node.js/Express backend connects to a MongoDB Atlas M0 cluster to manage cipher state, async multiplayer sessions, and completion tracking without permanently storing raw image files.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Open-Source Vision Pipeline&lt;/strong&gt;: The image analysis integrates &lt;code&gt;@tensorflow-models/mobilenet&lt;/code&gt; for object classification alongside &lt;code&gt;sharp&lt;/code&gt; to extract perceptual dHash fingerprints and 64-bin color histograms.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Dynamic Riddle Generation&lt;/strong&gt;: The backend queries Google's Gemma 2 model via the Google AI Studio API. It prompts Gemma 2 to dynamically synthesize 2-line cryptic riddles based on the botanical features detected by the vision pipeline.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Deployment&lt;/strong&gt;: The React/Vite frontend asset pipeline is hosted and deployed on Render's global edge network.&lt;/li&gt;
&lt;/ul&gt;

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

&lt;p&gt;When users explore nature, their surroundings shouldn't feed closed corporate surveillance models. By relying on an open-weight ecosystem—Google's Gemma 2 and local-first vision processing—LeafLock ensures that raw photos are evaluated transparently and discarded instantly. Open innovation makes it possible to build location-free, privacy-preserving outdoor games that can eventually run entirely on edge hardware deep in a national park with zero cellular reception.&lt;/p&gt;

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

&lt;p&gt;I scaffolded and iterated on this architecture using Antigravity paired with the DevRelay MCP server, tracking challenge telemetry and evaluating test prompts locally.&lt;/p&gt;


&lt;div class="ltag-agent-session"&gt;
  &lt;div class="agent-session-header"&gt;
    
    &lt;span class="agent-session-tool-icon-badge" title="Gemini CLI"&gt;
&lt;/span&gt;
    &lt;span class="agent-session-title"&gt;LeafLock — Open-Source AI Outdoor Steganography Engine Session&lt;/span&gt;
  &lt;/div&gt;

  &lt;div class="agent-session-scroll"&gt;

      &lt;div class="agent-session-message agent-session-user"&gt;
        &lt;div class="agent-session-role-badge agent-session-role-user"&gt;
          You
        &lt;/div&gt;
        &lt;div class="agent-session-content"&gt;
                &lt;div class="agent-session-text"&gt;
                  &lt;p&gt;Building LeafLock: Open-source botanical steganography web app for Hacktoberfest Touch Grass Challenge powered by Google AI Studio Gemma models, MobileNet AI vision, and MongoDB Atlas.&lt;/p&gt;

                &lt;/div&gt;
        &lt;/div&gt;
      &lt;/div&gt;

      &lt;div class="agent-session-message agent-session-assistant"&gt;
        &lt;div class="agent-session-role-badge agent-session-role-assistant"&gt;
          Agent
        &lt;/div&gt;
        &lt;div class="agent-session-content"&gt;
                &lt;div class="agent-session-text"&gt;
                  &lt;p&gt;Configured full-stack React + Node Express application with Google AI Studio Gemma model integration, MobileNet vision classifier, sharp dHash perceptual fingerprinting, and MongoDB Atlas database.&lt;/p&gt;

                &lt;/div&gt;
        &lt;/div&gt;
      &lt;/div&gt;
  &lt;/div&gt;

  &lt;div class="agent-session-footer"&gt;
    &lt;span class="agent-session-meta"&gt;
        2 of 2 messages
    &lt;/span&gt;
  &lt;/div&gt;
&lt;/div&gt;


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

&lt;p&gt;I am entering LeafLock into the following Hacktoberfest prize tracks:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;
&lt;strong&gt;Overall Winner (\$250)&lt;/strong&gt;: Built an original, sensor-driven outdoor gameplay mechanic that forces users to disconnect from their monitors and engage with physical botany.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Best Use of Gemma (\$200)&lt;/strong&gt;: Leveraged Google's open-weight Gemma models (via Google AI Studio) to dynamically craft atmospheric, cryptic outdoor riddles from visual labels without spoiling target names.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Best Use of MongoDB Atlas (\$100)&lt;/strong&gt;: Used a MongoDB Atlas M0 Cluster with Mongoose to securely manage shortCodes, extracted visual features, riddles, and completion states.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Best Use of Render (\$200)&lt;/strong&gt;: Deployed the React/Vite web application and frontend asset pipeline on Render's global edge network to ensure fast, highly available access for users exploring outdoors.&lt;/li&gt;
&lt;/ul&gt;

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