<?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: G Surya Prakash</title>
    <description>The latest articles on DEV Community by G Surya Prakash (@gsuryap).</description>
    <link>https://dev.to/gsuryap</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%2F4095104%2F6e7a1e4a-5563-4b14-b7f2-ee991ca22ead.png</url>
      <title>DEV Community: G Surya Prakash</title>
      <link>https://dev.to/gsuryap</link>
    </image>
    <atom:link rel="self" type="application/rss+xml" href="https://dev.to/feed/gsuryap"/>
    <language>en</language>
    <item>
      <title>LazyDesk AI: Channeling Your Inner Sloth with Local Google Gemma 2</title>
      <dc:creator>G Surya Prakash</dc:creator>
      <pubDate>Wed, 21 Oct 2026 16:24:01 +0000</pubDate>
      <link>https://dev.to/gsuryap/lazydesk-ai-channeling-your-inner-sloth-with-local-google-gemma-2-45pi</link>
      <guid>https://dev.to/gsuryap/lazydesk-ai-channeling-your-inner-sloth-with-local-google-gemma-2-45pi</guid>
      <description>&lt;p&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;/p&gt;

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

&lt;p&gt;Rushing through repetitive, mundane computer chores is a waste of mental energy.&lt;/p&gt;

&lt;p&gt;For most developers, students, and knowledge workers, our &lt;strong&gt;Downloads&lt;/strong&gt; and &lt;strong&gt;Desktop&lt;/strong&gt; folders are digital wastelands:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;Months of unread PDF invoices, contracts, and study notes.&lt;/li&gt;
&lt;li&gt;Duplicated presentations and reports named &lt;code&gt;Annual_Report_Final (1).md&lt;/code&gt; wasting storage.&lt;/li&gt;
&lt;li&gt;Random screenshots and code snippets scattered across directories.&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;We know we should organize them, extract the action items, and clear out gigabytes of duplicates—but we keep putting it off.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;LazyDesk AI&lt;/strong&gt; rewards your inner sloth. It is a calm, local-first productivity assistant that does the computer chores you keep putting off:&lt;/p&gt;

&lt;ol&gt;
&lt;li&gt;
&lt;strong&gt;Intelligent Folder Sorting&lt;/strong&gt;: Scans messy directories in seconds and classifies files into dedicated categories (&lt;code&gt;Documents/&lt;/code&gt;, &lt;code&gt;Spreadsheets/&lt;/code&gt;, &lt;code&gt;Images/&lt;/code&gt;, &lt;code&gt;Code/&lt;/code&gt;, &lt;code&gt;Audio_Video/&lt;/code&gt;, &lt;code&gt;Archives/&lt;/code&gt;) with automatic collision protection (e.g. proposing &lt;code&gt;report_1.pdf&lt;/code&gt; instead of overwriting).&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Local Document Intelligence&lt;/strong&gt;: Uses &lt;strong&gt;Google Gemma 2 (2B)&lt;/strong&gt; running 100% on-device to digest multi-page documents, synthesize 2-sentence executive summaries, extract actionable to-do checklists, and detect upcoming calendar deadlines.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Cryptographic Duplicate Detection&lt;/strong&gt;: Uses two-phase &lt;strong&gt;SHA-256&lt;/strong&gt; checksum fingerprinting to detect exact identical copies, calculate reclaimable megabytes, and safely archive redundant copies without deleting the original.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Physical Disk Undo&lt;/strong&gt;: Every move, rename, and archival is recorded in an atomic SQLite WAL-mode log. Clicking &lt;strong&gt;Undo Move&lt;/strong&gt; physically restores the file on your hard drive back to its original location.&lt;/li&gt;
&lt;/ol&gt;




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

&lt;p&gt;LazyDesk AI features a warm editorial design inspired by modern typography and calm productivity:&lt;/p&gt;

&lt;h3&gt;
  
  
  Key Workspaces in Action:
&lt;/h3&gt;

