<?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>🦥 SlothSort: Channeling Our Inner Sloth with 100% Offline Open-Source AI</title>
      <dc:creator>Ahan Ghosh</dc:creator>
      <pubDate>Sun, 25 Oct 2026 10:12:53 +0000</pubDate>
      <link>https://dev.to/ahan_ghosh_35952af9ec41a2/slothsort-channeling-our-inner-sloth-with-100-offline-open-source-ai-4bcd</link>
      <guid>https://dev.to/ahan_ghosh_35952af9ec41a2/slothsort-channeling-our-inner-sloth-with-100-offline-open-source-ai-4bcd</guid>
      <description>&lt;p&gt;&lt;em&gt;This is a submission for the &lt;a href="https://dev.to/challenges/hacktoberfest-week3-2026-10-19"&gt;Hacktoberfest Open-Source AI Challenge Week 3: Slow and Steady&lt;/a&gt;.&lt;/em&gt;&lt;/p&gt;

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

&lt;p&gt;Sloths have mastered something we developers often forget: &lt;strong&gt;you don't have to do everything yourself.&lt;/strong&gt;&lt;/p&gt;

&lt;p&gt;While we spend hours cleaning up our Downloads folders, renaming confusing files, and listening to long voice memos, our digital clutter keeps growing.&lt;/p&gt;

&lt;p&gt;And let's be honest, nobody wants to spend their free time organizing files.&lt;/p&gt;

&lt;p&gt;That's why I built &lt;strong&gt;SlothSort&lt;/strong&gt; — an autonomous desktop and voice memo organizer powered by open-source AI models that can run locally on your computer.&lt;/p&gt;

&lt;p&gt;The idea is simple: let the AI handle the boring digital housekeeping while you focus on things that actually matter.&lt;/p&gt;

&lt;h3&gt;
  
  
  🦥 How SlothSort Works
&lt;/h3&gt;

&lt;ol&gt;
&lt;li&gt;&lt;p&gt;&lt;strong&gt;Drop Your Files:&lt;/strong&gt; Put your messy documents, receipts, code snippets, and voice recordings into a folder. You can also try the built-in Lazy Sandbox in the web demo.&lt;/p&gt;&lt;/li&gt;
&lt;li&gt;&lt;p&gt;&lt;strong&gt;Hibernate &amp;amp; Sort:&lt;/strong&gt; Hit the &lt;em&gt;Hibernate &amp;amp; Sort (Lazy Mode)&lt;/em&gt; button and let SlothSort do the work. Its AI-powered workflow categorizes files, generates cleaner filenames, analyzes documents, and transcribes audio recordings.&lt;/p&gt;&lt;/li&gt;
&lt;li&gt;&lt;p&gt;&lt;strong&gt;Wake Up to an Organized Folder:&lt;/strong&gt; Your files are sorted into relevant categories, filenames are cleaned up using &lt;code&gt;snake_case&lt;/code&gt;, and you receive a Morning Digest summarizing the work.&lt;/p&gt;&lt;/li&gt;
&lt;li&gt;&lt;p&gt;&lt;strong&gt;Undo Without the Stress:&lt;/strong&gt; Made a mistake or changed your mind? Use the rollback feature to restore files to their original locations.&lt;/p&gt;&lt;/li&gt;
&lt;/ol&gt;

&lt;h3&gt;
  
  
  What Makes It Different?
&lt;/h3&gt;

&lt;ul&gt;
&lt;li&gt;
&lt;strong&gt;Local AI:&lt;/strong&gt; Uses open-weight models, including SmolLM2 and Whisper, for document processing and speech transcription.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Privacy First:&lt;/strong&gt; The local desktop workflow is designed to process files without uploading their contents to a cloud AI service.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;No Paid AI API Required:&lt;/strong&gt; No recurring cloud inference charges or API keys are needed for the local AI workflow.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Voice Memo Transcription:&lt;/strong&gt; Turn recordings into readable text files.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Morning Digest:&lt;/strong&gt; Get a summary of what was organized, with an audio briefing option.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;One-Click Rollback:&lt;/strong&gt; Keep control over your files even when automation makes a decision you want to reverse.&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;The goal is to make file management something you barely have to think about.&lt;/p&gt;

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

&lt;p&gt;🌐 &lt;strong&gt;Live Demo:&lt;/strong&gt; &lt;a href="https://slothsort.vercel.app/" rel="noopener noreferrer"&gt;https://slothsort.vercel.app/&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;Try the interactive showcase to explore the file organizer, Morning Digest, voice memo transcription, and rollback history.&lt;/p&gt;

&lt;p&gt;💻 &lt;strong&gt;Local Desktop Mode:&lt;/strong&gt; Run the AI workflow on your own computer, using a compatible NVIDIA GPU with CUDA acceleration or a CPU.&lt;/p&gt;

&lt;p&gt;The live website is an interactive showcase; the local desktop application is where the offline AI processing happens.&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/Krishna5567/SlothSort" rel="noopener noreferrer"&gt;https://github.com/Krishna5567/SlothSort&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;Explore the source code, implementation, and project architecture.&lt;/p&gt;

