<?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: Devansh Yadav</title>
    <description>The latest articles on DEV Community by Devansh Yadav (@devansh_yadav_20).</description>
    <link>https://dev.to/devansh_yadav_20</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%2F4172974%2F71e45a6c-cde2-4627-8f1a-9665245d5a13.png</url>
      <title>DEV Community: Devansh Yadav</title>
      <link>https://dev.to/devansh_yadav_20</link>
    </image>
    <atom:link rel="self" type="application/rss+xml" href="https://dev.to/feed/devansh_yadav_20"/>
    <language>en</language>
    <item>
      <title>TouchGrass AI: An Open-Source AI That Turns Screen Time into Green Time</title>
      <dc:creator>Devansh Yadav</dc:creator>
      <pubDate>Sun, 11 Oct 2026 10:14:31 +0000</pubDate>
      <link>https://dev.to/devansh_yadav_20/touchgrass-ai-an-open-source-ai-that-turns-screen-time-into-green-time-10fl</link>
      <guid>https://dev.to/devansh_yadav_20/touchgrass-ai-an-open-source-ai-that-turns-screen-time-into-green-time-10fl</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;h1&gt;
  
  
  🌿 TouchGrass AI — Turn Screen Time into Green Time
&lt;/h1&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%2Flc7hjthkcwt9wbsn6bw9.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%2Flc7hjthkcwt9wbsn6bw9.png" alt=" " width="800" height="533"&gt;&lt;/a&gt;&lt;/p&gt;

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

&lt;p&gt;&lt;strong&gt;TouchGrass AI&lt;/strong&gt; is an AI-powered web application that encourages people to take a break from their screens, step outside, and reconnect with the real world.&lt;/p&gt;

&lt;p&gt;We spend so much time scrolling, gaming, studying, and working on our devices that we sometimes forget how refreshing a little time outdoors can be. I wanted to build something that uses AI not to keep people online longer, but to help them spend more time offline.&lt;/p&gt;

&lt;p&gt;TouchGrass AI turns the simple idea of “going outside” into a fun, personalized experience. Instead of giving users generic advice like “take a walk,” it generates outdoor quests based on their mood, preferred activity, and available time.&lt;/p&gt;

&lt;h3&gt;
  
  
  🌱 Key Features
&lt;/h3&gt;

&lt;ul&gt;
&lt;li&gt;
&lt;strong&gt;AI-Powered Outdoor Quests:&lt;/strong&gt; Generates personalized outdoor activities using an open-weight language model.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Personalized Experiences:&lt;/strong&gt; Users can select their mood, preferred activity, and available time to get a suitable quest.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Quest Checklist:&lt;/strong&gt; Breaks activities into manageable steps that users can complete outdoors.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Built-in Timer:&lt;/strong&gt; Helps users dedicate time to their outdoor adventure.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;XP and Progress Tracking:&lt;/strong&gt; Rewards completed activities with experience points and tracks progress.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Streaks and Journal:&lt;/strong&gt; Encourages consistency and lets users record their outdoor experiences.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Fallback Quest Generator:&lt;/strong&gt; Provides predefined activities when the AI model is unavailable.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Privacy-Friendly Design:&lt;/strong&gt; Progress and journal entries are stored locally in the browser using LocalStorage.&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;The project is designed for students, developers, gamers, remote workers, and anyone who wants to build healthier digital habits and spend more time in the real world.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;The main idea: Use AI to help people spend less time using AI.&lt;/strong&gt; 🌳&lt;/p&gt;

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

&lt;p&gt;🚀 &lt;strong&gt;Live Website:&lt;/strong&gt; &lt;a href="https://devanshy0820.github.io/TouchGrass-AI/" rel="noopener noreferrer"&gt;https://devanshy0820.github.io/TouchGrass-AI/&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%2F0ofgfssgu8copxnybxeb.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%2F0ofgfssgu8copxnybxeb.png" alt=" " width="800" height="449"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;h2&gt;
  
  
  Code
&lt;/h2&gt;

&lt;p&gt;💻 &lt;strong&gt;GitHub Repository:&lt;/strong&gt; &lt;a href="https://github.com/devanshy0820/TouchGrass-AI" rel="noopener noreferrer"&gt;https://github.com/devanshy0820/TouchGrass-AI&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;The project is built with HTML, CSS, and JavaScript, making it accessible to developers who want to explore, learn from, or contribute to the codebase.&lt;/p&gt;

&lt;p&gt;To run it locally:&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight shell"&gt;&lt;code&gt;git clone https://github.com/devanshy0820/TouchGrass-AI.git
&lt;span class="nb"&gt;cd &lt;/span&gt;TouchGrass-AI
python3 &lt;span class="nt"&gt;-m&lt;/span&gt; http.server 8000
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;Then open &lt;a href="http://localhost:8000" rel="noopener noreferrer"&gt;http://localhost:8000&lt;/a&gt; in your browser.&lt;/p&gt;

&lt;p&gt;Contributions, suggestions, bug reports, and new outdoor quest ideas are welcome!&lt;/p&gt;

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