&lt;ul&gt;
&lt;li&gt;
&lt;strong&gt;Minimalist Front Entrance&lt;/strong&gt;: A clean, centered welcome portal providing instant access to the workspace.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Overview Dashboard ("A little less to do.")&lt;/strong&gt;: An understated home view showing files scanned, pending organization suggestions, recoverable duplicate storage, and live Gemma engine latency (~5ms).&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;File Organizer&lt;/strong&gt;: Visual proposals with live filename search, category dropdown filters, collision warnings, and a safe &lt;strong&gt;Dry Run Preview&lt;/strong&gt; before moving any files.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Document Intelligence&lt;/strong&gt;: An editorial reader that presents Google Gemma 2's executive summaries, checkboxes, and milestone dates with a 1-click clipboard copy button.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Duplicate Detection&lt;/strong&gt;: Sets grouped by SHA-256 hash, highlighting the preserved original in soft green and redundant copies in a safe archival queue.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Activity History&lt;/strong&gt;: Complete audit trail with real filesystem &lt;code&gt;Undo Move&lt;/code&gt; action.&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;&lt;em&gt;(Full visual walkthrough and UI screenshots are available in the &lt;a href="https://github.com/GSuryaP/LazyDeskAI#project-demo-screenshots" rel="noopener noreferrer"&gt;GitHub Repository README&lt;/a&gt;.)&lt;/em&gt;&lt;/p&gt;




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

&lt;p&gt;The complete source code, test suite, and quickstart documentation are available on GitHub:&lt;/p&gt;


&lt;div class="ltag-github-readme-tag"&gt;
  &lt;div class="readme-overview"&gt;
    &lt;h2&gt;
      &lt;img src="https://assets.dev.to/assets/github-logo-5a155e1f9a670af7944dd5e12375bc76ed542ea80224905ecaf878b9157cdefc.svg" alt="GitHub logo"&gt;
      &lt;a href="https://github.com/GSuryaP" rel="noopener noreferrer"&gt;
        GSuryaP
      &lt;/a&gt; / &lt;a href="https://github.com/GSuryaP/LazyDeskAI" rel="noopener noreferrer"&gt;
        LazyDeskAI
      &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;LazyDesk AI&lt;/h1&gt;
&lt;/div&gt;
&lt;blockquote&gt;
&lt;p&gt;&lt;strong&gt;Your calm, local-first productivity assistant.&lt;/strong&gt;&lt;br&gt;
&lt;em&gt;Built with open-weight Google Gemma models for the Hacktoberfest 2026 DEV Challenge: Slow and Steady.&lt;/em&gt;&lt;/p&gt;
&lt;/blockquote&gt;
&lt;p&gt;&lt;a href="https://github.com/GSuryaP/LazyDeskAI/LICENSE" rel="noopener noreferrer"&gt;&lt;img src="https://camo.githubusercontent.com/115bc00e69d3ecf50da45f5f12345cb0bf9a75aa583302863458f54d92676a81/68747470733a2f2f696d672e736869656c64732e696f2f62616467652f4c6963656e73652d4d49542d3439364235302e737667" alt="License: MIT"&gt;&lt;/a&gt;
&lt;a href="https://www.python.org/" rel="nofollow noopener noreferrer"&gt;&lt;img src="https://camo.githubusercontent.com/9b4a25cc595d0084c6635f7781e7c4171488ec69d26ab60d9ae4afed43176905/68747470733a2f2f696d672e736869656c64732e696f2f62616467652f707974686f6e2d332e31302b2d3439364235302e737667" alt="Python 3.10+"&gt;&lt;/a&gt;
&lt;a href="https://ai.google.dev/gemma" rel="nofollow noopener noreferrer"&gt;&lt;img src="https://camo.githubusercontent.com/77e9853fdc8a3bc2448cd4d8c9bd8fc9bb2a85dec0b6dc370d6ca60b7fb9cb0c/68747470733a2f2f696d672e736869656c64732e696f2f62616467652f4c4c4d2d476f6f676c6525323047656d6d61253230322d4136433639412e737667" alt="Model: Google Gemma"&gt;&lt;/a&gt;
&lt;a href="https://dev.to/challenges" rel="nofollow"&gt;&lt;img src="https://camo.githubusercontent.com/5229bbdfd3324b7770924b3f468cf55622035327cb392ae08bd6e5b98415e16e/68747470733a2f2f696d672e736869656c64732e696f2f62616467652f4861636b746f626572666573742d5765656b253230332532304368616c6c656e67652d6f72616e67652e737667" alt="Hacktoberfest 2026"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;div class="markdown-heading"&gt;
&lt;h2 class="heading-element"&gt;The "Slow and Steady" Story&lt;/h2&gt;
&lt;/div&gt;
&lt;p&gt;Rushing through repetitive, mundane computer chores is a waste of mental energy. For most of us, our &lt;strong&gt;Downloads&lt;/strong&gt; and &lt;strong&gt;Desktop&lt;/strong&gt; folders are digital junk drawers overflowing with unread PDFs, duplicated invoices, untitled screenshots, and scattered spreadsheets.&lt;/p&gt;
&lt;p&gt;&lt;strong&gt;LazyDesk AI&lt;/strong&gt; rewards your inner sloth. Instead of spending hours manually sorting files and digging for action items:&lt;/p&gt;
&lt;ol&gt;
&lt;li&gt;One click scans your clutter.&lt;/li&gt;
&lt;li&gt;Local &lt;strong&gt;Google Gemma&lt;/strong&gt; open-weight models synthesize executive summaries and extract deadlines.&lt;/li&gt;
&lt;li&gt;Safe categorization proposals are generated with dry-run previews and collision detection.&lt;/li&gt;
&lt;li&gt;Cryptographic SHA-256 fingerprinting finds redundant copies to reclaim valuable gigabytes.&lt;/li&gt;
&lt;li&gt;Every single move has a physical disk &lt;strong&gt;Undo&lt;/strong&gt; button.&lt;/li&gt;
&lt;/ol&gt;
&lt;p&gt;&lt;strong&gt;Your files. Your machine. Zero cloud fees. Zero telemetry.&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;Warm Editorial Aesthetic&lt;/strong&gt;: Built with two bespoke, accessibility-tested themes
&lt;ul&gt;
&lt;li&gt;
&lt;strong&gt;Warm Paper (Light)&lt;/strong&gt;…&lt;/li&gt;
&lt;/ul&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/GSuryaP/LazyDeskAI" 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/GSuryaP/LazyDeskAI" rel="noopener noreferrer"&gt;https://github.com/GSuryaP/LazyDeskAI&lt;/a&gt;
&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;License&lt;/strong&gt;: MIT&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Tech Stack&lt;/strong&gt;: Python 3.10+, Streamlit, Google Gemma 2 (via Ollama), SQLite WAL, &lt;code&gt;pypdf&lt;/code&gt;, &lt;code&gt;pytest&lt;/code&gt;.&lt;/li&gt;
&lt;/ul&gt;




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