&lt;p&gt;The project brings together local AI models, a Python backend, speech transcription, and a simple interface to make digital organization less tedious.&lt;/p&gt;

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

&lt;p&gt;SlothSort combines lightweight open-weight AI models with a local-first application architecture.&lt;/p&gt;

&lt;h3&gt;
  
  
  The AI Stack
&lt;/h3&gt;

&lt;ul&gt;
&lt;li&gt;
&lt;strong&gt;OpenAI Whisper:&lt;/strong&gt; Used for automatic speech recognition, turning voice recordings into text without requiring a remote transcription API.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Hugging Face SmolLM2-360M-Instruct:&lt;/strong&gt; A lightweight open-weight language model used for document categorization, filename suggestions, and Morning Digest generation.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;pyttsx3:&lt;/strong&gt; Supports offline text-to-speech generation for the desktop audio briefing.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Web Speech API:&lt;/strong&gt; Provides browser-based speech synthesis in the web experience.&lt;/li&gt;
&lt;/ul&gt;

&lt;h3&gt;
  
  
  The Application Stack
&lt;/h3&gt;

&lt;ul&gt;
&lt;li&gt;
&lt;strong&gt;Python:&lt;/strong&gt; Core desktop automation and local AI workflows.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;FastAPI and Uvicorn:&lt;/strong&gt; Backend API and request handling.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;PyTorch and CUDA:&lt;/strong&gt; Support GPU-accelerated inference on compatible NVIDIA hardware.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Vercel:&lt;/strong&gt; Hosts the interactive web showcase.&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;The application is designed to keep the local AI processing separate from the hosted demonstration. The website lets people explore the concept, while the desktop workflow is intended to handle their actual files locally.&lt;/p&gt;

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

&lt;p&gt;For a project like SlothSort, open innovation isn't just about using free software. It's about giving people more control over their data, tools, and computing resources.&lt;/p&gt;

&lt;h3&gt;
  
  
  🔒 1. Privacy Shouldn't Be a Premium Feature
&lt;/h3&gt;

&lt;p&gt;A folder can contain bank receipts, personal notes, private recordings, and work documents. Uploading all of that to an external AI service just to organize it isn't always a good trade-off.&lt;/p&gt;

&lt;p&gt;Running the AI locally means the desktop workflow can process sensitive files on the user's own machine instead of sending their contents to a remote AI provider.&lt;/p&gt;

&lt;h3&gt;
  
  
  🌐 2. Useful AI Shouldn't Depend on a Perfect Internet Connection
&lt;/h3&gt;

&lt;p&gt;Cloud AI services depend on network access and external infrastructure. A local workflow can continue processing files without an internet connection once the necessary models and dependencies are installed.&lt;/p&gt;

&lt;p&gt;That makes SlothSort useful even when the Wi-Fi isn't cooperating.&lt;/p&gt;

&lt;h3&gt;
  
  
  💸 3. No Per-Request AI Bill
&lt;/h3&gt;

&lt;p&gt;Open-weight models let users run inference on their own hardware without paying a third-party AI provider for every request.&lt;/p&gt;

&lt;p&gt;There are still hardware, electricity, storage, and setup costs, but the local AI workflow doesn't require a recurring cloud inference subscription.&lt;/p&gt;

&lt;h3&gt;
  
  
  🛠️ 4. Freedom to Experiment and Improve
&lt;/h3&gt;

&lt;p&gt;Open models make it possible to inspect the available implementations, adapt prompts, experiment with alternative models, and improve the workflow without depending entirely on one closed AI provider.&lt;/p&gt;

&lt;p&gt;That flexibility matters for developers who want to learn, contribute, and build on top of existing work.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Open innovation makes AI more accessible while giving developers and users greater control over how it works.&lt;/strong&gt;&lt;/p&gt;

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

&lt;p&gt;SlothSort was developed through AI-assisted coding and an iterative build-and-test workflow.&lt;/p&gt;

&lt;p&gt;The repository contains the project source and implementation:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;
&lt;strong&gt;Project Repository:&lt;/strong&gt; &lt;a href="https://github.com/Krishna5567/SlothSort" rel="noopener noreferrer"&gt;https://github.com/Krishna5567/SlothSort&lt;/a&gt;
&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Live Showcase:&lt;/strong&gt; &lt;a href="https://slothsort.vercel.app/" rel="noopener noreferrer"&gt;https://slothsort.vercel.app/&lt;/a&gt;
&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;The local workflow was tested on an NVIDIA GeForce RTX 3050 Laptop GPU with CUDA acceleration, with CPU execution also supported.&lt;/p&gt;

&lt;p&gt;&lt;em&gt;Note: I haven't included a DevRelay session recording because a shareable session link wasn't provided. Add one here if you have it.&lt;/em&gt;&lt;/p&gt;

&lt;h2&gt;
  
  
  The Lazy Payoff
&lt;/h2&gt;

&lt;p&gt;The best automation is the kind that gives you your time back.&lt;/p&gt;

&lt;p&gt;During testing, I used SlothSort on a cluttered directory containing messy filenames, documents, scripts, and voice recordings.&lt;/p&gt;

