<?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: Nishant Gaurav</title>
    <description>The latest articles on DEV Community by Nishant Gaurav (@ng19nishant).</description>
    <link>https://dev.to/ng19nishant</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%2F4177928%2F4bdfaeea-d630-4bb8-b388-7edc699d1e09.png</url>
      <title>DEV Community: Nishant Gaurav</title>
      <link>https://dev.to/ng19nishant</link>
    </image>
    <atom:link rel="self" type="application/rss+xml" href="https://dev.to/feed/ng19nishant"/>
    <language>en</language>
    <item>
      <title>GitGhoul: The Haunted Codebase &amp; Zombie Code Exorcist with Google Gemma 2</title>
      <dc:creator>Nishant Gaurav</dc:creator>
      <pubDate>Wed, 28 Oct 2026 01:42:49 +0000</pubDate>
      <link>https://dev.to/ng19nishant/gitghoul-the-haunted-codebase-zombie-code-exorcist-with-google-gemma-2-1dne</link>
      <guid>https://dev.to/ng19nishant/gitghoul-the-haunted-codebase-zombie-code-exorcist-with-google-gemma-2-1dne</guid>
      <description>&lt;p&gt;&lt;em&gt;This is a submission for the &lt;a href="https://dev.to/challenges/hacktoberfest-week-4"&gt;Hacktoberfest Open-Source AI Challenge: Week 4&lt;/a&gt;&lt;/em&gt;&lt;/p&gt;

&lt;h2&gt;
  
  
  🕷️ What I Built: GitGhoul
&lt;/h2&gt;

&lt;p&gt;Every long-lived codebase harbors restless spirits:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;🧟 &lt;strong&gt;Zombie Code&lt;/strong&gt;: Dead functions, obsolete endpoints, and unreachable returns lingering after rushed merges.&lt;/li&gt;
&lt;li&gt;⚰️ &lt;strong&gt;Comment-Cloth Corpses&lt;/strong&gt;: Old implementations commented out instead of deleted because developers fear losing history.&lt;/li&gt;
&lt;li&gt;🕯️ &lt;strong&gt;Spectral TODOs&lt;/strong&gt;: Ancient comments from 2021 like &lt;code&gt;// TODO: Temporary patch until next sprint&lt;/code&gt; that haunt PRs for years.&lt;/li&gt;
&lt;li&gt;🌀 &lt;strong&gt;Cursed Complexity&lt;/strong&gt;: Deep callback abysses and spaghetti logic where execution paths lose their way.&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;Standard static analysis tools output sterile, robotic warning tables that developers ignore. &lt;/p&gt;

&lt;p&gt;&lt;strong&gt;GitGhoul&lt;/strong&gt; turns technical debt into an engaging Halloween ritual:&lt;/p&gt;

&lt;ol&gt;
&lt;li&gt;
&lt;strong&gt;Interactive Graveyard UI&lt;/strong&gt;: Visualizes your codebase as an atmospheric cemetery where files are plotted as weathered tombstones and possession severity scores.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Heuristic Ghoul Detection&lt;/strong&gt;: Scans code for dead branches, post-return statements, embalmed commented functions, and ancient TODO markers.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Local AI Exorcisms powered by Google Gemma 2&lt;/strong&gt;: Conducts an on-device exorcism using Google's open-weight &lt;strong&gt;Gemma 2&lt;/strong&gt; (via Ollama). Gemma purifies the code, writes a witty, spooky &lt;em&gt;Repose Blessing&lt;/em&gt; in the spirit of Día de los Muertos, and produces a clean, production-ready unified &lt;code&gt;git diff&lt;/code&gt; ready for pull requests.&lt;/li&gt;
&lt;/ol&gt;




&lt;h2&gt;
  
  
  🔒 Why Open Innovation Matters
&lt;/h2&gt;

&lt;p&gt;The Hacktoberfest prompt asks: &lt;em&gt;Why does open innovation matter for what you built?&lt;/em&gt;&lt;/p&gt;

&lt;p&gt;For source code analysis and automated refactoring, &lt;strong&gt;open-weight, on-device AI is essential&lt;/strong&gt;:&lt;/p&gt;

