<?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: Ahan Ghosh</title>
    <description>The latest articles on DEV Community by Ahan Ghosh (@ahan_ghosh_35952af9ec41a2).</description>
    <link>https://dev.to/ahan_ghosh_35952af9ec41a2</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%2F4160838%2F4878db39-7c83-4f83-900f-440c71cacf71.jpg</url>
      <title>DEV Community: Ahan Ghosh</title>
      <link>https://dev.to/ahan_ghosh_35952af9ec41a2</link>
    </image>
    <atom:link rel="self" type="application/rss+xml" href="https://dev.to/feed/ahan_ghosh_35952af9ec41a2"/>
    <language>en</language>
    <item>
      <title>StudyPulse AI: An Offline-First Open-Weight Study Companion Built for my Classmate</title>
      <dc:creator>Ahan Ghosh</dc:creator>
      <pubDate>Sun, 04 Oct 2026 08:13:05 +0000</pubDate>
      <link>https://dev.to/ahan_ghosh_35952af9ec41a2/studypulse-ai-an-offline-first-open-weight-study-companion-built-for-my-classmate-43go</link>
      <guid>https://dev.to/ahan_ghosh_35952af9ec41a2/studypulse-ai-an-offline-first-open-weight-study-companion-built-for-my-classmate-43go</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;StudyPulse AI&lt;/strong&gt; for my 3rd-semester computer science classmate and friend, &lt;strong&gt;Aarav&lt;/strong&gt;.&lt;/p&gt;

&lt;p&gt;Like many engineering students, Aarav is constantly buried under dense lecture notes in subjects like &lt;strong&gt;Operating Systems&lt;/strong&gt; (semaphores, Coffman deadlock conditions, CPU scheduling), &lt;strong&gt;Data Structures &amp;amp; Algorithms&lt;/strong&gt; (AVL tree rotations, Red-Black balance invariants), and &lt;strong&gt;Database Management Systems&lt;/strong&gt; (ACID properties, BCNF normalization).&lt;/p&gt;

&lt;p&gt;Whenever exams and midterms approach, Aarav struggles with:&lt;/p&gt;

&lt;ol&gt;
&lt;li&gt;
&lt;strong&gt;Passive re-reading&lt;/strong&gt; — highlighting slides over and over without active recall or self-testing.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Expensive API barriers&lt;/strong&gt; — not wanting to pay $20/month for proprietary cloud AI subscriptions just to summarize homework notes.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Spotty campus internet&lt;/strong&gt; — living in a university hostel where Wi-Fi drops constantly during study sessions.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Data privacy&lt;/strong&gt; — not wanting course material, professor slide drafts, and private notes uploaded to corporate cloud silos.&lt;/li&gt;
&lt;/ol&gt;

