<?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: Shreysh</title>
    <description>The latest articles on DEV Community by Shreysh (@shekhar_007).</description>
    <link>https://dev.to/shekhar_007</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%2F4162434%2F2647c87a-7942-4b7e-88f6-2b077bf0dea6.png</url>
      <title>DEV Community: Shreysh</title>
      <link>https://dev.to/shekhar_007</link>
    </image>
    <atom:link rel="self" type="application/rss+xml" href="https://dev.to/feed/shekhar_007"/>
    <language>en</language>
    <item>
      <title>Study Buddy: A Local Gemma Study Planner I Built for a Friend</title>
      <dc:creator>Shreysh</dc:creator>
      <pubDate>Mon, 05 Oct 2026 06:59:55 +0000</pubDate>
      <link>https://dev.to/shekhar_007/study-buddy-a-local-gemma-study-planner-i-built-for-a-friend-1hoo</link>
      <guid>https://dev.to/shekhar_007/study-buddy-a-local-gemma-study-planner-i-built-for-a-friend-1hoo</guid>
      <description>&lt;p&gt;&lt;em&gt;This is a submission for the &lt;a href="https://dev.to/challenges/hacktoberfest-weekend-2026-10-01"&gt;Hacktoberfest Weekend Challenge: Build for a Friend&lt;/a&gt;&lt;/em&gt;&lt;/p&gt;

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

&lt;p&gt;Study Buddy is a study planner I built for my friend [REAL NAME], who has [SUBJECT] exams on [DATE]. [One sentence on their real problem, e.g. "They had a huge syllabus and didn't know where to start."]&lt;/p&gt;

&lt;p&gt;You paste in a syllabus and the topics you're scared of. Gemma reads it, splits it into topics, and rates each one for difficulty and hours. A Python scheduler then builds a day-by-day plan that finishes before the exam. A dashboard shows daily workload, progress by subject, and a topic map of difficulty vs hours. You can also export the plan to a calendar (.ics).&lt;/p&gt;

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

&lt;p&gt;  &lt;iframe src="https://www.youtube.com/embed/qXRoD2RHOBI" width="710" height="399"&gt;
  &lt;/iframe&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/Shreyshrx" rel="noopener noreferrer"&gt;
        Shreyshrx
      &lt;/a&gt; / &lt;a href="https://github.com/Shreyshrx/Study-Buddy" rel="noopener noreferrer"&gt;
        Study-Buddy
      &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;📚 Study Buddy&lt;/h1&gt;

&lt;/div&gt;
&lt;p&gt;A study planner I built for my friend Riya, who has Physics exam on 20 Oct.&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;Gemma 3 (via Ollama) reads a messy syllabus and splits it into topics&lt;/li&gt;
&lt;li&gt;Plain Python schedules them, so the hours always add up&lt;/li&gt;
&lt;li&gt;Dashboard shows workload, progress, and topic difficulty&lt;/li&gt;
&lt;li&gt;Exports to a calendar file (.ics)&lt;/li&gt;
&lt;li&gt;Runs 100% locally. No API keys, no cloud, no cost.&lt;/li&gt;
&lt;/ul&gt;
&lt;div class="markdown-heading"&gt;
&lt;h2 class="heading-element"&gt;Run it&lt;/h2&gt;

&lt;/div&gt;
&lt;ol&gt;
&lt;li&gt;Install &lt;a href="https://ollama.com" rel="nofollow noopener noreferrer"&gt;Ollama&lt;/a&gt; and run &lt;code&gt;ollama pull gemma3:4b&lt;/code&gt;
&lt;/li&gt;
&lt;li&gt;&lt;code&gt;pip install -r requirements.txt&lt;/code&gt;&lt;/li&gt;
&lt;li&gt;&lt;code&gt;streamlit run app.py&lt;/code&gt;&lt;/li&gt;
&lt;/ol&gt;
&lt;/div&gt;



&lt;/div&gt;
&lt;br&gt;
  &lt;div class="gh-btn-container"&gt;&lt;a class="gh-btn" href="https://github.com/Shreyshrx/Study-Buddy" 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;Gemma 3 (4B)** running locally through "Ollama" reads the messy syllabus and returns structured topics as JSON.&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;Plain Python does the scheduling. I kept the maths out of the LLM so the hours always add up and nothing is scheduled after the exam.&lt;/li&gt;
&lt;li&gt;Streamlit + Altair provide the interface and dashboard charts.&lt;/li&gt;
&lt;li&gt;Gemma's output is clamped to sane ranges (0.5-4 hours, difficulty 1-5), because small models sometimes return odd numbers.&lt;/li&gt;
&lt;/ul&gt;

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

&lt;ul&gt;
&lt;li&gt;
&lt;strong&gt;Private:&lt;/strong&gt; [NAME]'s syllabus, weak spots and schedule never leave my laptop.&lt;/li&gt;
&lt;li&gt;Free and offline: no API key, no bill, and it works with bad Wi-Fi during exam season.&lt;/li&gt;
&lt;li&gt;Swappable: I can switch Gemma sizes or another open model by changing one line (&lt;code&gt;MODEL = "gemma3:4b"&lt;/code&gt;).&lt;/li&gt;
&lt;li&gt;Where it beat a closed API: [one honest observation, e.g. speed, or what the 4B model got wrong]&lt;/li&gt;
&lt;/ul&gt;

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

&lt;p&gt;I built this with Claude's help. Here is the full conversation, including the bugs and fixes&lt;/p&gt;

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

&lt;p&gt;Best Use of Gemma&lt;/p&gt;

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