&lt;ol&gt;
&lt;li&gt;
&lt;strong&gt;Total Code Sovereignty &amp;amp; Privacy&lt;/strong&gt;: Source code contains company secrets, proprietary business logic, unreleased algorithms, and API patterns. Uploading company codebases to third-party commercial cloud AI APIs creates unacceptable IP and compliance risks. With &lt;strong&gt;Gemma 2 running 100% locally via Ollama&lt;/strong&gt;, no proprietary code ever leaves your machine.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Runs in the Dark (Completely Offline)&lt;/strong&gt;: GitGhoul operates with the lights (and the Wi-Fi) off. Whether working on an air-gapped internal server or hacking on a train, the exorcist never drops connection.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Zero Token Taxes on Large Refactors&lt;/strong&gt;: Running static analysis and refactoring across thousands of lines of code would rack up costly token bills on closed cloud APIs. Open-weight models cost $0 in ongoing API fees.&lt;/li&gt;
&lt;/ol&gt;




&lt;h2&gt;
  
  
  📸 Screenshots &amp;amp; Live UI
&lt;/h2&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%2Fraw.githubusercontent.com%2FImbiber%2Fgit-ghoul%2Fmain%2Fpublic%2Fscreenshots%2Fgitghoul_dashboard.png" 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%2Fraw.githubusercontent.com%2FImbiber%2Fgit-ghoul%2Fmain%2Fpublic%2Fscreenshots%2Fgitghoul_dashboard.png" alt="GitGhoul Cemetery Dashboard" width="800" height="400"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;&lt;em&gt;GitGhoul visualizing haunted files as tombstones, displaying spectral laments, and banishing code spirits with Google Gemma 2.&lt;/em&gt;&lt;/p&gt;




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

