<?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: Avi Patel</title>
    <description>The latest articles on DEV Community by Avi Patel (@avi_patel).</description>
    <link>https://dev.to/avi_patel</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.amazonaws.com%2Fuploads%2Fuser%2Fprofile_image%2F3923060%2F9c2e079b-01ce-484e-b14e-d5695b97c83a.png</url>
      <title>DEV Community: Avi Patel</title>
      <link>https://dev.to/avi_patel</link>
    </image>
    <atom:link rel="self" type="application/rss+xml" href="https://dev.to/feed/avi_patel"/>
    <language>en</language>
    <item>
      <title>Blossom — a small step toward student mental wellbeing</title>
      <dc:creator>Avi Patel</dc:creator>
      <pubDate>Mon, 25 May 2026 06:52:53 +0000</pubDate>
      <link>https://dev.to/avi_patel/blossom-a-small-step-toward-student-mental-wellbeing-o91</link>
      <guid>https://dev.to/avi_patel/blossom-a-small-step-toward-student-mental-wellbeing-o91</guid>
      <description>&lt;p&gt;&lt;em&gt;This is a submission for the &lt;a href="https://dev.to/challenges/google-gemma-2026-05-06"&gt;Gemma 4 Challenge: Build with Gemma 4&lt;/a&gt;&lt;/em&gt;&lt;/p&gt;

&lt;h2&gt;
  
  
  Blossom — on-device AI companion for student wellbeing
&lt;/h2&gt;

&lt;p&gt;In India, getting into top institutes is extremely competitive. There are very limited seats, and the pressure builds up over time. For most students, this leads to constant stress, burnout, and in some cases, suicides.&lt;/p&gt;

&lt;p&gt;That environment is the reason we started building &lt;strong&gt;Blossom&lt;/strong&gt;.&lt;/p&gt;

&lt;p&gt;Blossom is still under development, but the goal is simple: to give students a private, always-available companion that helps them manage both studies and mental wellbeing.&lt;/p&gt;




&lt;h2&gt;
  
  
  Team
&lt;/h2&gt;

&lt;ul&gt;
&lt;li&gt;
&lt;div class="ltag__user ltag__user__id__3923060"&gt;
    &lt;a href="/avi_patel" class="ltag__user__link profile-image-link"&gt;
      &lt;div class="ltag__user__pic"&gt;
        &lt;img src="https://media2.dev.to/dynamic/image/width=150,height=150,fit=cover,gravity=auto,format=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Fuser%2Fprofile_image%2F3923060%2F9c2e079b-01ce-484e-b14e-d5695b97c83a.png" alt="avi_patel image"&gt;
      &lt;/div&gt;
    &lt;/a&gt;
  &lt;div class="ltag__user__content"&gt;
    &lt;h2&gt;
&lt;a class="ltag__user__link" href="/avi_patel"&gt;Avi Patel&lt;/a&gt;Follow
&lt;/h2&gt;
    &lt;div class="ltag__user__summary"&gt;
      &lt;a class="ltag__user__link" href="/avi_patel"&gt;/avi_patel&lt;/a&gt;
    &lt;/div&gt;
  &lt;/div&gt;
&lt;/div&gt;
 &lt;/li&gt;
&lt;li&gt;
&lt;div class="ltag__user ltag__user__id__3949789"&gt;
    &lt;a href="/bhs_codz_40e765d3a01a8885" class="ltag__user__link profile-image-link"&gt;
      &lt;div class="ltag__user__pic"&gt;
        &lt;img src="https://media2.dev.to/dynamic/image/width=150,height=150,fit=cover,gravity=auto,format=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Fuser%2Fprofile_image%2F3949789%2Faa6ad4dc-5c2a-43f3-b573-7ef141fd4f8c.png" alt="bhs_codz_40e765d3a01a8885 image"&gt;
      &lt;/div&gt;
    &lt;/a&gt;
  &lt;div class="ltag__user__content"&gt;
    &lt;h2&gt;
&lt;a class="ltag__user__link" href="/bhs_codz_40e765d3a01a8885"&gt;bhs codz&lt;/a&gt;Follow
&lt;/h2&gt;
    &lt;div class="ltag__user__summary"&gt;
      &lt;a class="ltag__user__link" href="/bhs_codz_40e765d3a01a8885"&gt;dibili dabili dub&lt;/a&gt;
    &lt;/div&gt;
  &lt;/div&gt;
&lt;/div&gt;
&lt;/li&gt;
&lt;/ul&gt;




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

&lt;p&gt;Blossom is an Android chat app designed around student life.&lt;/p&gt;

&lt;p&gt;It combines an on-device AI assistant with study planning and wellbeing support. The assistant runs locally using Gemma, which means it works offline, responds quickly, and keeps conversations private.&lt;/p&gt;

&lt;p&gt;The assistant can also help users create and schedule routines and tasks directly through conversation, making it easier to turn plans into actionable steps.&lt;/p&gt;

&lt;p&gt;Alongside productivity, Blossom focuses on mental wellbeing by offering lightweight, accessible support during stressful moments.&lt;/p&gt;