&lt;p&gt;Instead of manually opening files, renaming them, moving them into folders, and listening through recordings, I could let the automated workflow handle those repetitive tasks.&lt;/p&gt;

&lt;p&gt;The estimated payoff from that test was:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;
&lt;strong&gt;35–45 minutes:&lt;/strong&gt; Estimated manual sorting and review effort avoided.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;One click:&lt;/strong&gt; Start the sorting workflow.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Readable transcripts:&lt;/strong&gt; Get text versions of voice recordings.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;One-click rollback:&lt;/strong&gt; Restore files when needed.&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;These are estimates from my testing scenario, not a guarantee for every folder or computer. Actual processing time depends on the number and types of files and the available hardware.&lt;/p&gt;

&lt;p&gt;The bigger win isn't just the time saved. It's removing one more boring task from the list of things you keep postponing.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Less digital clutter. Less repetitive work. More time to do absolutely anything else.&lt;/strong&gt;&lt;/p&gt;

&lt;p&gt;That's the SlothSort philosophy. 🦥&lt;/p&gt;

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

&lt;ul&gt;
&lt;li&gt;
&lt;strong&gt;Primary Challenge:&lt;/strong&gt; Hacktoberfest Open-Source AI Challenge Week 3 — Slow and Steady.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Project Focus:&lt;/strong&gt; Open-source AI, local inference, desktop automation, and voice memo organization.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Challenge Themes:&lt;/strong&gt; Rewarding laziness, reducing repetitive work, protecting personal data through local processing, and making AI useful without mandatory cloud inference costs.&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;SlothSort is my attempt to prove that sometimes the smartest thing you can do is let your computer do the boring work while you take it slow.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Stay lazy. Stay organized. Let the sloth handle it. 🦥&lt;/strong&gt;&lt;/p&gt;

</description>
      <category>devchallenge</category>
      <category>hf26challenge</category>
    </item>
    <item>
      <title>FreelancerAI — The 100% Local-First AI Receipt &amp; Expense Sorter for Solopreneurs</title>
      <dc:creator>Ahan Ghosh</dc:creator>
      <pubDate>Tue, 13 Oct 2026 14:14:34 +0000</pubDate>
      <link>https://dev.to/ahan_ghosh_35952af9ec41a2/freelancerai-the-100-local-first-ai-receipt-expense-sorter-for-solopreneurs-2hd1</link>
      <guid>https://dev.to/ahan_ghosh_35952af9ec41a2/freelancerai-the-100-local-first-ai-receipt-expense-sorter-for-solopreneurs-2hd1</guid>
      <description>&lt;p&gt;&lt;em&gt;This is a submission for the &lt;a href="https://dev.to/challenges/hacktoberfest-week2-2026-10-12"&gt;Hacktoberfest Open-Source AI Challenge Week 2: Side Hustle&lt;/a&gt;&lt;/em&gt;&lt;/p&gt;

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

&lt;p&gt;FreelancerAI is a 100% local-first receipt and invoice sorter built for freelancers, solopreneurs, and small business owners.&lt;/p&gt;

&lt;p&gt;Every quarter, millions of independent contractors face the same headache: sorting through piles of digital invoices, software receipts, cafe meeting slips, and hardware bills to prepare tax deductions. Existing cloud tools like Expensify ($5–$20/mo), Shoeboxed ($18–$36/mo), and QuickBooks Self-Employed ($15–$30/mo) charge recurring subscriptions and require uploading private financial documents to third-party cloud servers.&lt;/p&gt;

&lt;p&gt;FreelancerAI solves this by running the entire OCR, parsing, categorization, and storage pipeline directly inside the user's browser:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;
&lt;strong&gt;Instant Local OCR:&lt;/strong&gt; Drag and drop receipt images or invoice scans; text is extracted locally using WebAssembly.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Smart Categorization:&lt;/strong&gt; Automatically identifies vendor name, date, subtotal, tax, and total, then maps the expense into standard tax categories (Software, Meals &amp;amp; Entertainment, Office Supplies, Travel, Equipment, Utilities, Professional Services, etc.).&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Visual Expense Dashboard:&lt;/strong&gt; Shows spending totals, average expense, category percentage breakdown, and monthly trends.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;1-Click Tax Export:&lt;/strong&gt; Generates clean CSV files (ready for Excel, Google Sheets, or tax preparers), structured JSON, or formatted tax summary reports.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Complete Privacy &amp;amp; Local Storage:&lt;/strong&gt; No login, no accounts, and zero network calls. Data persists strictly in the browser's &lt;code&gt;localStorage&lt;/code&gt;.&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;&lt;strong&gt;Who would pay for it?&lt;/strong&gt;&lt;br&gt;&lt;br&gt;
The 60M+ freelancers worldwide who want to eliminate subscription fatigue. Instead of paying $150–$300/year for bloated accounting software, freelancers would pay a one-time fee ($19–$29 lifetime license) for an offline, private utility that just works.&lt;/p&gt;
&lt;h2&gt;
  
  
  Demo
&lt;/h2&gt;