&lt;p&gt;I built TouchGrass AI using standard web technologies and an open-weight language model that can run directly in the browser.&lt;/p&gt;

&lt;h3&gt;
  
  
  Tech Stack
&lt;/h3&gt;

&lt;ul&gt;
&lt;li&gt;
&lt;strong&gt;HTML5&lt;/strong&gt; — Structures the application and its interactive components.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;CSS3&lt;/strong&gt; — Creates the responsive, nature-inspired user interface.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;JavaScript&lt;/strong&gt; — Handles quest generation, user interactions, timers, checklists, and progress tracking.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Transformers.js&lt;/strong&gt; — Enables running compatible machine-learning models directly in the browser.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;SmolLM2-360M-Instruct&lt;/strong&gt; — The open-weight language model used for generating personalized outdoor quest ideas.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;LocalStorage&lt;/strong&gt; — Stores progress and journal entries on the user's device.&lt;/li&gt;
&lt;/ul&gt;

&lt;h3&gt;
  
  
  How the AI Works
&lt;/h3&gt;

&lt;p&gt;The application uses the &lt;code&gt;onnx-community/SmolLM2-360M-Instruct&lt;/code&gt; model through Transformers.js.&lt;/p&gt;

&lt;p&gt;The general flow is:&lt;/p&gt;

&lt;ol&gt;
&lt;li&gt;The user selects a mood, an activity preference, and an available time.&lt;/li&gt;
&lt;li&gt;JavaScript combines these preferences into a prompt for the language model.&lt;/li&gt;
&lt;li&gt;The model generates a suitable outdoor quest.&lt;/li&gt;
&lt;li&gt;The application presents the quest and its suggested steps in an interactive interface.&lt;/li&gt;
&lt;li&gt;Users can complete the steps, use the timer, and track their progress.&lt;/li&gt;
&lt;li&gt;If model loading or generation fails, the app can fall back to predefined quests.&lt;/li&gt;
&lt;/ol&gt;

&lt;p&gt;The model and its required files may need to download the first time the application runs. Browser compatibility, memory requirements, and network access can affect the experience.&lt;/p&gt;

&lt;p&gt;I wanted to keep the architecture lightweight and approachable rather than relying on a large backend or making every quest-generation request to a hosted AI API.&lt;/p&gt;

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

&lt;p&gt;Open innovation made it possible for me to experiment with AI in a project focused on a real-world problem without making a paid, closed AI API the foundation of the application.&lt;/p&gt;

&lt;p&gt;Using an open-weight model and browser-based inference gives developers more flexibility to experiment with prompts, customize experiences, study model behavior, and build applications without sending every generation request to a third-party inference service.&lt;/p&gt;

&lt;p&gt;It also makes the project more accessible to students and independent developers who want to learn how AI-powered applications work.&lt;/p&gt;

&lt;p&gt;For TouchGrass AI, this approach supports three important goals:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;
&lt;strong&gt;Accessibility:&lt;/strong&gt; Developers can explore the implementation and adapt it to their needs.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Privacy-conscious design:&lt;/strong&gt; Quest generation can happen locally after the model loads, reducing the need to send user preferences to an external inference API.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Experimentation:&lt;/strong&gt; The model, prompts, and quest-generation logic can be modified as the project evolves.&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;Open innovation is about more than using an existing model. It is about making technology easier to explore, improve, and build upon together.&lt;/p&gt;

&lt;p&gt;&lt;em&gt;Note: The model and its dependencies remain subject to their respective licenses. Initial downloads still require network access, and browser-based inference does not automatically mean the entire application works offline.&lt;/em&gt;&lt;/p&gt;

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

&lt;p&gt;I don't have a public DevRelay agent-session link to share for this submission. If I publish one, I'll add it here.&lt;/p&gt;

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

&lt;p&gt;This project is submitted for the &lt;strong&gt;Hacktoberfest Open-Source AI Challenge Week 1: Touch Grass&lt;/strong&gt;.&lt;/p&gt;

&lt;p&gt;I'll add any applicable partner-specific prize categories according to the challenge's official rules.&lt;/p&gt;




&lt;h3&gt;
  
  
  Final Thoughts
&lt;/h3&gt;

&lt;p&gt;TouchGrass AI started with a simple question:&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;What if we used AI to encourage people to close their laptops, step outside, and experience the world around them?&lt;/strong&gt;&lt;/p&gt;

&lt;p&gt;This project is my attempt to turn that idea into something practical, interactive, and fun.&lt;/p&gt;

&lt;p&gt;I'm excited to keep improving it, explore more open-weight models, and add features that make spending time outdoors a rewarding habit.&lt;/p&gt;

&lt;p&gt;If you like the idea, check out the live demo and GitHub repository. Feedback and contributions are welcome!&lt;/p&gt;

&lt;p&gt;🌿 &lt;strong&gt;Build with AI. Step outside. Touch grass.&lt;/strong&gt;&lt;/p&gt;

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