&lt;p&gt;It is not meant to replace real support systems, but to be something that is available anytime a student needs guidance, structure, or just a small check-in.&lt;/p&gt;




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

&lt;p&gt;  &lt;iframe src="https://www.youtube.com/embed/73KPx74fLGU"&gt;
  &lt;/iframe&gt;
&lt;/p&gt;




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

&lt;p&gt;GitHub: &lt;/p&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/Avi4306" rel="noopener noreferrer"&gt;
        Avi4306
      &lt;/a&gt; / &lt;a href="https://github.com/Avi4306/Blossom" rel="noopener noreferrer"&gt;
        Blossom
      &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;Blossom&lt;/h1&gt;
&lt;/div&gt;
&lt;p&gt;Blossom is an Android chat app focused on student mental wellbeing. It runs an on-device Gemma assistant, provides a routines manager, and supports offline Kokoro TTS for assistant replies.&lt;/p&gt;
&lt;p&gt;&lt;strong&gt;This README&lt;/strong&gt;: quick setup, build/run instructions, where to find Kokoro assets, and testing commands.&lt;/p&gt;
&lt;div class="markdown-heading"&gt;
&lt;h2 class="heading-element"&gt;Requirements&lt;/h2&gt;
&lt;/div&gt;
&lt;ul&gt;
&lt;li&gt;JDK 11+ (matching Android Gradle Plugin requirements).&lt;/li&gt;
&lt;li&gt;Android Studio (Arctic Fox or newer recommended) with Android SDK for API 26+.&lt;/li&gt;
&lt;li&gt;Gradle wrapper is included; prefer using the wrapper (&lt;code&gt;./gradlew&lt;/code&gt; / &lt;code&gt;gradlew.bat&lt;/code&gt;).&lt;/li&gt;
&lt;/ul&gt;
&lt;div class="markdown-heading"&gt;
&lt;h2 class="heading-element"&gt;Quick start&lt;/h2&gt;
&lt;/div&gt;
&lt;ol&gt;
&lt;li&gt;Open the project root in Android Studio (the folder containing &lt;code&gt;settings.gradle.kts&lt;/code&gt;).&lt;/li&gt;
&lt;li&gt;Let Android Studio sync Gradle and download any missing SDK components.&lt;/li&gt;
&lt;li&gt;Run the app on a device or emulator with API level 26 or higher.&lt;/li&gt;
&lt;/ol&gt;
&lt;div class="markdown-heading"&gt;
&lt;h2 class="heading-element"&gt;Build from command line&lt;/h2&gt;

&lt;/div&gt;
&lt;p&gt;From the project root, build the debug APK with:&lt;/p&gt;
&lt;div class="highlight highlight-source-shell notranslate position-relative overflow-auto js-code-highlight"&gt;
&lt;pre&gt;./gradlew :app:assembleDebug&lt;/pre&gt;

&lt;/div&gt;
&lt;p&gt;Install to a connected device/emulator:&lt;/p&gt;
&lt;div class="highlight highlight-source-shell notranslate position-relative overflow-auto js-code-highlight"&gt;
&lt;pre&gt;./gradlew :app:installDebug&lt;/pre&gt;

&lt;/div&gt;
&lt;p&gt;Clean build outputs:&lt;/p&gt;
&lt;div class="highlight highlight-source-shell notranslate position-relative overflow-auto js-code-highlight"&gt;
&lt;pre&gt;./gradlew clean&lt;/pre&gt;

&lt;/div&gt;
&lt;p&gt;On Windows use &lt;code&gt;gradlew.bat&lt;/code&gt; instead…&lt;/p&gt;
&lt;/div&gt;
  &lt;/div&gt;
  &lt;div class="gh-btn-container"&gt;&lt;a class="gh-btn" href="https://github.com/Avi4306/Blossom" rel="noopener noreferrer"&gt;View on GitHub&lt;/a&gt;&lt;/div&gt;
&lt;/div&gt;





&lt;h2&gt;
  
  
  Current features
&lt;/h2&gt;

&lt;p&gt;&lt;strong&gt;On-device Gemma study assistant&lt;/strong&gt;&lt;br&gt;&lt;br&gt;
  Blossom runs a local Gemma model directly on the device to help students plan study sessions, stay focused, and get supportive wellbeing guidance. It can also create and schedule routines and tasks through natural conversation, along with supporting voice input and media attachments.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Study plan manager&lt;/strong&gt;&lt;br&gt;&lt;br&gt;
  Create, edit, activate, and delete study plans and tasks. The app includes a dedicated schedule view, highlights today’s tasks, and keeps reminders updated for the active plan.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Mental wellbeing support&lt;/strong&gt;&lt;br&gt;&lt;br&gt;
  Provides stress-management suggestions and simple coping strategies alongside study assistance.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Offline Kokoro text-to-speech&lt;/strong&gt;&lt;br&gt;&lt;br&gt;
  Assistant replies can be spoken out loud fully offline, with configurable voices and one-tap playback directly from chat bubbles.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Everyday usability&lt;/strong&gt;&lt;br&gt;&lt;br&gt;
  Copy any message, listen to assistant responses, reset conversations, and use quick-start prompts for common student needs.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Reliable reminders&lt;/strong&gt;&lt;br&gt;&lt;br&gt;
  Uses local notifications, exact alarms and TTS for plan and task reminders, with automatic rescheduling after device restarts so active plans stay on track.&lt;/p&gt;