&lt;ul&gt;
&lt;li&gt;
&lt;strong&gt;Live Deployed App:&lt;/strong&gt; &lt;a href="https://freelancerai-six.vercel.app/" rel="noopener noreferrer"&gt;https://freelancerai-six.vercel.app/&lt;/a&gt;
&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Offline Capable:&lt;/strong&gt; Load the page once, disconnect from the internet, and test dropping a receipt—everything continues to process locally.&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/FreelancerAI" rel="noopener noreferrer"&gt;
        FreelancerAI
      &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;🧾 FreelancerAI — Local-First Invoice &amp;amp; Receipt Sorter&lt;/h1&gt;
&lt;/div&gt;
&lt;blockquote&gt;
&lt;p&gt;&lt;strong&gt;Your receipts, your device. Always.&lt;/strong&gt;&lt;br&gt;
Open-source AI-powered expense tracking that runs 100% in your browser. No servers, no uploads, no subscriptions.&lt;/p&gt;
&lt;/blockquote&gt;
&lt;p&gt;&lt;a rel="noopener noreferrer nofollow" href="https://camo.githubusercontent.com/5f5489d114119c1cb7a4482427afa35df2ea49f192ebefe5db232e4b5a594af5/68747470733a2f2f696d672e736869656c64732e696f2f62616467652f41492d3130302532352532304c6f63616c2d3663356365373f7374796c653d666f722d7468652d6261646765"&gt;&lt;img src="https://camo.githubusercontent.com/5f5489d114119c1cb7a4482427afa35df2ea49f192ebefe5db232e4b5a594af5/68747470733a2f2f696d672e736869656c64732e696f2f62616467652f41492d3130302532352532304c6f63616c2d3663356365373f7374796c653d666f722d7468652d6261646765" alt="FreelancerAI Screenshot"&gt;&lt;/a&gt;
&lt;a rel="noopener noreferrer nofollow" href="https://camo.githubusercontent.com/4690516b97669061057bd6eabc998cf4639814f062ba4ba14afdb45004b8152e/68747470733a2f2f696d672e736869656c64732e696f2f62616467652f4c6963656e73652d4d49542d3030623839343f7374796c653d666f722d7468652d6261646765"&gt;&lt;img src="https://camo.githubusercontent.com/4690516b97669061057bd6eabc998cf4639814f062ba4ba14afdb45004b8152e/68747470733a2f2f696d672e736869656c64732e696f2f62616467652f4c6963656e73652d4d49542d3030623839343f7374796c653d666f722d7468652d6261646765" alt="License"&gt;&lt;/a&gt;
&lt;a rel="noopener noreferrer nofollow" href="https://camo.githubusercontent.com/038ea80338ae00a5e5237cbad8772f91f08a1eaec733f8a895e1be4aaec5e5fe/68747470733a2f2f696d672e736869656c64732e696f2f62616467652f4f43522d5465737365726163742e6a732d6664373961383f7374796c653d666f722d7468652d6261646765"&gt;&lt;img src="https://camo.githubusercontent.com/038ea80338ae00a5e5237cbad8772f91f08a1eaec733f8a895e1be4aaec5e5fe/68747470733a2f2f696d672e736869656c64732e696f2f62616467652f4f43522d5465737365726163742e6a732d6664373961383f7374796c653d666f722d7468652d6261646765" alt="Tesseract.js"&gt;&lt;/a&gt;&lt;/p&gt;
&lt;div class="markdown-heading"&gt;
&lt;h2 class="heading-element"&gt;🎯 What It Does&lt;/h2&gt;
&lt;/div&gt;
&lt;p&gt;FreelancerAI is a &lt;strong&gt;local-first invoice and receipt sorter&lt;/strong&gt; built for freelancers, solopreneurs, and small business owners who need to:&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;
&lt;strong&gt;Scan receipts&lt;/strong&gt; → Drop a photo, get structured data (vendor, date, amount, category)&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Auto-categorize&lt;/strong&gt; → AI classifies expenses into 10+ business categories&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Track spending&lt;/strong&gt; → Visual dashboard with category breakdown &amp;amp; monthly timeline&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Export for taxes&lt;/strong&gt; → Download CSV, JSON, or formatted tax summaries&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Keep data private&lt;/strong&gt; → Everything runs in your browser. Nothing is ever uploaded.&lt;/li&gt;
&lt;/ul&gt;
&lt;div class="markdown-heading"&gt;
&lt;h2 class="heading-element"&gt;🏗️ Architecture&lt;/h2&gt;
&lt;/div&gt;
&lt;div class="snippet-clipboard-content notranslate position-relative overflow-auto"&gt;
&lt;pre class="notranslate"&gt;&lt;code&gt;┌──────────────────────────────────────────────────────────┐
│                    YOUR BROWSER                          │
│                                                          │
│   ┌──────────┐    ┌─────────────┐    ┌───────────────┐  │
│   │  Image    │───▶│ Tesseract.js │───▶│ AI Rule-Based │  │
│   │  Upload   │    │ OCR Engine   │    │ Parser Engine │  │
│   └──────────┘    │ (WASM/WebGPU)│&lt;/code&gt;&lt;/pre&gt;…&lt;/div&gt;&lt;/div&gt;
  &lt;/div&gt;
  &lt;div class="gh-btn-container"&gt;&lt;a class="gh-btn" href="https://github.com/ahanghosh77/FreelancerAI" rel="noopener noreferrer"&gt;View on GitHub&lt;/a&gt;&lt;/div&gt;