&lt;p&gt;LazyDesk AI is engineered with modular, production-grade Python components built around open-source AI:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;
&lt;strong&gt;Local Inference Engine (&lt;code&gt;core/llm_service.py&lt;/code&gt;)&lt;/strong&gt;: Connects directly to local &lt;strong&gt;Ollama&lt;/strong&gt; running &lt;strong&gt;Google Gemma 2 (2B)&lt;/strong&gt;. It formats structured extraction prompts requesting JSON responses for executive summaries, to-dos, and date strings, with resilient heuristic fallbacks to ensure offline operation never hangs.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Document Extraction Pipeline (&lt;code&gt;core/doc_intel.py&lt;/code&gt;)&lt;/strong&gt;: Extracts text from PDFs (&lt;code&gt;pypdf&lt;/code&gt;), Markdown, text notes, and code, calculating word counts, line counts, and metadata before querying Gemma. Results are cryptographically cached in SQLite so re-reading a file is instantaneous.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Cryptographic Deduplicator (&lt;code&gt;core/duplicates.py&lt;/code&gt;)&lt;/strong&gt;: Uses a two-stage filter: first clustering by exact byte size to eliminate 95% of unique files instantly, then computing full &lt;strong&gt;SHA-256&lt;/strong&gt; checksums on matching sizes to guarantee zero false positives.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Safe Organizer &amp;amp; Collision Engine (&lt;code&gt;core/organizer.py&lt;/code&gt;)&lt;/strong&gt;: Proposes clean folder routing. If a target file already exists, it calculates non-destructive incremental suffixes (e.g., &lt;code&gt;file_1.ext&lt;/code&gt;) and alerts the user.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Transactional Audit Log &amp;amp; Physical Undo (&lt;code&gt;core/history.py&lt;/code&gt; &amp;amp; &lt;code&gt;core/db.py&lt;/code&gt;)&lt;/strong&gt;: Backed by SQLite in &lt;strong&gt;WAL (Write-Ahead Logging)&lt;/strong&gt; mode. The &lt;code&gt;undo_operation&lt;/code&gt; function reverses moves on the actual file system, safely recreating parent folders if necessary.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Editorial Design System (&lt;code&gt;ui/styles.py&lt;/code&gt; &amp;amp; &lt;code&gt;ui/components.py&lt;/code&gt;)&lt;/strong&gt;: Custom theme-token system rendering a responsive Streamlit layout with persistent Light/Dark state across browser refreshes.&lt;/li&gt;
&lt;/ul&gt;




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

&lt;p&gt;The challenge prompt asks: &lt;em&gt;Does your open-based approach work better than a closed one? What did it make possible that a closed API wouldn't?&lt;/em&gt;&lt;/p&gt;

