<?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: Shivansh Garg</title>
    <description>The latest articles on DEV Community by Shivansh Garg (@shivansh_garg_02).</description>
    <link>https://dev.to/shivansh_garg_02</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%2F4118640%2F7f8f9c32-13de-442a-a6ad-4e0f0e41c2a8.jpg</url>
      <title>DEV Community: Shivansh Garg</title>
      <link>https://dev.to/shivansh_garg_02</link>
    </image>
    <atom:link rel="self" type="application/rss+xml" href="https://dev.to/feed/shivansh_garg_02"/>
    <language>en</language>
    <item>
      <title>I built Pocket Tutor, a local Gemma study buddy for a friend</title>
      <dc:creator>Shivansh Garg</dc:creator>
      <pubDate>Mon, 05 Oct 2026 03:44:52 +0000</pubDate>
      <link>https://dev.to/shivansh_garg_02/i-built-pocket-tutor-a-local-gemma-study-buddy-for-a-friend-n3k</link>
      <guid>https://dev.to/shivansh_garg_02/i-built-pocket-tutor-a-local-gemma-study-buddy-for-a-friend-n3k</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;I built &lt;strong&gt;Pocket Tutor&lt;/strong&gt;, a study buddy for a friend who wanted studying to feel more visual and interactive.&lt;/p&gt;

&lt;p&gt;You can start with a topic—even if you don’t have notes ready—or paste in your notes. Pocket Tutor uses them to create a short theory lesson, flashcards, and a four-question quiz. It also offers links to find videos and other study resources.&lt;/p&gt;

&lt;p&gt;The feedback guiding the next version is clear: add videos, make practice more interactive, and offer more questions. The current version is a first step; the resource links open searches rather than curated videos, and the quiz is still short.&lt;/p&gt;

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


&lt;div class="crayons-card c-embed text-styles text-styles--secondary"&gt;
    &lt;div class="c-embed__content"&gt;
      &lt;div class="c-embed__body"&gt;
        &lt;h2 class="fs-xl lh-tight"&gt;
          &lt;a href="https://drive.google.com/file/d/1M72FgN7tsMNB9rFkO-hzOYcSuWprIo0Y/view?usp=sharing" rel="noopener noreferrer" class="c-link"&gt;
            Screen Recording 2026-10-04 223401.mp4 - Google Drive
          &lt;/a&gt;
        &lt;/h2&gt;
        &lt;div class="color-secondary fs-s flex items-center"&gt;
            &lt;img alt="favicon" class="c-embed__favicon m-0 mr-2 radius-0" src="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fssl.gstatic.com%2Fdocs%2Fdoclist%2Fimages%2Fdrive_favicon_2026_32dp.png" width="32" height="32"&gt;
          drive.google.com
        &lt;/div&gt;
      &lt;/div&gt;
    &lt;/div&gt;
&lt;/div&gt;


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

&lt;p&gt;&lt;a href="https://github.com/Shivansh1251/pocket-tutor" rel="noopener noreferrer"&gt;GitHub repository: Pocket Tutor&lt;/a&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/Shivansh1251" rel="noopener noreferrer"&gt;
        Shivansh1251
      &lt;/a&gt; / &lt;a href="https://github.com/Shivansh1251/pocket-tutor" rel="noopener noreferrer"&gt;
        pocket-tutor
      &lt;/a&gt;
    &lt;/h2&gt;
    &lt;h3&gt;
      A local-AI study buddy that turns notes or a topic into a short lesson, flashcards, and a quiz with optional study links.
    &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;Pocket Tutor&lt;/h1&gt;
&lt;/div&gt;
&lt;p&gt;Pocket Tutor is a small, local-AI study buddy. Enter a topic for a beginner-friendly lesson, or paste class notes to make a guide grounded in that material. It adds key ideas, four flashcards, and a one-question-at-a-time quiz.&lt;/p&gt;
&lt;div class="markdown-heading"&gt;
&lt;h2 class="heading-element"&gt;Why this is useful&lt;/h2&gt;
&lt;/div&gt;
&lt;p&gt;The student can start even when they have no notes ready. A topic-only guide gives them a first explanation and practice questions; pasted notes keep the generated study set focused on the material they need to revise. The app can also open searches for videos and free reading when the student wants a visual explanation or another source.&lt;/p&gt;
&lt;div class="markdown-heading"&gt;
&lt;h2 class="heading-element"&gt;Stack&lt;/h2&gt;
&lt;/div&gt;
&lt;ul&gt;
&lt;li&gt;Next.js App Router + TypeScript&lt;/li&gt;
&lt;li&gt;Ollama for local inference&lt;/li&gt;
&lt;li&gt;Gemma 3 1B (&lt;code&gt;gemma3:1b&lt;/code&gt;) by default, chosen to run on computers with limited memory&lt;/li&gt;
&lt;li&gt;No account, cloud inference API, or cloud database&lt;/li&gt;
&lt;/ul&gt;
&lt;div class="markdown-heading"&gt;
&lt;h2 class="heading-element"&gt;Run locally&lt;/h2&gt;

&lt;/div&gt;
&lt;ol&gt;
&lt;li&gt;
&lt;p&gt;Install &lt;a href="https://nodejs.org/" rel="nofollow noopener noreferrer"&gt;Node.js 20.9 or newer&lt;/a&gt; and &lt;a href="https://ollama.com/download" rel="nofollow noopener noreferrer"&gt;Ollama&lt;/a&gt;.&lt;/p&gt;
&lt;/li&gt;
&lt;li&gt;
&lt;p&gt;Start Ollama and download Gemma:&lt;/p&gt;
&lt;div class="highlight highlight-source-powershell notranslate position-relative overflow-auto js-code-highlight"&gt;…
&lt;/div&gt;
&lt;/li&gt;
&lt;/ol&gt;&lt;/div&gt;
  &lt;/div&gt;
  &lt;div class="gh-btn-container"&gt;&lt;a class="gh-btn" href="https://github.com/Shivansh1251/pocket-tutor" 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;Pocket Tutor uses Next.js for the app and its API route. The route sends the topic or notes to Ollama running locally, where Gemma generates structured content for the lesson, flashcards, and quiz. The app displays those as separate study steps.&lt;/p&gt;

&lt;p&gt;The AI generation runs on the user’s computer through Ollama. The optional video and reading links open external searches, so those need an internet connection.&lt;/p&gt;

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

&lt;p&gt;Using local Gemma means study notes can stay on the learner’s computer instead of being sent to a hosted AI provider. After downloading the model, lesson generation doesn’t need a paid inference API. Running through Ollama also gives me room to change models and adapt the prompts as I improve the tutor.&lt;/p&gt;

&lt;p&gt;Local inference uses the computer’s own memory and processing power, and generated explanations should still be checked against trusted course material.&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>