&lt;/div&gt;


&lt;ul&gt;
&lt;li&gt;
&lt;strong&gt;GitHub Repository:&lt;/strong&gt; &lt;a href="https://github.com/ahanghosh77/FreelancerAI" rel="noopener noreferrer"&gt;https://github.com/ahanghosh77/FreelancerAI&lt;/a&gt;
&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;License:&lt;/strong&gt; &lt;a href="https://github.com/ahanghosh77/FreelancerAI/blob/main/LICENSE" rel="noopener noreferrer"&gt;MIT License&lt;/a&gt; (permissive open-source)&lt;/li&gt;
&lt;/ul&gt;

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

&lt;p&gt;FreelancerAI is built around open-source AI and local inference:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;
&lt;strong&gt;Open-Source AI Engine:&lt;/strong&gt; We use &lt;strong&gt;Tesseract.js v5&lt;/strong&gt; (Apache 2.0 license), the JavaScript port of the open-source Tesseract OCR engine, running client-side inference via WebAssembly (WASM) in a Web Worker.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Local AI Parser &amp;amp; Categorization Engine:&lt;/strong&gt; A rule-based natural language parser cleans noisy OCR text, extracts dates across multiple formats, detects currency symbols and amount values, isolates vendor names, and matches line items against a 300+ keyword taxonomy spanning 10 core business expense categories.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Zero-Backend Architecture:&lt;/strong&gt; Built with semantic HTML5, Vanilla CSS3 (dark glassmorphism theme, CSS variables, micro-animations), and Vanilla JavaScript. No node server, no database, no cloud API tokens.&lt;/li&gt;
&lt;/ul&gt;

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

&lt;p&gt;Open-source AI made this project possible in ways closed APIs could never support:&lt;/p&gt;

&lt;ol&gt;
&lt;li&gt;
&lt;strong&gt;Zero Marginal Costs ($0 API bills):&lt;/strong&gt; Using proprietary vision models (like GPT-4o Vision or Google Cloud Vision) costs $0.02 to $0.05 per image. For a side hustle or free utility, processing hundreds of receipts per user would quickly result in unsustainable API bills. Running open-source OCR via WASM on the client's own CPU costs $0.00.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Absolute Privacy for Client Data:&lt;/strong&gt; Freelancers routinely handle NDA-protected projects and confidential client expenses. Closed APIs require transmitting financial paperwork to cloud servers. Open innovation enables an air-gapped solution where data never leaves the device.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Offline Resilience:&lt;/strong&gt; Open-weight and client-side models run anywhere—on a flight, in a coffee shop with spotty Wi-Fi, or during internet outages.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Sovereignty &amp;amp; Longevity:&lt;/strong&gt; There are no API keys to expire, no rate limits, and no vendor price hikes or model deprecations. The code will work identically 5 years from today.&lt;/li&gt;
&lt;/ol&gt;

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

&lt;p&gt;This application was developed with the assistance of &lt;strong&gt;Google Antigravity AI&lt;/strong&gt; through DevRelay agent workflows.&lt;/p&gt;

&lt;p&gt;During the session, the agent:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;Implemented and tuned the Tesseract.js WebAssembly OCR worker pipeline with real-time recognition progress tracking.&lt;/li&gt;
&lt;li&gt;Crafted the regex and heuristic NLP parsing engine to handle noisy OCR character recognition (such as confusing &lt;code&gt;0&lt;/code&gt; and &lt;code&gt;O&lt;/code&gt;, varying date formats, and fragmented line items).&lt;/li&gt;
&lt;li&gt;Designed the responsive dark glassmorphism interface and visual analytics dashboard with pure Vanilla CSS.&lt;/li&gt;
&lt;li&gt;Executed automated browser UI and OCR verification tests with synthetic test receipts to validate the end-to-end user flow.&lt;/li&gt;
&lt;/ul&gt;

&lt;h2&gt;
  
  
  My First User
&lt;/h2&gt;

&lt;p&gt;I shared FreelancerAI with &lt;strong&gt;Alex&lt;/strong&gt;, an independent UI/UX designer and web developer who manages multiple client retainers.&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;
&lt;strong&gt;What they did:&lt;/strong&gt; Tested the app with 14 receipts from coffee shop client meetings, software tools (Figma, Adobe), and hardware purchases.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;What they said:&lt;/strong&gt; &lt;em&gt;"I usually spend hours every quarter manually typing receipt numbers into a spreadsheet because QuickBooks is bloated and costs too much. FreelancerAI parsed my receipts in seconds without asking me to create an account or upload to someone else's server. The CSV export was clean and ready for my accountant."&lt;/em&gt;
&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Would they pay?&lt;/strong&gt; Alex confirmed he would not pay for yet another monthly subscription, but said he would gladly pay a &lt;strong&gt;$25 to $30 one-time purchase&lt;/strong&gt; on Gumroad to own it as an offline desktop utility.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;What they asked for next:&lt;/strong&gt; Multi-currency conversion (USD/EUR/GBP) and client-specific tags to separate billable client reimbursements.&lt;/li&gt;
&lt;/ul&gt;

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