&lt;p&gt;For a personal desktop assistant, the answer is an emphatic &lt;strong&gt;yes&lt;/strong&gt;. Building this tool with a proprietary cloud API (such as OpenAI or Anthropic) would be a fundamentally flawed product decision. Here is why open innovation is mandatory:&lt;/p&gt;

&lt;h3&gt;
  
  
  1. Absolute Air-Gapped Privacy
&lt;/h3&gt;

&lt;p&gt;Your Desktop and Downloads folders contain your most private life: tax filings, bank statements, client NDAs, medical records, private keys, and personal photos.&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;
&lt;strong&gt;Closed Cloud API&lt;/strong&gt;: Uploading the full text of every downloaded PDF or contract to a third-party cloud server introduces immense security and compliance liabilities.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Open-Source Gemma 2&lt;/strong&gt;: Google Gemma runs 100% on your machine. &lt;strong&gt;Zero tokens ever leave your computer.&lt;/strong&gt; The application works flawlessly in airplane mode with no internet connection.&lt;/li&gt;
&lt;/ul&gt;

&lt;h3&gt;
  
  
  2. Zero Operating Cost
&lt;/h3&gt;

&lt;p&gt;Closed APIs charge per thousand tokens. Running document analysis and OCR across hundreds of messy multi-page documents would quickly burn through expensive credits.&lt;br&gt;
With open-weight Gemma running locally, organizing 10,000 files costs &lt;strong&gt;$0.00 forever&lt;/strong&gt;.&lt;/p&gt;

&lt;h3&gt;
  
  
  3. True Model Sovereignty
&lt;/h3&gt;

&lt;p&gt;Because LazyDesk AI interfaces with Ollama's open API standard, users have complete sovereignty. You can run lightweight &lt;code&gt;gemma2:2b&lt;/code&gt; on a thin laptop, scale up to &lt;code&gt;gemma2:9b&lt;/code&gt; or &lt;code&gt;gemma2:27b&lt;/code&gt; on a workstation, or plug in a specialized fine-tune without changing a single line of application code.&lt;/p&gt;




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

&lt;p&gt;How much effort does LazyDesk AI actually save?&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;
&lt;strong&gt;Before&lt;/strong&gt;: Spending 45 minutes every Friday clicking through a cluttered Downloads folder, manually dragging PDFs into folders, accidentally deleting duplicate invoices you might still need, and opening multi-page documents just to check if there was a deadline inside.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;After&lt;/strong&gt;: One click on &lt;strong&gt;"Scan Folder"&lt;/strong&gt;, one click on &lt;strong&gt;"Execute Moves"&lt;/strong&gt;, and you have a structured, tidy workspace. In seconds:

&lt;ul&gt;
&lt;li&gt;72 cluttered files sorted into categorized folders.&lt;/li&gt;
&lt;li&gt;Duplicate sets safely archived into &lt;code&gt;_Duplicates_Archive/&lt;/code&gt;, reclaiming disk space.&lt;/li&gt;
&lt;li&gt;Important deadlines and to-dos extracted onto your dashboard by Gemma 2.&lt;/li&gt;
&lt;li&gt;Any accidental move reversible via the &lt;strong&gt;Undo Move&lt;/strong&gt; button.&lt;/li&gt;
&lt;/ul&gt;
&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;&lt;strong&gt;Do the smart work once, and let local open-source AI handle the rest.&lt;/strong&gt;&lt;/p&gt;




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

&lt;ul&gt;
&lt;li&gt;
&lt;strong&gt;Primary Category&lt;/strong&gt;: &lt;strong&gt;Best Use of Gemma ($200 USD)&lt;/strong&gt;
&lt;em&gt;(LazyDesk AI uses Google's open-weight Gemma 2 model running locally on-device to power its document intelligence, executive summarization, action item extraction, and milestone date parsing with zero cloud latency and 100% air-gapped privacy).&lt;/em&gt;
&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Overall Challenge&lt;/strong&gt;: &lt;strong&gt;Week 3 Winner ($250 USD)&lt;/strong&gt;
&lt;/li&gt;
&lt;/ul&gt;




&lt;p&gt;&lt;em&gt;Built with Google Gemma 2, Streamlit, and Python for the Hacktoberfest 2026 DEV Challenge.&lt;/em&gt;&lt;/p&gt;

</description>
      <category>devchallenge</category>
      <category>hf26challenge</category>
      <category>gemma</category>
      <category>opensource</category>
    </item>
  </channel>
</rss>