&lt;h2&gt;
  
  
  How We Used Gemma 4
&lt;/h2&gt;

&lt;p&gt;Blossom is powered by &lt;strong&gt;Gemma 4 E2B (instruction-tuned)&lt;/strong&gt; running fully on-device using LiteRT.&lt;/p&gt;

&lt;p&gt;The model is responsible for:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;Generating study plans and structuring tasks
&lt;/li&gt;
&lt;li&gt;Providing contextual suggestions to stay focused
&lt;/li&gt;
&lt;li&gt;Offering basic mental wellbeing guidance
&lt;/li&gt;
&lt;li&gt;Interpreting user intent to create and schedule routines
&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;An on-device approach was chosen to prioritize:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;
&lt;strong&gt;Privacy&lt;/strong&gt; — conversations never leave the device
&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Offline availability&lt;/strong&gt; — useful for students with limited connectivity
&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Low latency&lt;/strong&gt; — faster and more natural interactions
&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;Given the constraints of mobile devices, a smaller and efficient Gemma variant (such as &lt;strong&gt;E2B/E4B&lt;/strong&gt;) is the most practical fit. It balances performance and resource usage while still delivering meaningful assistance.&lt;/p&gt;


&lt;h3&gt;
  
  
  Why Gemma 4 E2B?
&lt;/h3&gt;

&lt;p&gt;We intentionally chose &lt;strong&gt;Gemma 4 E2B&lt;/strong&gt; because Blossom is designed as a &lt;strong&gt;mobile-first, offline-capable application&lt;/strong&gt;.&lt;/p&gt;
&lt;h3&gt;
  
  
  Why LiteRT?
&lt;/h3&gt;

&lt;p&gt;We used &lt;strong&gt;LiteRT&lt;/strong&gt; to deploy the model because it enables:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;Efficient on-device inference
&lt;/li&gt;
&lt;li&gt;Reduced memory footprint
&lt;/li&gt;
&lt;li&gt;Better compatibility with Android environments
&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;This combination allows Blossom to remain accessible even on mid-range devices, which is critical for the target user base.&lt;/p&gt;
&lt;h2&gt;
  
  
  Why on-device?
&lt;/h2&gt;

&lt;p&gt;A key design choice in Blossom is running the AI locally.&lt;/p&gt;

&lt;p&gt;This approach improves privacy, which is important for sensitive conversations around stress and mental health. It also allows the app to function without internet access and reduces response latency.&lt;/p&gt;




&lt;div class="crayons-card c-embed"&gt;

  
&lt;h3&gt;
  
  
  ⚠️ Project Status
&lt;/h3&gt;

&lt;p&gt;Blossom is an ongoing project. We are actively refining the model performance and UI. Feedback is highly appreciated!&lt;br&gt;

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





&lt;h2&gt;
  
  
  Future plans
&lt;/h2&gt;

&lt;p&gt;&lt;strong&gt;Voice-first interaction&lt;/strong&gt;&lt;br&gt;&lt;br&gt;
  Making conversations feel more natural, closer to talking with a companion rather than typing to a system.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Multilingual support&lt;/strong&gt;&lt;br&gt;&lt;br&gt;
  Supporting multiple Indian languages so the app is accessible to more students.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Model and storage optimization&lt;/strong&gt;&lt;br&gt;&lt;br&gt;
  Reducing size and improving performance so it works well on a wider range of devices.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Hybrid local and cloud option&lt;/strong&gt;&lt;br&gt;&lt;br&gt;
  Giving users the choice between fully offline usage or cloud-based models for more advanced responses.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Stronger preventive wellbeing features&lt;/strong&gt;&lt;br&gt;&lt;br&gt;
  Exploring ways to detect patterns, identify early signs of stress, and provide more proactive support.&lt;/p&gt;




&lt;h2&gt;
  
  
  Why this matters
&lt;/h2&gt;

&lt;p&gt;This is not just a technical project.&lt;/p&gt;

&lt;p&gt;If something like Blossom can help even a small number of students feel more supported, more structured, or slightly less overwhelmed, then it is worth building.&lt;/p&gt;




&lt;h2&gt;
  
  
  Feedback
&lt;/h2&gt;

&lt;p&gt;The project is still evolving, and feedback is genuinely welcome. Suggestions on features, usability, or ways to better support students would be really helpful.&lt;/p&gt;

</description>
      <category>devchallenge</category>
      <category>gemmachallenge</category>
      <category>gemma</category>
      <category>mentalhealth</category>
    </item>
  </channel>
</rss>