&lt;ul&gt;
&lt;li&gt;
&lt;strong&gt;Overall Grand Prize:&lt;/strong&gt; Hacktoberfest Open-Source AI Challenge Week 2: Side Hustle
&lt;em&gt;(FreelancerAI was intentionally designed with a zero-server, 100% local client-side architecture to guarantee complete privacy and zero running costs, competing for the Overall Winner category.)&lt;/em&gt;
&lt;/li&gt;
&lt;/ul&gt;

</description>
      <category>devchallenge</category>
      <category>hf26challenge</category>
    </item>
    <item>
      <title>FreelancerAI — The 100% Local-First AI Receipt &amp; Expense Sorter for Solopreneurs</title>
      <dc:creator>Ahan Ghosh</dc:creator>
      <pubDate>Tue, 13 Oct 2026 14:07:06 +0000</pubDate>
      <link>https://dev.to/ahan_ghosh_35952af9ec41a2/freelancerai-the-100-local-first-ai-receipt-expense-sorter-for-solopreneurs-gjn</link>
      <guid>https://dev.to/ahan_ghosh_35952af9ec41a2/freelancerai-the-100-local-first-ai-receipt-expense-sorter-for-solopreneurs-gjn</guid>
      <description>&lt;p&gt;&lt;em&gt;This is a submission for the &lt;a href="https://dev.to/challenges/hacktoberfest-week2-2026-10-12"&gt;Hacktoberfest Open-Source AI Challenge Week 2: Side Hustle&lt;/a&gt;&lt;/em&gt;&lt;/p&gt;




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

&lt;p&gt;Every freelancer knows the dreaded "Tax Season Shoe-Box Panic." &lt;/p&gt;

&lt;p&gt;Whether you are an independent software engineer, graphic designer, copywriter, or consultant, you spend 5 to 10 hours every month hunting down PDF invoices, coffee meeting slips, software subscription receipts, and hardware purchase dockets.&lt;/p&gt;

&lt;p&gt;Existing solutions like &lt;strong&gt;Expensify ($5–$20/user/mo)&lt;/strong&gt;, &lt;strong&gt;Shoeboxed ($18–$36/mo)&lt;/strong&gt;, or &lt;strong&gt;QuickBooks Self-Employed ($15–$30/mo)&lt;/strong&gt; come with two massive dealbreakers for solopreneurs:&lt;/p&gt;

&lt;ol&gt;
&lt;li&gt;
&lt;strong&gt;Recurring Subscription Bloat:&lt;/strong&gt; Paying $200–$400 every year just to digitize basic receipts eats directly into razor-thin freelance margins.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;The Privacy Nightmare:&lt;/strong&gt; Cloud OCR tools transmit your confidential client names, NDA-protected equipment purchases, credit card slips, and business travel itineraries to remote third-party servers.&lt;/li&gt;
&lt;/ol&gt;

&lt;h3&gt;
  
  
  Meet FreelancerAI
&lt;/h3&gt;

&lt;p&gt;&lt;strong&gt;FreelancerAI&lt;/strong&gt; is an open-source, local-first invoice and receipt sorter powered by client-side AI. &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%2Fimg.shields.io%2Fbadge%2FAI-100%2525%2520Local%2520WASM-6c5ce7%3Fstyle%3Dfor-the-badge" 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%2Fimg.shields.io%2Fbadge%2FAI-100%2525%2520Local%2520WASM-6c5ce7%3Fstyle%3Dfor-the-badge" alt="FreelancerAI Banner" width="192" height="28"&gt;&lt;/a&gt; &lt;a href="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fimg.shields.io%2Fbadge%2FPrivacy-Zero%2520Network%2520Requests-00b894%3Fstyle%3Dfor-the-badge" 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%2Fimg.shields.io%2Fbadge%2FPrivacy-Zero%2520Network%2520Requests-00b894%3Fstyle%3Dfor-the-badge" alt="Zero Cloud" width="280" height="28"&gt;&lt;/a&gt; &lt;a href="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fimg.shields.io%2Fbadge%2FLicense-MIT-fd79a8%3Fstyle%3Dfor-the-badge" 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%2Fimg.shields.io%2Fbadge%2FLicense-MIT-fd79a8%3Fstyle%3Dfor-the-badge" alt="License" width="124" height="28"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;📸 &lt;strong&gt;Instant Scan &amp;amp; OCR:&lt;/strong&gt; Drop any receipt image or invoice scan. Tesseract.js parses the image into machine-readable text directly inside the browser using WebAssembly.&lt;/li&gt;
&lt;li&gt;🧠 &lt;strong&gt;Smart Expense Categorization:&lt;/strong&gt; A deterministic NLP engine extracts the vendor name, transaction date, subtotal, tax, total amount, and classifies expenses into 10+ standard business tax categories (Software &amp;amp; Subscriptions, Office Supplies, Meals &amp;amp; Entertainment, Travel, Equipment, Utilities, Professional Services, etc.).&lt;/li&gt;
&lt;li&gt;📊 &lt;strong&gt;Visual Financial Dashboard:&lt;/strong&gt; Real-time analytics breaking down monthly spend, category percentage bars, average ticket size, and filterable receipt archives.&lt;/li&gt;
&lt;li&gt;💾 &lt;strong&gt;100% Local Storage:&lt;/strong&gt; Everything persists in the browser’s &lt;code&gt;localStorage&lt;/code&gt;. No accounts, no database breaches, no tracking cookies.&lt;/li&gt;
&lt;li&gt;📥 &lt;strong&gt;Zero-Friction Tax Export:&lt;/strong&gt; Export clean CSVs (for Excel/Google Sheets), structured JSON, or print-ready Schedule C tax summary deduction reports with one click.&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;&lt;strong&gt;Who would pay for this?&lt;/strong&gt;&lt;br&gt;&lt;br&gt;
The &lt;strong&gt;60+ million freelancers and solopreneurs&lt;/strong&gt; worldwide. Instead of an ongoing $20/month SaaS fee, FreelancerAI proves that open-source AI enables a sustainable &lt;strong&gt;"Pay once, own forever" ($19–$29 one-time license)&lt;/strong&gt; utility or a self-hosted free community tool.&lt;/p&gt;




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