&lt;ul&gt;
&lt;li&gt;
&lt;strong&gt;Frontend &amp;amp; App Architecture&lt;/strong&gt;: Built on &lt;strong&gt;Next.js 16 (App Router + Turbopack)&lt;/strong&gt; with TypeScript and Tailwind CSS.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Open-Source AI Engine&lt;/strong&gt;: &lt;strong&gt;Google Gemma 2&lt;/strong&gt; (&lt;code&gt;gemma2:9.2B&lt;/code&gt;) served locally through &lt;strong&gt;Ollama&lt;/strong&gt; (&lt;code&gt;http://localhost:11434&lt;/code&gt;), constrained with structured JSON outputs.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Scanner Pipeline&lt;/strong&gt;: Custom TypeScript AST and heuristic regex analyzer identifying dead branches, orphaned comments, and ancient TODOs.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Gothic Retro Theme&lt;/strong&gt;: Pixel-accented dark palette, atmospheric grave markers, and celebratory confetti upon completing exorcisms.&lt;/li&gt;
&lt;/ul&gt;




&lt;h2&gt;
  
  
  💻 Code Repository
&lt;/h2&gt;

&lt;ul&gt;
&lt;li&gt;
&lt;strong&gt;GitHub Repository&lt;/strong&gt;: &lt;a href="https://github.com/Imbiber/git-ghoul" rel="noopener noreferrer"&gt;https://github.com/Imbiber/git-ghoul&lt;/a&gt;
&lt;/li&gt;
&lt;/ul&gt;




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

&lt;ul&gt;
&lt;li&gt;
&lt;strong&gt;Ghost in the Machine (Hacktoberfest Week 4 Overall Theme)&lt;/strong&gt;: Directly embodies the theme by turning developer technical debt and dead code into an interactive graveyard ritual and digital Día de los Muertos remembrance.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Best Use of Gemma ($200)&lt;/strong&gt;: Employs Google's open-weight Gemma 2 locally via Ollama for zero-cost, privacy-first code refactoring and diff generation.&lt;/li&gt;
&lt;/ul&gt;

</description>
      <category>devchallenge</category>
      <category>hf26challenge</category>
      <category>gemma</category>
      <category>opensource</category>
    </item>
    <item>
      <title>SlothSort: The Zero-Effort Clutter Tidier for International Sloth Day</title>
      <dc:creator>Nishant Gaurav</dc:creator>
      <pubDate>Thu, 22 Oct 2026 05:20:39 +0000</pubDate>
      <link>https://dev.to/ng19nishant/slothsort-the-zero-effort-clutter-tidier-for-international-sloth-day-4842</link>
      <guid>https://dev.to/ng19nishant/slothsort-the-zero-effort-clutter-tidier-for-international-sloth-day-4842</guid>
      <description>&lt;p&gt;&lt;em&gt;This is a submission for the &lt;a href="https://dev.to/challenges/hacktoberfest-week-3"&gt;Hacktoberfest Open-Source AI Challenge: Week 3&lt;/a&gt;&lt;/em&gt;&lt;/p&gt;

&lt;h2&gt;
  
  
  🦥 What I Built: SlothSort
&lt;/h2&gt;

&lt;p&gt;Tomorrow is &lt;strong&gt;International Sloth Day&lt;/strong&gt;, and sloths have life figured out: move at your own pace, conserve energy, and let automation do the tedious heavy lifting so you don't have to.&lt;/p&gt;

&lt;p&gt;Every developer and knowledge worker knows the dread of opening their &lt;code&gt;~/Downloads&lt;/code&gt; or &lt;code&gt;Desktop&lt;/code&gt; folder: a terrifying graveyard of chaotic filenames:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;&lt;code&gt;Screen Shot 2026-10-21 at 11.45.12 PM.png&lt;/code&gt;&lt;/li&gt;
&lt;li&gt;&lt;code&gt;final_pitch_deck_v3_revised_FINAL2.pptx&lt;/code&gt;&lt;/li&gt;
&lt;li&gt;&lt;code&gt;Receipt_Uber_Eats_Oct14.pdf&lt;/code&gt;&lt;/li&gt;
&lt;li&gt;&lt;code&gt;IMG_20261019_142311.jpg&lt;/code&gt;&lt;/li&gt;
&lt;li&gt;&lt;code&gt;contract_nda_mutual_signable_oct.pdf&lt;/code&gt;&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;Cleaning this manually takes endless clicking, dragging, and cognitive fatigue. &lt;/p&gt;

&lt;p&gt;&lt;strong&gt;SlothSort&lt;/strong&gt; is a zero-effort desktop and download tidier that channels your inner sloth:&lt;/p&gt;

&lt;ol&gt;
&lt;li&gt;
&lt;strong&gt;Drop or Paste Clutter&lt;/strong&gt;: Toss in messy filenames, downloads, or unorganized project files.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Local Gemma 2 Semantic Intelligence&lt;/strong&gt;: Google's open-weight &lt;strong&gt;Gemma 2&lt;/strong&gt; (running 100% locally via Ollama) inspects context, categorizes files, and renames them to clean, consistent, ISO/semantic standards (e.g., &lt;code&gt;2026-10_Invoice_AcmeCorp.pdf&lt;/code&gt;).&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Lazy Voice Debrief with ElevenLabs&lt;/strong&gt;: Listen to a soothing, witty sloth audio debrief celebrating how much effort you saved today.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;1-Click Execution Script&lt;/strong&gt;: Provides an auto-generated bash script (&lt;code&gt;organize.sh&lt;/code&gt;) so you can execute the sorting on your machine in one terminal command.&lt;/li&gt;
&lt;/ol&gt;




&lt;h2&gt;
  
  
  🎥 Video Demo &amp;amp; Walkthrough
&lt;/h2&gt;

&lt;p&gt;  &lt;iframe src="https://www.youtube.com/embed/TANmvRYIfnw" width="710" height="399"&gt;
  &lt;/iframe&gt;
&lt;/p&gt;

&lt;p&gt;▶️ Watch the full walkthrough on YouTube: &lt;a href="https://youtu.be/TANmvRYIfnw" rel="noopener noreferrer"&gt;https://youtu.be/TANmvRYIfnw&lt;/a&gt;&lt;/p&gt;




&lt;h2&gt;
  
  
  📸 Screenshots
&lt;/h2&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%2Fdev-to-uploads.s3.us-east-2.amazonaws.com%2Fuploads%2Farticles%2F6iycf8t2k3xbya8jfe96.png" 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%2Fdev-to-uploads.s3.us-east-2.amazonaws.com%2Fuploads%2Farticles%2F6iycf8t2k3xbya8jfe96.png" alt="SlothSort UI in Action - Gemma 2 &amp;amp; ElevenLabs" width="800" height="461"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;&lt;em&gt;SlothSort running 100% on-device with Gemma 2 sorting queue, ElevenLabs voice debrief player, and 1-click terminal execution script.&lt;/em&gt;&lt;/p&gt;




&lt;h2&gt;
  
  
  🔒 Why Open Innovation Matters
&lt;/h2&gt;

&lt;p&gt;The Hacktoberfest prompt asks: &lt;em&gt;Why does open innovation matter for what you built?&lt;/em&gt;&lt;/p&gt;

&lt;p&gt;For personal file management, &lt;strong&gt;open-weight, on-device AI is not just a nice-to-have; it's a non-negotiable requirement&lt;/strong&gt;:&lt;/p&gt;

&lt;ol&gt;
&lt;li&gt;
&lt;strong&gt;Absolute Privacy on Sensitive Files&lt;/strong&gt;: Desktop clutter is full of private data — bank statements, unreleased source code, medical invoices, passwords, and client NDAs. Sending this metadata to commercial cloud LLMs creates catastrophic privacy risks. With &lt;strong&gt;Gemma 2 running locally via Ollama&lt;/strong&gt;, zero bytes ever leave your laptop.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;$0 API Costs Forever&lt;/strong&gt;: Commercial cloud LLM tokens add up quickly when organizing hundreds of files. With open-weight models, you set it up once and clean your folders an unlimited number of times for free.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Offline Resilience&lt;/strong&gt;: Whether you're on a long flight without Wi-Fi or working in a remote cabin, your sloth organizer works completely offline.&lt;/li&gt;
&lt;/ol&gt;




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

&lt;ul&gt;
&lt;li&gt;
&lt;strong&gt;Framework&lt;/strong&gt;: Next.js 16 (Turbopack, App Router) with Tailwind CSS and TypeScript.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Open-Source AI Core&lt;/strong&gt;: &lt;strong&gt;Google Gemma 2&lt;/strong&gt; (&lt;code&gt;gemma2:9.2B&lt;/code&gt;) served locally through &lt;strong&gt;Ollama&lt;/strong&gt; (&lt;code&gt;http://localhost:11434&lt;/code&gt;), producing structured JSON categorization plans.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Voice AI&lt;/strong&gt;: &lt;strong&gt;ElevenLabs Multilingual v2&lt;/strong&gt; generating soothing, sloth-themed audio debriefs.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Automation Pipeline&lt;/strong&gt;: Client-side interactive dashboard + auto-generated Bash script builder.&lt;/li&gt;
&lt;/ul&gt;




&lt;h2&gt;
  
  
  💻 Code Repository
&lt;/h2&gt;

&lt;ul&gt;
&lt;li&gt;
&lt;strong&gt;GitHub Repository&lt;/strong&gt;: &lt;a href="https://github.com/Imbiber/sloth-sort" rel="noopener noreferrer"&gt;https://github.com/Imbiber/sloth-sort&lt;/a&gt;
&lt;/li&gt;
&lt;/ul&gt;




&lt;h2&gt;
  
  
  🤖 Development Session
&lt;/h2&gt;

&lt;p&gt;Show your work: I built this project with AI agent pairing. You can view the agent session transcript here:&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;Building SlothSort for HF26 Week 3&lt;/span&gt;
      &lt;span class="agent-session-model-badge"&gt;Gemma 2 (Ollama)&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;User initiated Hacktoberfest Open-Source AI Challenge: Week 3 'Slow and Steady' build. We architected SlothSort: a zero-effort local file organizer using Google Gemma 2 (Ollama) and ElevenLabs voice AI.&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;Built complete Next.js app with full local Gemma 2 classification, automatic semantic renaming, lazy time calculation, 1-click bash automation, and ElevenLabs voice debriefing.&lt;/p&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;h2&gt;
  
  
  🏆 Prize Categories
&lt;/h2&gt;

&lt;ul&gt;
&lt;li&gt;
&lt;strong&gt;Best Use of Gemma ($200)&lt;/strong&gt;: Local inference using Google's open-weight Gemma 2 model via Ollama to intelligently classify, semantically rename, and compute lazy metrics for messy desktop clutter without external cloud APIs.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Best Use of ElevenLabs ($100)&lt;/strong&gt;: Integrated ElevenLabs Multilingual v2 to generate soothing, witty voice debriefs celebrating sloth-level productivity.&lt;/li&gt;
&lt;/ul&gt;

</description>
      <category>devchallenge</category>
      <category>hf26challenge</category>
      <category>gemma</category>
      <category>ai</category>
    </item>
    <item>
      <title>From Raw Notes to First Sale: The Complete Guide to Building a Privacy-First E-Commerce AI Copywriter with Google Gemma 2 &amp; ElevenLabs</title>
      <dc:creator>Nishant Gaurav</dc:creator>
      <pubDate>Thu, 15 Oct 2026 22:06:37 +0000</pubDate>
      <link>https://dev.to/ng19nishant/from-raw-notes-to-first-sale-the-complete-guide-to-building-a-privacy-first-e-commerce-ai-41o6</link>
      <guid>https://dev.to/ng19nishant/from-raw-notes-to-first-sale-the-complete-guide-to-building-a-privacy-first-e-commerce-ai-41o6</guid>
      <description>&lt;h1&gt;
  
  
  From Raw Notes to First Sale: The Complete Guide to Building a Privacy-First E-Commerce AI Copywriter with Google Gemma 2 &amp;amp; ElevenLabs
&lt;/h1&gt;

&lt;p&gt;&lt;em&gt;Submitted for the **Hacktoberfest Open-Source AI Challenge: Week 2 — Side Hustle&lt;/em&gt;&lt;em&gt;.&lt;/em&gt;&lt;/p&gt;




&lt;h2&gt;
  
  
  💡 The Problem: The Copywriting Chokehold on Solo Side Hustlers
&lt;/h2&gt;

&lt;p&gt;If you run an e-commerce side hustle—selling vintage decor, handcrafted leather goods, custom mechanical keyboards, or 3D-printed workshop tools—you know the feeling: &lt;strong&gt;creating the item is the fun part. Writing listings for multiple marketplaces is painful.&lt;/strong&gt;&lt;/p&gt;

&lt;p&gt;Each marketplace speaks its own dialect:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;🌿 &lt;strong&gt;Etsy&lt;/strong&gt; expects sensory, artisanal storytelling, tactile material descriptions, and long-tail comma-separated search tags.&lt;/li&gt;
&lt;li&gt;📦 &lt;strong&gt;Amazon&lt;/strong&gt; demands punchy, keyword-dense bullet points with zero filler.&lt;/li&gt;
&lt;li&gt;🏷️ &lt;strong&gt;eBay&lt;/strong&gt; demands condition grading clarity, straight-to-the-point specs, and reassuring return/shipping guarantees.
&lt;/li&gt;
&lt;/ul&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight plaintext"&gt;&lt;code&gt;┌─────────────────┐       ┌────────────────────────────────────────────────────────┐
│  Raw Item Notes │  ──►  │ How do I write 3 different formats for Etsy, Amazon,   │
│  "Leather card  │       │ &amp;amp; eBay without paying $30/mo or giving up my catalog?  │
│   holder wallet"│       └────────────────────────────────────────────────────────┘
└─────────────────┘
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;

&lt;h3&gt;
  
  
  Why Existing Cloud Solutions Fail Side-Hustlers
&lt;/h3&gt;

&lt;ol&gt;
&lt;li&gt;
&lt;strong&gt;The Subscription Tax&lt;/strong&gt;: $20–$50/month per-seat fees or unpredictable OpenAI API token bills eat away at thin profit margins on $15–$30 items.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Catalog Privacy &amp;amp; Leakage&lt;/strong&gt;: Side-hustlers often draft listings weeks before a collection drop. Unreleased designs, wholesale margins, and proprietary supplier details get fed into commercial cloud LLMs.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;The "Silent Copy" Trap&lt;/strong&gt;: When writing copy silently in your head, awkward phrasing slips through. You only discover your listing sounds stiff and robotic after a buyer ignores it.&lt;/li&gt;
&lt;/ol&gt;

&lt;p&gt;&lt;strong&gt;ListingGenius&lt;/strong&gt; was built to solve all three issues:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;Runs &lt;strong&gt;100% locally&lt;/strong&gt; using &lt;strong&gt;Google's Gemma 2&lt;/strong&gt; via Ollama: &lt;strong&gt;$0.00 in API costs&lt;/strong&gt;, total privacy, and full offline capability.&lt;/li&gt;
&lt;li&gt;Features &lt;strong&gt;instant voice auditions&lt;/strong&gt; via &lt;strong&gt;ElevenLabs Multilingual v2&lt;/strong&gt;: Hear how your listing sounds to a real shopper before publishing, or export the MP3 audio directly for &lt;strong&gt;TikTok Shop, Reels, and Amazon Video&lt;/strong&gt; listings.&lt;/li&gt;
&lt;/ul&gt;


&lt;h2&gt;
  
  
  🎥 Video Demo &amp;amp; Walkthrough
&lt;/h2&gt;

&lt;p&gt;Watch ListingGenius in action generating listings with Google Gemma 2 and auditioning voice with ElevenLabs:&lt;/p&gt;

&lt;p&gt;  &lt;iframe src="https://www.youtube.com/embed/yHkvyK9Pdlw" width="710" height="399"&gt;
  &lt;/iframe&gt;
&lt;/p&gt;


&lt;h2&gt;
  
  
  📸 The Application: Live Walkthrough
&lt;/h2&gt;

&lt;p&gt;Here is the live generator in action showing the new marketplace card selector and generated listing output:&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%2Fdev-to-uploads.s3.us-east-2.amazonaws.com%2Fuploads%2Farticles%2F15711327c0fo1btyqr3d.png" 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%2Fdev-to-uploads.s3.us-east-2.amazonaws.com%2Fuploads%2Farticles%2F15711327c0fo1btyqr3d.png" alt="ListingGenius Live Demo" width="799" height="529"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;
&lt;strong&gt;Source Code&lt;/strong&gt;: &lt;a href="https://github.com/Imbiber/listing-genius" rel="noopener noreferrer"&gt;https://github.com/Imbiber/listing-genius&lt;/a&gt;
&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Interactive Agent Session&lt;/strong&gt;: &lt;a href="https://dev.to/agent_sessions/building-listinggenius-privacy-first-ai-listing-generator-with-gemma-2-elevenlabs-ehfj8r"&gt;Building ListingGenius on DEV&lt;/a&gt;
&lt;/li&gt;
&lt;/ul&gt;


&lt;h2&gt;
  
  
  🛠️ Step-by-Step Walkthrough: How It Works
&lt;/h2&gt;
&lt;h3&gt;
  
  
  Step 1: Platform Selection &amp;amp; Raw Bullet Input
&lt;/h3&gt;

&lt;p&gt;Instead of struggling over sentence structure, sellers select their target marketplace (&lt;strong&gt;Etsy&lt;/strong&gt;, &lt;strong&gt;eBay&lt;/strong&gt;, or &lt;strong&gt;Amazon&lt;/strong&gt;) and paste raw bullet points or photos:&lt;br&gt;
&lt;/p&gt;
&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight plaintext"&gt;&lt;code&gt;Product: Minimalist front pocket cardholder wallet
Material: Full grain Italian vegetable-tanned leather
Capacity: Holds 8 cards + cash slot
Features: Hand-stitched with waxed linen thread, RFID blocking layer
Who it's for: Everyday carry enthusiasts, minimalist gift idea
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;h3&gt;
  
  
  Step 2: Local Gemma 2 Inference ($0 Cost &amp;amp; Instant JSON)
&lt;/h3&gt;

&lt;p&gt;When the user clicks &lt;strong&gt;"✨ Generate Listing"&lt;/strong&gt;, the request hits the local Ollama instance running Google's &lt;code&gt;gemma2:latest&lt;/code&gt;.&lt;/p&gt;

&lt;p&gt;Gemma 2 evaluates the marketplace prompt template and returns structured JSON containing:&lt;/p&gt;

&lt;ol&gt;
&lt;li&gt;
&lt;strong&gt;Title&lt;/strong&gt;: Search-ranked and formatted to character limits.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Description&lt;/strong&gt;: Polished body copy tailored for the selected audience.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Tags&lt;/strong&gt;: High-volume marketplace search tags.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Call to Action&lt;/strong&gt;: Direct closing pitch to drive immediate checkouts.&lt;/li&gt;
&lt;/ol&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%2Fdev-to-uploads.s3.us-east-2.amazonaws.com%2Fuploads%2Farticles%2Ffdscik0lsxs9qh6qedl5.png" 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%2Fdev-to-uploads.s3.us-east-2.amazonaws.com%2Fuploads%2Farticles%2Ffdscik0lsxs9qh6qedl5.png" alt="ListingGenius Generated Output" width="800" height="577"&gt;&lt;/a&gt;&lt;/p&gt;


&lt;h3&gt;
  
  
  Step 3: Audio Auditioning with ElevenLabs
&lt;/h3&gt;

&lt;p&gt;Once generated, the seller clicks &lt;strong&gt;"Read Aloud"&lt;/strong&gt;.&lt;/p&gt;

&lt;p&gt;ListingGenius calls ElevenLabs' &lt;code&gt;eleven_multilingual_v2&lt;/code&gt; model with natural speech synthesis:&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%2Fdev-to-uploads.s3.us-east-2.amazonaws.com%2Fuploads%2Farticles%2F2v0mpqqope8rqmurjznt.png" 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%2Fdev-to-uploads.s3.us-east-2.amazonaws.com%2Fuploads%2Farticles%2F2v0mpqqope8rqmurjznt.png" alt="ElevenLabs Audio Audition Engine" width="799" height="316"&gt;&lt;/a&gt;&lt;/p&gt;
&lt;h4&gt;
  
  
  Why This Changes the Game:
&lt;/h4&gt;

&lt;ul&gt;
&lt;li&gt;
&lt;strong&gt;Catches awkward cadence&lt;/strong&gt;: When spoken aloud, run-on sentences and robotic marketing buzzwords immediately stand out.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Multichannel Video Commerce&lt;/strong&gt;: Sellers can export the audio file with one click and overlay it on product video shorts for &lt;strong&gt;TikTok Shop, Pinterest Idea Pins, or Instagram Reels&lt;/strong&gt;—turning text into a voiceover video ad in 30 seconds.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Accessibility&lt;/strong&gt;: Provides immediate audio descriptions for visually impaired buyers.&lt;/li&gt;
&lt;/ul&gt;


&lt;h2&gt;
  
  
  🏛️ Local Architecture: How We Built It
&lt;/h2&gt;


&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight plaintext"&gt;&lt;code&gt;┌──────────────────────────────────────────────────────────────────┐
│                   Next.js 16 (App Router &amp;amp; Turbopack)            │
│   • Marketplace Switcher (Etsy / Amazon / eBay)                  │
│   • Form Input &amp;amp; One-Click Copy System                           │
│   • Audio Waveform &amp;amp; MP3 Streamer                                │
└─────────────────────────────────┬────────────────────────────────┘
                                  │
                  ┌───────────────┴───────────────┐
                  ▼                               ▼
  ┌──────────────────────────────┐┌──────────────────────────────┐
  │      Google Gemma 2          ││    ElevenLabs TTS Engine     │
  │  (Local Ollama Inference)    ││   (eleven_multilingual_v2)   │
  │                              ││                              │
  │ • Runs on localhost:11434    ││ • Lifelike voice synthesis   │
  │ • Zero API Token Bills       ││ • Audio auditioning          │
  │ • 100% Private &amp;amp; Offline     ││ • TikTok/Reels exportable    │
  │ • Structured JSON Schema     ││ • Natural phrasing validator │
  └──────────────────────────────┘└──────────────────────────────┘
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;

&lt;h3&gt;
  
  
  The Prompt Architecture
&lt;/h3&gt;

&lt;p&gt;To ensure Gemma 2 produces predictable, production-ready listings, we constructed platform-tailored system instructions that constrain output to verified JSON schemas:&lt;br&gt;
&lt;/p&gt;
&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight typescript"&gt;&lt;code&gt;&lt;span class="c1"&gt;// lib/prompts.ts&lt;/span&gt;
&lt;span class="k"&gt;export&lt;/span&gt; &lt;span class="kd"&gt;function&lt;/span&gt; &lt;span class="nf"&gt;getPlatformPrompt&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="nx"&gt;platform&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt; &lt;span class="nx"&gt;Platform&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt; &lt;span class="nx"&gt;notes&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt; &lt;span class="kr"&gt;string&lt;/span&gt;&lt;span class="p"&gt;)&lt;/span&gt; &lt;span class="p"&gt;{&lt;/span&gt;
  &lt;span class="kd"&gt;const&lt;/span&gt; &lt;span class="nx"&gt;constraints&lt;/span&gt; &lt;span class="o"&gt;=&lt;/span&gt; &lt;span class="p"&gt;{&lt;/span&gt;
    &lt;span class="na"&gt;etsy&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt; &lt;span class="dl"&gt;"&lt;/span&gt;&lt;span class="s2"&gt;Craft an emotional, artisanal narrative. Emphasize craftsmanship and materials. Provide 13 search tags.&lt;/span&gt;&lt;span class="dl"&gt;"&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt;
    &lt;span class="na"&gt;amazon&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt; &lt;span class="dl"&gt;"&lt;/span&gt;&lt;span class="s2"&gt;Create 5 structured bullet points highlighting benefits, dimensions, and materials. Include high-intent SEO keywords.&lt;/span&gt;&lt;span class="dl"&gt;"&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt;
    &lt;span class="na"&gt;ebay&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt; &lt;span class="dl"&gt;"&lt;/span&gt;&lt;span class="s2"&gt;Prioritize clear condition grading, precise technical specs, and reassuring buyer policies (shipping/returns).&lt;/span&gt;&lt;span class="dl"&gt;"&lt;/span&gt;
  &lt;span class="p"&gt;};&lt;/span&gt;

  &lt;span class="k"&gt;return&lt;/span&gt; &lt;span class="p"&gt;{&lt;/span&gt;
    &lt;span class="na"&gt;system&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt; &lt;span class="s2"&gt;`You are an elite e-commerce copywriter. Output MUST be valid JSON with keys: title, description, tags, callToAction.`&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt;
    &lt;span class="na"&gt;user&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt; &lt;span class="s2"&gt;`Target Platform: &lt;/span&gt;&lt;span class="p"&gt;${&lt;/span&gt;&lt;span class="nx"&gt;platform&lt;/span&gt;&lt;span class="p"&gt;}&lt;/span&gt;&lt;span class="s2"&gt;. Specifications: &lt;/span&gt;&lt;span class="p"&gt;${&lt;/span&gt;&lt;span class="nx"&gt;constraints&lt;/span&gt;&lt;span class="p"&gt;[&lt;/span&gt;&lt;span class="nx"&gt;platform&lt;/span&gt;&lt;span class="p"&gt;]}&lt;/span&gt;&lt;span class="s2"&gt;. Product Notes: &lt;/span&gt;&lt;span class="p"&gt;${&lt;/span&gt;&lt;span class="nx"&gt;notes&lt;/span&gt;&lt;span class="p"&gt;}&lt;/span&gt;&lt;span class="s2"&gt;`&lt;/span&gt;
  &lt;span class="p"&gt;};&lt;/span&gt;
&lt;span class="p"&gt;}&lt;/span&gt;
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;h2&gt;
  
  
  ⚡ Quickstart: Run It Locally in 3 Steps
&lt;/h2&gt;

&lt;p&gt;Want to run ListingGenius on your laptop for your own products?&lt;/p&gt;
&lt;h3&gt;
  
  
  1. Install Ollama and Pull Gemma 2
&lt;/h3&gt;


&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight shell"&gt;&lt;code&gt;&lt;span class="c"&gt;# Install Ollama&lt;/span&gt;
curl &lt;span class="nt"&gt;-fsSL&lt;/span&gt; https://ollama.com/install.sh | sh

&lt;span class="c"&gt;# Pull Google's open-weight model (5.4 GB)&lt;/span&gt;
ollama pull gemma2
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;

&lt;h3&gt;
  
  
  2. Clone the Repository &amp;amp; Install Dependencies
&lt;/h3&gt;


&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight shell"&gt;&lt;code&gt;git clone https://github.com/Imbiber/listing-genius.git
&lt;span class="nb"&gt;cd &lt;/span&gt;listing-genius
npm &lt;span class="nb"&gt;install&lt;/span&gt;
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;

&lt;h3&gt;
  
  
  3. Add Keys &amp;amp; Start
&lt;/h3&gt;

&lt;p&gt;Create &lt;code&gt;.env.local&lt;/code&gt;:&lt;br&gt;
&lt;/p&gt;
&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight plaintext"&gt;&lt;code&gt;ELEVENLABS_API_KEY=your_key_here
OLLAMA_BASE_URL=http://localhost:11434
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;


&lt;p&gt;Start development server:&lt;br&gt;
&lt;/p&gt;
&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight shell"&gt;&lt;code&gt;npm run dev
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;


&lt;p&gt;Open &lt;code&gt;http://localhost:3000&lt;/code&gt; and start generating!&lt;/p&gt;


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

&lt;ul&gt;
&lt;li&gt;
&lt;strong&gt;Theme: Side Hustle (Hacktoberfest Week 2)&lt;/strong&gt;: Solves the copywriting bottleneck for micro-sellers with local AI.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Best Use of Gemma ($200)&lt;/strong&gt;: Runs Google Gemma 2 locally for zero-token-cost, private inference.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Best Use of ElevenLabs ($100)&lt;/strong&gt;: Employs &lt;code&gt;eleven_multilingual_v2&lt;/code&gt; for voice auditioning and video listing voiceovers.&lt;/li&gt;
&lt;/ul&gt;


&lt;h2&gt;
  
  
  🤖 The Agent Session: Show Your Work
&lt;/h2&gt;

&lt;p&gt;ListingGenius was planned, built, and debugged collaboratively using an AI coding agent. We configured local Ollama fallback pipelines, fixed deprecated ElevenLabs model endpoints, and styled the UI.&lt;/p&gt;

&lt;p&gt;You can inspect the entire prompt history, tool calls, and code diffs in the interactive transcript on DEV:&lt;/p&gt;


&lt;div class="crayons-card my-2 p-4"&gt;
  &lt;p class="color-base-60"&gt;Post not found or has been removed.&lt;/p&gt;
&lt;/div&gt;






&lt;h2&gt;
  
  
  💬 Community Feedback
&lt;/h2&gt;

&lt;p&gt;Are you a maker, vintage curator, or digital seller? What marketplace formats would you like added next (Shopify, Depop, Poshmark)? Let me know in the comments below!&lt;/p&gt;

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