&lt;p&gt;&lt;strong&gt;StudyPulse AI&lt;/strong&gt; is a lightweight, private, offline-first study companion that runs directly with local &lt;strong&gt;open-weight models&lt;/strong&gt; (Google's Gemma 2, Llama 3.2, or Mistral via Ollama). It takes raw lecture notes and instantly converts them into:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;🗂️ &lt;strong&gt;Active-Recall 3D Flip Flashcards&lt;/strong&gt; with intuitive everyday analogies&lt;/li&gt;
&lt;li&gt;🎯 &lt;strong&gt;Interactive Exam Practice Quizzes&lt;/strong&gt; with instant feedback and grading&lt;/li&gt;
&lt;li&gt;💡 &lt;strong&gt;ELI5 (Explain Like I'm 5) breakdowns&lt;/strong&gt;
&lt;/li&gt;
&lt;li&gt;📌 &lt;strong&gt;High-Yield Exam Cheatsheets&lt;/strong&gt;
&lt;/li&gt;
&lt;li&gt;📥 &lt;strong&gt;One-click Anki TSV and Markdown exports&lt;/strong&gt; for long-term spaced repetition&lt;/li&gt;
&lt;/ul&gt;

&lt;h3&gt;
  
  
  What My Friend Thought
&lt;/h3&gt;

&lt;p&gt;I shared the working build with Aarav over the weekend while we were studying for our upcoming Operating Systems evaluation:&lt;/p&gt;

&lt;blockquote&gt;
&lt;p&gt;&lt;em&gt;"The fact that this runs completely offline on my laptop without requiring an internet connection or an API subscription is a lifesaver for studying in the library basement where our campus Wi-Fi always disconnects.&lt;/em&gt;&lt;/p&gt;

&lt;p&gt;&lt;em&gt;The killer feature for me is the everyday analogies on the back of the flashcards. I kept confusing the four Coffman deadlock conditions during revision, and the 4-way stop-sign intersection analogy made it immediately click. Also, being able to export the whole deck into Anki in one click saves me hours of formatting cards by hand."&lt;/em&gt;&lt;/p&gt;
&lt;/blockquote&gt;

&lt;p&gt;Bonus points earned: I actually handed it over, and he's already using it for our midterms! 🎉&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://studypulse-ai-psi.vercel.app/" rel="noopener noreferrer"&gt;https://studypulse-ai-psi.vercel.app/&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;Try it out — paste any lecture notes, click &lt;strong&gt;Generate&lt;/strong&gt;, and flip through the 3D flashcards! Features you can test right now:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;
&lt;strong&gt;3D Flip Flashcards&lt;/strong&gt; — click a card or press &lt;code&gt;Space&lt;/code&gt; to flip, &lt;code&gt;Arrow&lt;/code&gt; keys to navigate&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Exam Quiz Mode&lt;/strong&gt; — switch to quiz mode for interactive MCQs with instant scoring&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;ELI5 Analogies&lt;/strong&gt; — every answer comes with a real-world analogy that makes concepts stick&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Quick Samples&lt;/strong&gt; — click "OS: Deadlocks", "Data Structures: Trees", or "DBMS: ACID &amp;amp; Normalization" to see it in action instantly&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Export&lt;/strong&gt; — download your deck as Anki-ready TSV or clean Markdown notes&lt;/li&gt;
&lt;/ul&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/ahanghosh77" rel="noopener noreferrer"&gt;
        ahanghosh77
      &lt;/a&gt; / &lt;a href="https://github.com/ahanghosh77/studypulse-ai" rel="noopener noreferrer"&gt;
        studypulse-ai
      &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;⚡ StudyPulse AI&lt;/h1&gt;
&lt;/div&gt;
&lt;blockquote&gt;
&lt;p&gt;&lt;strong&gt;Private Open-Weight Note-to-Flashcard &amp;amp; Exam Prep Assistant&lt;/strong&gt;&lt;br&gt;
&lt;em&gt;Built for a classmate for the Hacktoberfest 2026 Weekend Challenge: "Build for a Friend"&lt;/em&gt;&lt;/p&gt;
&lt;/blockquote&gt;
&lt;p&gt;&lt;a rel="noopener noreferrer nofollow" href="https://camo.githubusercontent.com/4c076d54afb49f8a31359423caace7aed67d022548b104faffdbe91f43fe9bae/68747470733a2f2f696d672e736869656c64732e696f2f62616467652f4861636b746f626572666573742d323032362d6f72616e67653f7374796c653d666c61742d737175617265"&gt;&lt;img src="https://camo.githubusercontent.com/4c076d54afb49f8a31359423caace7aed67d022548b104faffdbe91f43fe9bae/68747470733a2f2f696d672e736869656c64732e696f2f62616467652f4861636b746f626572666573742d323032362d6f72616e67653f7374796c653d666c61742d737175617265" alt="StudyPulse Banner"&gt;&lt;/a&gt;
&lt;a rel="noopener noreferrer nofollow" href="https://camo.githubusercontent.com/ac049ef4e7a0b7196b09add6ac2d4f180e544c0ac779c2b2ac2fd2723a209579/68747470733a2f2f696d672e736869656c64732e696f2f62616467652f6c6963656e73652d4d49542d626c75653f7374796c653d666c61742d737175617265"&gt;&lt;img src="https://camo.githubusercontent.com/ac049ef4e7a0b7196b09add6ac2d4f180e544c0ac779c2b2ac2fd2723a209579/68747470733a2f2f696d672e736869656c64732e696f2f62616467652f6c6963656e73652d4d49542d626c75653f7374796c653d666c61742d737175617265" alt="License"&gt;&lt;/a&gt;
&lt;a rel="noopener noreferrer nofollow" href="https://camo.githubusercontent.com/92bc0a59edfa09cd4f46879e4079b8067d466bc0c3781f5f5cbfa7507929c88f/68747470733a2f2f696d672e736869656c64732e696f2f62616467652f4f70656e2d2d5765696768742d47656d6d612532302537432532304c6c616d61253230332d696e6469676f3f7374796c653d666c61742d737175617265"&gt;&lt;img src="https://camo.githubusercontent.com/92bc0a59edfa09cd4f46879e4079b8067d466bc0c3781f5f5cbfa7507929c88f/68747470733a2f2f696d672e736869656c64732e696f2f62616467652f4f70656e2d2d5765696768742d47656d6d612532302537432532304c6c616d61253230332d696e6469676f3f7374796c653d666c61742d737175617265" alt="AI"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;div class="markdown-heading"&gt;
&lt;h2 class="heading-element"&gt;🌟 Overview&lt;/h2&gt;
&lt;/div&gt;
&lt;p&gt;&lt;strong&gt;StudyPulse AI&lt;/strong&gt; is an offline-first, privacy-respecting study companion that transforms dense semester lecture notes, textbook passages, and slides into active-recall flashcards, practice quizzes, intuitive everyday analogies, and Anki-ready decks using local open-weight AI models.&lt;/p&gt;
&lt;p&gt;Built specifically for engineering and CS students tackling tough 3rd-semester subjects like &lt;strong&gt;Operating Systems, Data Structures &amp;amp; Algorithms, and Database Management Systems&lt;/strong&gt;.&lt;/p&gt;

&lt;div class="markdown-heading"&gt;
&lt;h2 class="heading-element"&gt;✨ Features&lt;/h2&gt;
&lt;/div&gt;
&lt;ul&gt;
&lt;li&gt;🗂️ &lt;strong&gt;3D Active-Recall Flashcards:&lt;/strong&gt; Spatial card flips with keyboard shortcuts (&lt;code&gt;Space&lt;/code&gt; to flip, &lt;code&gt;Arrow&lt;/code&gt; keys to navigate) and mastery tracking.&lt;/li&gt;
&lt;li&gt;🎯 &lt;strong&gt;Exam Practice Quiz:&lt;/strong&gt; Auto-generated multiple-choice questions with instant rationale and scoring.&lt;/li&gt;
&lt;li&gt;💡 &lt;strong&gt;ELI5 &amp;amp; Intuitive Analogies:&lt;/strong&gt; Translates complex system concepts into relatable mental models.&lt;/li&gt;
&lt;li&gt;🔒 &lt;strong&gt;100% Offline &amp;amp; Private:&lt;/strong&gt; Connects locally to &lt;strong&gt;Ollama&lt;/strong&gt; (&lt;code&gt;gemma2:2b&lt;/code&gt;, &lt;code&gt;llama3.2:3b&lt;/code&gt;, &lt;code&gt;mistral&lt;/code&gt;) or any local…&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/ahanghosh77/studypulse-ai" rel="noopener noreferrer"&gt;View on GitHub&lt;/a&gt;&lt;/div&gt;
&lt;/div&gt;


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

&lt;ul&gt;
&lt;li&gt;
&lt;strong&gt;Frontend:&lt;/strong&gt; Semantic HTML5, Vanilla CSS3 (glassmorphism, 3D perspective card flip animations, responsive grid), Vanilla JavaScript&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;AI Core:&lt;/strong&gt; Direct integration with &lt;strong&gt;Ollama&lt;/strong&gt; (&lt;code&gt;gemma2:2b&lt;/code&gt;, &lt;code&gt;llama3.2:3b&lt;/code&gt;) and any OpenAI-compatible local inference server, backed by an offline heuristic parsing engine&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Exports:&lt;/strong&gt; Anki (.tsv) spaced repetition exporter and Markdown generator&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Deployment:&lt;/strong&gt; Vercel (static)&lt;/li&gt;
&lt;/ul&gt;

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

&lt;ol&gt;
&lt;li&gt;
&lt;p&gt;&lt;strong&gt;Prompt Engineering for Open-Weight Models:&lt;/strong&gt;&lt;br&gt;
Open-weight models like &lt;code&gt;gemma2:2b&lt;/code&gt; or &lt;code&gt;llama3.2:3b&lt;/code&gt; are efficient and run smoothly on modest student laptops. I structured strict JSON-schema system prompts requiring the model to extract:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;A core question testing causal understanding (not simple rote memorization)&lt;/li&gt;
&lt;li&gt;A concise, high-yield exam answer&lt;/li&gt;
&lt;li&gt;A relatable, real-world everyday analogy (e.g., explaining Coffman deadlock conditions like a 4-way stop sign intersection, or ACID atomicity like an ATM cash withdrawal)&lt;/li&gt;
&lt;/ul&gt;
&lt;/li&gt;
&lt;li&gt;&lt;p&gt;&lt;strong&gt;Resilient Local Architecture:&lt;/strong&gt;&lt;br&gt;
The app communicates with &lt;code&gt;http://localhost:11434/api/generate&lt;/code&gt; via browser &lt;code&gt;fetch&lt;/code&gt; with configurable model and endpoint options. If the student hasn't started their local Ollama daemon, StudyPulse seamlessly falls back to its built-in heuristic semantic parser — guaranteeing 100% uptime whether online or offline.&lt;/p&gt;&lt;/li&gt;
&lt;li&gt;&lt;p&gt;&lt;strong&gt;Active Recall &amp;amp; Spaced Repetition Design:&lt;/strong&gt;&lt;br&gt;
Instead of overwhelming students with walls of text, StudyPulse focuses on atomic cards, self-evaluations ("Mastered" vs "Needs Review"), mastery progress tracking, and Anki export compatibility for long-term retention.&lt;/p&gt;&lt;/li&gt;
&lt;/ol&gt;

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

&lt;p&gt;Open innovation is what made StudyPulse possible:&lt;/p&gt;

&lt;ol&gt;
&lt;li&gt;
&lt;strong&gt;Zero Cost for Students:&lt;/strong&gt; College students shouldn't need monthly subscriptions to generate flashcards from their own notes. Open-weight models like Gemma and Llama bring state-of-the-art reasoning to personal computers for free.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Complete Privacy:&lt;/strong&gt; Course notes, university research, and student drafts never leave the device. No telemetry, no cloud training on user data, zero data leakage.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;True Offline Independence:&lt;/strong&gt; Open-source AI doesn't depend on cloud server status pages, rate limits, or campus Wi-Fi drops. It runs reliably on an airplane, in a library basement, or in a dorm room with no internet.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Customizability:&lt;/strong&gt; Students can fine-tune small open-weight models on their own department's curriculum or swap models freely — no vendor lock-in.&lt;/li&gt;
&lt;/ol&gt;

&lt;p&gt;A closed API couldn't do any of this: it would cost money every month, require constant internet, upload private academic notes to remote servers, and stop working the moment the provider's rate limit kicks in or the Wi-Fi drops.&lt;/p&gt;

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

&lt;p&gt;This project was built pair-programming with &lt;strong&gt;Google Antigravity&lt;/strong&gt; and saved via &lt;strong&gt;DevRelay&lt;/strong&gt;. The session captures how we planned the open-weight offline architecture, structured the 3D CSS flip animations, and designed the active-recall study heuristics.&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;Session 2026-10-04 07:45&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;I want to participate in the Hacktoberfest Weekend Challenge: Build for a Friend. Let's build a Classmate Semester Study Assistant / Note-to-Flashcard generator.&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;Designed and built StudyPulse AI, an offline-first study companion tailored for a 3rd-semester engineering classmate tackling Operating Systems, Data Structures, and DBMS. Implemented 3D active-recall flashcards, practice exam quizzes with instant scoring, mental model analogies, Anki TSV/Markdown exports, and direct integration with local open-weight models via Ollama with zero cloud dependencies.&lt;/p&gt;

                &lt;/div&gt;
              &lt;div class="agent-session-tool-call"&gt;
                
                  &lt;span class="agent-session-chevron"&gt;▸&lt;/span&gt;
                  &lt;span class="tool-name tool-name-writetofile"&gt;write_to_file&lt;/span&gt;
                    &lt;span class="tool-input-preview"&gt;index.html, style.css, app.js&lt;/span&gt;
                
                &lt;div class="agent-session-tool-detail"&gt;
                    &lt;div class="tool-section"&gt;
                      &lt;div class="tool-section-label"&gt;Input&lt;/div&gt;
                      &lt;pre class="agent-session-pre"&gt;&lt;code&gt;index.html, style.css, app.js&lt;/code&gt;&lt;/pre&gt;
                    &lt;/div&gt;
                    &lt;div class="tool-section"&gt;
                      &lt;div class="tool-section-label"&gt;Output&lt;/div&gt;
                      &lt;pre class="agent-session-pre"&gt;&lt;code&gt;Successfully generated full modern web application with glassmorphism and 3D flip card animations.&lt;/code&gt;&lt;/pre&gt;
                    &lt;/div&gt;
                &lt;/div&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;p&gt;🔗 &lt;strong&gt;Session Transcript:&lt;/strong&gt; &lt;a href="https://dev.to/agent_sessions/session-2026-10-04-0745-4fphv3"&gt;https://dev.to/agent_sessions/session-2026-10-04-0745-4fphv3&lt;/a&gt;&lt;/p&gt;

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

&lt;ul&gt;
&lt;li&gt;
&lt;strong&gt;Best Use of Gemma&lt;/strong&gt; — StudyPulse AI is built to run with Google's Gemma 2 open-weight model (&lt;code&gt;gemma2:2b&lt;/code&gt;) locally via Ollama, generating active-recall flashcards, practice quizzes, and intuitive analogies 100% offline with zero subscription cost.&lt;/li&gt;
&lt;/ul&gt;

</description>
      <category>devchallenge</category>
      <category>weekendchallenge</category>
      <category>hf26challenge</category>
    </item>
    <item>
      <title>StudyPulse AI: An Offline-First Open-Weight Study Companion Built for my Classmate</title>
      <dc:creator>Ahan Ghosh</dc:creator>
      <pubDate>Sun, 04 Oct 2026 07:40:13 +0000</pubDate>
      <link>https://dev.to/ahan_ghosh_35952af9ec41a2/studypulse-ai-an-offline-first-open-weight-study-companion-built-for-my-classmate-2pbb</link>
      <guid>https://dev.to/ahan_ghosh_35952af9ec41a2/studypulse-ai-an-offline-first-open-weight-study-companion-built-for-my-classmate-2pbb</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;StudyPulse AI&lt;/strong&gt; for my 3rd-semester computer science classmate and friend, &lt;strong&gt;Aarav&lt;/strong&gt;.&lt;br&gt;
Like many engineering students, Aarav is constantly buried under dense lecture notes in subjects like &lt;strong&gt;Operating Systems&lt;/strong&gt; (semaphores, Coffman deadlock conditions, CPU scheduling), &lt;strong&gt;Data Structures &amp;amp; Algorithms&lt;/strong&gt; (AVL tree rotations, Red-Black balance invariants), and &lt;strong&gt;Database Management Systems&lt;/strong&gt; (ACID properties, BCNF normalization).&lt;br&gt;
Whenever exams and midterms approach, Aarav struggles with:&lt;/p&gt;

&lt;ol&gt;
&lt;li&gt;
&lt;strong&gt;Passive re-reading:&lt;/strong&gt; Highlighting slides over and over without active recall or self-testing.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Expensive API barriers:&lt;/strong&gt; Not wanting to pay $20/month for proprietary cloud AI subscriptions just to summarize homework notes.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Spotty campus internet:&lt;/strong&gt; Living in a university dorm where Wi-Fi drops constantly during study sessions.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Data privacy:&lt;/strong&gt; Not wanting course material, professor slide drafts, and private notes uploaded to corporate cloud silos.
&lt;strong&gt;StudyPulse AI&lt;/strong&gt; is a lightweight, private, offline-first study companion designed to run directly with local &lt;strong&gt;open-weight models&lt;/strong&gt; (such as Google’s Gemma 2, Llama 3.2, or Mistral via Ollama/LocalAI). It takes raw lecture notes or textbook snippets and instantly converts them into:&lt;/li&gt;
&lt;li&gt;🗂️ &lt;strong&gt;Active-Recall 3D Flip Flashcards&lt;/strong&gt; with intuitive everyday analogies&lt;/li&gt;
&lt;li&gt;🎯 &lt;strong&gt;Interactive Exam Practice Quizzes&lt;/strong&gt; with instant feedback and grading&lt;/li&gt;
&lt;li&gt;💡 &lt;strong&gt;ELI5 (Explain Like I'm 5) breakdowns&lt;/strong&gt;
&lt;/li&gt;
&lt;li&gt;📥 &lt;strong&gt;One-click Anki TSV and Markdown exports&lt;/strong&gt; for long-term spaced repetition
### What My Friend Thought (Real User Feedback)
I shared the working build with Aarav over the weekend while revising Operating Systems. Here is his feedback:
&amp;gt; &lt;em&gt;"The fact that this runs completely offline on my laptop without requiring an internet connection or an API subscription is a lifesaver for studying in the library basement where our campus Wi-Fi always disconnects.&lt;/em&gt;
&amp;gt; 
&amp;gt; &lt;em&gt;The killer feature for me is the everyday analogies on the back of the flashcards. I kept confusing the four Coffman deadlock conditions during revision, and the 4-way stop-sign intersection analogy made it immediately click. Also, being able to export the whole deck into Anki in one click saves me hours."&lt;/em&gt;
&lt;/li&gt;
&lt;/ol&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 flex items-center justify-between"&gt;
        &lt;a href="https://studypulse-ai-psi.vercel.app/" rel="noopener noreferrer" class="c-link fw-bold flex items-center"&gt;
          &lt;span class="mr-2"&gt;studypulse-ai-psi.vercel.app&lt;/span&gt;
          

        &lt;/a&gt;
      &lt;/div&gt;
    &lt;/div&gt;
&lt;/div&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/ahanghosh77" rel="noopener noreferrer"&gt;
        ahanghosh77
      &lt;/a&gt; / &lt;a href="https://github.com/ahanghosh77/studypulse-ai" rel="noopener noreferrer"&gt;
        studypulse-ai
      &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;⚡ StudyPulse AI&lt;/h1&gt;
&lt;/div&gt;
&lt;blockquote&gt;
&lt;p&gt;&lt;strong&gt;Private Open-Weight Note-to-Flashcard &amp;amp; Exam Prep Assistant&lt;/strong&gt;&lt;br&gt;
&lt;em&gt;Built for a classmate for the Hacktoberfest 2026 Weekend Challenge: "Build for a Friend"&lt;/em&gt;&lt;/p&gt;
&lt;/blockquote&gt;
&lt;p&gt;&lt;a rel="noopener noreferrer nofollow" href="https://camo.githubusercontent.com/4c076d54afb49f8a31359423caace7aed67d022548b104faffdbe91f43fe9bae/68747470733a2f2f696d672e736869656c64732e696f2f62616467652f4861636b746f626572666573742d323032362d6f72616e67653f7374796c653d666c61742d737175617265"&gt;&lt;img src="https://camo.githubusercontent.com/4c076d54afb49f8a31359423caace7aed67d022548b104faffdbe91f43fe9bae/68747470733a2f2f696d672e736869656c64732e696f2f62616467652f4861636b746f626572666573742d323032362d6f72616e67653f7374796c653d666c61742d737175617265" alt="StudyPulse Banner"&gt;&lt;/a&gt;
&lt;a rel="noopener noreferrer nofollow" href="https://camo.githubusercontent.com/ac049ef4e7a0b7196b09add6ac2d4f180e544c0ac779c2b2ac2fd2723a209579/68747470733a2f2f696d672e736869656c64732e696f2f62616467652f6c6963656e73652d4d49542d626c75653f7374796c653d666c61742d737175617265"&gt;&lt;img src="https://camo.githubusercontent.com/ac049ef4e7a0b7196b09add6ac2d4f180e544c0ac779c2b2ac2fd2723a209579/68747470733a2f2f696d672e736869656c64732e696f2f62616467652f6c6963656e73652d4d49542d626c75653f7374796c653d666c61742d737175617265" alt="License"&gt;&lt;/a&gt;
&lt;a rel="noopener noreferrer nofollow" href="https://camo.githubusercontent.com/92bc0a59edfa09cd4f46879e4079b8067d466bc0c3781f5f5cbfa7507929c88f/68747470733a2f2f696d672e736869656c64732e696f2f62616467652f4f70656e2d2d5765696768742d47656d6d612532302537432532304c6c616d61253230332d696e6469676f3f7374796c653d666c61742d737175617265"&gt;&lt;img src="https://camo.githubusercontent.com/92bc0a59edfa09cd4f46879e4079b8067d466bc0c3781f5f5cbfa7507929c88f/68747470733a2f2f696d672e736869656c64732e696f2f62616467652f4f70656e2d2d5765696768742d47656d6d612532302537432532304c6c616d61253230332d696e6469676f3f7374796c653d666c61742d737175617265" alt="AI"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;div class="markdown-heading"&gt;
&lt;h2 class="heading-element"&gt;🌟 Overview&lt;/h2&gt;
&lt;/div&gt;
&lt;p&gt;&lt;strong&gt;StudyPulse AI&lt;/strong&gt; is an offline-first, privacy-respecting study companion that transforms dense semester lecture notes, textbook passages, and slides into active-recall flashcards, practice quizzes, intuitive everyday analogies, and Anki-ready decks using local open-weight AI models.&lt;/p&gt;
&lt;p&gt;Built specifically for engineering and CS students tackling tough 3rd-semester subjects like &lt;strong&gt;Operating Systems, Data Structures &amp;amp; Algorithms, and Database Management Systems&lt;/strong&gt;.&lt;/p&gt;

&lt;div class="markdown-heading"&gt;
&lt;h2 class="heading-element"&gt;✨ Features&lt;/h2&gt;
&lt;/div&gt;
&lt;ul&gt;
&lt;li&gt;🗂️ &lt;strong&gt;3D Active-Recall Flashcards:&lt;/strong&gt; Spatial card flips with keyboard shortcuts (&lt;code&gt;Space&lt;/code&gt; to flip, &lt;code&gt;Arrow&lt;/code&gt; keys to navigate) and mastery tracking.&lt;/li&gt;
&lt;li&gt;🎯 &lt;strong&gt;Exam Practice Quiz:&lt;/strong&gt; Auto-generated multiple-choice questions with instant rationale and scoring.&lt;/li&gt;
&lt;li&gt;💡 &lt;strong&gt;ELI5 &amp;amp; Intuitive Analogies:&lt;/strong&gt; Translates complex system concepts into relatable mental models.&lt;/li&gt;
&lt;li&gt;🔒 &lt;strong&gt;100% Offline &amp;amp; Private:&lt;/strong&gt; Connects locally to &lt;strong&gt;Ollama&lt;/strong&gt; (&lt;code&gt;gemma2:2b&lt;/code&gt;, &lt;code&gt;llama3.2:3b&lt;/code&gt;, &lt;code&gt;mistral&lt;/code&gt;) or any local…&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/ahanghosh77/studypulse-ai" 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;ol&gt;
&lt;li&gt;
&lt;p&gt;&lt;strong&gt;Prompt Engineering for Open-Weight Models:&lt;/strong&gt;&lt;br&gt;&lt;br&gt;
Open-weight models like &lt;code&gt;gemma2:2b&lt;/code&gt; or &lt;code&gt;llama3.2:3b&lt;/code&gt; are efficient and run smoothly on modest student laptops. I structured strict JSON-schema system prompts requiring the model to extract:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;A core question testing causal understanding (not simple rote memorization)&lt;/li&gt;
&lt;li&gt;A concise, high-yield exam answer&lt;/li&gt;
&lt;li&gt;A relatable, real-world everyday analogy (e.g., explaining Coffman deadlock conditions like a 4-way stop sign intersection, or ACID atomicity like an ATM cash withdrawal).&lt;/li&gt;
&lt;/ul&gt;
&lt;/li&gt;
&lt;li&gt;&lt;p&gt;&lt;strong&gt;Resilient Local Architecture:&lt;/strong&gt;&lt;br&gt;&lt;br&gt;
The application communicates with &lt;code&gt;http://localhost:11434/api/generate&lt;/code&gt; via browser &lt;code&gt;fetch&lt;/code&gt; with configurable model and endpoint options. If a student is on the go and hasn't started their local Ollama daemon, StudyPulse seamlessly falls back to its built-in heuristic semantic parser, guaranteeing 100% uptime.&lt;/p&gt;&lt;/li&gt;
&lt;li&gt;&lt;p&gt;&lt;strong&gt;Active Recall &amp;amp; Spaced Repetition Design:&lt;/strong&gt;&lt;br&gt;&lt;br&gt;
Instead of overwhelming the student with giant walls of text, StudyPulse focuses on atomic cards, self-evaluations ("Mastered" vs "Needs Review"), and Anki export compatibility.&lt;/p&gt;&lt;/li&gt;
&lt;/ol&gt;

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

&lt;ol&gt;
&lt;li&gt;
&lt;strong&gt;Zero Cost for Students:&lt;/strong&gt; College students shouldn't have to budget monthly subscriptions just to generate study flashcards from their own notes. Open-weight models like Gemma and Llama bring state-of-the-art reasoning to everyday personal computers for free.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Complete Privacy:&lt;/strong&gt; Course notes, university research, and student drafts never leave the student's device. No telemetry, no cloud training on user notes, and zero data leakage.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;True Offline Independence:&lt;/strong&gt; Open-source AI isn't dependent on cloud server status pages, rate limits, or campus Wi-Fi connection drops. It runs reliably on an airplane, in a library basement, or in a dorm room.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Customizability:&lt;/strong&gt; Because the models are open, students can fine-tune small open-weight models on their own department's curriculum or switch models freely without vendor lock-in.&lt;/li&gt;
&lt;/ol&gt;

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

&lt;p&gt;This project was developed with the assistance of &lt;strong&gt;Google Antigravity&lt;/strong&gt; and configured with &lt;strong&gt;DevRelay&lt;/strong&gt; for Hacktoberfest 2026. The agent workflow helped scaffold the semantic extraction prompts, structure the 3D CSS flip animations, and curate high-yield 3rd-semester computer science concepts.&lt;/p&gt;

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

&lt;ul&gt;
&lt;li&gt;
&lt;strong&gt;Best Use of Gemma&lt;/strong&gt;: StudyPulse AI is built to run directly with Google's Gemma 2 open-weight model (&lt;code&gt;gemma2:2b&lt;/code&gt;) locally on modest student laptops via Ollama/local inference, generating active-recall flashcards, practice quizzes, and intuitive analogies 100% offline with zero subscription cost.&lt;/li&gt;
&lt;/ul&gt;

</description>
      <category>devchallenge</category>
      <category>weekendchallenge</category>
      <category>hf26challenge</category>
    </item>
    <item>
      <title>New to Community</title>
      <dc:creator>Ahan Ghosh</dc:creator>
      <pubDate>Sun, 04 Oct 2026 04:55:00 +0000</pubDate>
      <link>https://dev.to/ahan_ghosh_35952af9ec41a2/new-to-community-1pl0</link>
      <guid>https://dev.to/ahan_ghosh_35952af9ec41a2/new-to-community-1pl0</guid>
      <description>&lt;p&gt;Hellooo, everyone@!!!&lt;/p&gt;

</description>
    </item>
  </channel>
</rss>