&lt;ul&gt;
&lt;li&gt;🌐 &lt;strong&gt;Live Web App:&lt;/strong&gt; &lt;a href="https://freelancerai-six.vercel.app/" rel="noopener noreferrer"&gt;https://freelancerai-six.vercel.app/&lt;/a&gt;
&lt;/li&gt;
&lt;li&gt;⚡ &lt;strong&gt;Offline-Ready:&lt;/strong&gt; Load it once, turn off your Wi-Fi, and it still scans, parses, categorizes, and exports without missing a beat.&lt;/li&gt;
&lt;/ul&gt;

</description>
      <category>devchallenge</category>
      <category>hf26challenge</category>
    </item>
    <item>
      <title>TrailSense AI — Offline Nature Quest &amp; Sensory Walk Companion Powered by Gemma 2</title>
      <dc:creator>Ahan Ghosh</dc:creator>
      <pubDate>Tue, 06 Oct 2026 09:29:45 +0000</pubDate>
      <link>https://dev.to/ahan_ghosh_35952af9ec41a2/trailsense-ai-offline-nature-quest-sensory-walk-companion-powered-by-gemma-2-45eg</link>
      <guid>https://dev.to/ahan_ghosh_35952af9ec41a2/trailsense-ai-offline-nature-quest-sensory-walk-companion-powered-by-gemma-2-45eg</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;h2&gt;
  
  
  What I Built
&lt;/h2&gt;

&lt;p&gt;I built &lt;strong&gt;TrailSense AI&lt;/strong&gt; — an offline-first nature exploration companion designed to combat chronic screen fatigue among developers, students, and desk workers.&lt;/p&gt;

&lt;p&gt;Instead of keeping people glued to a phone while outdoors, TrailSense AI is built around a single rule: &lt;strong&gt;make the screen the shortest part of the experience.&lt;/strong&gt;&lt;/p&gt;

&lt;p&gt;It takes just 30 seconds to choose your outdoor setting (Campus Quad, City Park, Forest Trail, or Neighborhood) and duration (15, 30, or 45 minutes). Local open-weight AI then synthesizes a personalized, tangible sensory micro-quest:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;🍂 &lt;strong&gt;Foliage Quests:&lt;/strong&gt; Compare leaf margin serrations between oak and maple species.&lt;/li&gt;
&lt;li&gt;👂 &lt;strong&gt;Soundscape Quests:&lt;/strong&gt; Filter out urban hum to isolate two distinct bird calls or wind rustles.&lt;/li&gt;
&lt;li&gt;🪵 &lt;strong&gt;Tactile Quests:&lt;/strong&gt; Inspect trunk bark textures (smooth birch lenticels vs deep furrowed oak).&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;Once generated, you pocket your phone. Gentle, non-intrusive 528 Hz audio chimes announce walk milestones and cue a 2-minute stillness mindfulness pause under a tree canopy. A built-in botanical reference identifies species with zero cell signal, and when you return, you log your findings in an offline nature journal.&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://trailsense-ai.vercel.app/" rel="noopener noreferrer"&gt;https://trailsense-ai.vercel.app/&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;Try it out live — select an outdoor environment, pick your duration, and generate a sensory nature quest. Features you can test:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;
&lt;strong&gt;Offline Nature Quest Dispatcher:&lt;/strong&gt; Generates non-digital observational challenges tailored to your location.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Pocket Mode Timer:&lt;/strong&gt; Hands-free walk tracking with gentle Web Audio chimes so your phone stays in your pocket.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Offline Field Guide:&lt;/strong&gt; Built-in tree and bird identification reference that works without internet.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Nature Journal &amp;amp; Streaks:&lt;/strong&gt; Log field notes and track your "Days Touched Grass" streak.&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/trailsense-ai" rel="noopener noreferrer"&gt;
        trailsense-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;TrailSense AI 🌿🍂&lt;/h1&gt;
&lt;/div&gt;
&lt;blockquote&gt;
&lt;p&gt;&lt;strong&gt;Offline Nature Quest &amp;amp; Sensory Walk Companion&lt;/strong&gt;&lt;br&gt;
&lt;em&gt;Built for Hacktoberfest 2026 Week 1: "Touch Grass" Challenge&lt;/em&gt;&lt;/p&gt;
&lt;/blockquote&gt;

&lt;div class="markdown-heading"&gt;
&lt;h2 class="heading-element"&gt;🍃 Why TrailSense AI?&lt;/h2&gt;
&lt;/div&gt;
&lt;p&gt;Modern developers and students spend 10+ hours a day staring at glowing screens. Even when we step outside, we often find ourselves mindlessly looking down at notifications, step counts, or social feeds.&lt;/p&gt;
&lt;p&gt;&lt;strong&gt;TrailSense AI&lt;/strong&gt; was built on a simple philosophy:&lt;/p&gt;
&lt;blockquote&gt;
&lt;p&gt;&lt;strong&gt;"Make your screen the shortest part of your day."&lt;/strong&gt;&lt;/p&gt;
&lt;/blockquote&gt;
&lt;p&gt;Spend &lt;strong&gt;30 seconds&lt;/strong&gt; on the screen to receive a sensory nature mission, pocket your phone, and let gentle audio chimes guide you through an immersive outdoor micro-quest.&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;Context-Aware Nature Quest Dispatcher:&lt;/strong&gt; Choose your environment (Campus Quad, Urban Park, Forest Trail, Neighborhood) and duration (15, 30, or 45 minutes).&lt;/li&gt;
&lt;li&gt;🧠 &lt;strong&gt;Powered by Google Gemma 2 (2B):&lt;/strong&gt; Uses local open-weight model inference via Ollama to generate creative observational challenges (leaf identification, soundscape listening, bark texture inspection).&lt;/li&gt;
&lt;li&gt;📴…&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/trailsense-ai" rel="noopener noreferrer"&gt;View on GitHub&lt;/a&gt;&lt;/div&gt;
&lt;/div&gt;


&lt;p&gt;🔗 &lt;strong&gt;GitHub Repository:&lt;/strong&gt; &lt;a href="https://github.com/ahanghosh77/trailsense-ai.git" rel="noopener noreferrer"&gt;https://github.com/ahanghosh77/trailsense-ai.git&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Tech Stack:&lt;/strong&gt; Semantic HTML5, Vanilla CSS3 (dark forest glassmorphism), Vanilla JavaScript, Web Audio API, and local Gemma 2 via Ollama with an offline heuristic botanical matrix.&lt;/p&gt;

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

&lt;ol&gt;
&lt;li&gt;&lt;p&gt;&lt;strong&gt;Google Gemma 2 (2B) Prompt Architecture:&lt;/strong&gt;&lt;br&gt;
I structured strict JSON-schema system prompts for Google's lightweight open-weight &lt;code&gt;gemma2:2b&lt;/code&gt; model running locally via Ollama. The model acts as a sensory naturalist, producing concrete, non-digital observational tasks that balance visual, acoustic, and tactile outdoor discovery.&lt;/p&gt;&lt;/li&gt;
&lt;li&gt;&lt;p&gt;&lt;strong&gt;Zero-Signal Offline Trail Architecture:&lt;/strong&gt;&lt;br&gt;
Because the best places to touch grass (deep woods, parks, trails) frequently lack cell signal, TrailSense combines local browser execution with local Ollama inference and a client-side botanical fallback matrix, ensuring 100% functionality without internet.&lt;/p&gt;&lt;/li&gt;
&lt;li&gt;&lt;p&gt;&lt;strong&gt;Screen Minimization:&lt;/strong&gt;&lt;br&gt;
Instead of prolonged screen interaction, all missions are concise and supported by gentle audio notifications.&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 essential for what TrailSense AI does:&lt;/p&gt;

&lt;ol&gt;
&lt;li&gt;
&lt;strong&gt;Trailside Independence:&lt;/strong&gt; Proprietary cloud APIs fail the moment you lose cellular connection on a hiking trail. Open-weight models like Google's Gemma 2 run directly on personal devices with zero internet access.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Privacy:&lt;/strong&gt; Location habits, daily walk routines, and personal nature reflections never leave your device.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Zero Cost:&lt;/strong&gt; Open-source AI eliminates monthly subscriptions and API paywalls for students, hikers, and outdoor communities.&lt;/li&gt;
&lt;/ol&gt;

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

&lt;p&gt;This project was architected and built pair-programming with &lt;strong&gt;Google Antigravity&lt;/strong&gt;, designing the local Gemma 2 prompt structure, the offline client-side botanical engine, and the Web Audio API pocket timer.&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; — TrailSense AI is built around Google's &lt;strong&gt;Gemma 2 (2B)&lt;/strong&gt; open-weight model via Ollama, generating offline sensory nature quests and outdoor mindfulness challenges that empower developers and students to disconnect from screens and touch grass with zero subscription costs.&lt;/li&gt;
&lt;/ul&gt;

</description>
      <category>devchallenge</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 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>
