<?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: Deepak Sharma</title>
    <description>The latest articles on DEV Community by Deepak Sharma (@deepak7737).</description>
    <link>https://dev.to/deepak7737</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%2F4150959%2F2509b43f-270d-41a9-84eb-3c634a379b7b.png</url>
      <title>DEV Community: Deepak Sharma</title>
      <link>https://dev.to/deepak7737</link>
    </image>
    <atom:link rel="self" type="application/rss+xml" href="https://dev.to/feed/deepak7737"/>
    <language>en</language>
    <item>
      <title>StitchCraft AI: Offline Tailor Job Ticket Generator Powered by Local Gemma</title>
      <dc:creator>Deepak Sharma</dc:creator>
      <pubDate>Sun, 04 Oct 2026 19:57:35 +0000</pubDate>
      <link>https://dev.to/deepak7737/stitchcraft-ai-offline-tailor-job-ticket-generator-powered-by-local-gemma-41of</link>
      <guid>https://dev.to/deepak7737/stitchcraft-ai-offline-tailor-job-ticket-generator-powered-by-local-gemma-41of</guid>
      <description>&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%2Fjv1oy754udkzn2hz39a6.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%2Fjv1oy754udkzn2hz39a6.png" alt=" " width="800" height="433"&gt;&lt;/a&gt;&lt;br&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%2Ffgyuin3kt7gutkygsvlt.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%2Ffgyuin3kt7gutkygsvlt.png" alt=" " width="800" height="493"&gt;&lt;/a&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 StitchCraft AI, an offline, privacy-first assistant for my sister, who runs a local tailoring boutique.&lt;/p&gt;

&lt;p&gt;Every day, she receives dozens of messy, unstructured WhatsApp messages and audio notes from customers (e.g., "Bhaiya stitch an anarkali kurti, chest 38, waist 34, length 42, 3/4 sleeves, deep neck back with tassels. Needs by this Thursday urgent, fabric provided by customer. Advance paid 500 total 1200.").&lt;/p&gt;

&lt;p&gt;This informal intake creates constant friction:&lt;/p&gt;

&lt;p&gt;Critical body measurements get lost inside long message histories.&lt;/p&gt;

&lt;p&gt;Hand-writing workshop slips wastes hours of productive stitching time.&lt;/p&gt;

&lt;p&gt;Delivery deadlines and balance payments easily slip through the cracks.&lt;/p&gt;

&lt;p&gt;StitchCraft AI allows her to paste raw conversational order text and instantly generate a standardized, print-ready "Tailor Job Ticket" featuring structured measurements, deadline indicators, design requirements, and balance calculations in seconds.&lt;/p&gt;
&lt;h2&gt;
  
  
  Demo
&lt;/h2&gt;

&lt;p&gt;Here is the tool parsing a real-world chaotic WhatsApp message into a workshop slip:&lt;/p&gt;

&lt;p&gt;Clicking the print button activates built-in &lt;a class="mentioned-user" href="https://dev.to/media"&gt;@media&lt;/a&gt; print styling to isolate only the job card for paper/thermal printing:&lt;br&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%2Fe1t17awgav0l3c9c4e64.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%2Fe1t17awgav0l3c9c4e64.png" alt=" " width="800" height="458"&gt;&lt;/a&gt;&lt;/p&gt;
&lt;h2&gt;
  
  
  Code
&lt;/h2&gt;


&lt;div class="ltag-github-readme-tag"&gt;
  &lt;div class="readme-overview"&gt;
    &lt;h2&gt;
      &lt;img src="https://assets.dev.to/assets/github-logo-5a155e1f9a670af7944dd5e12375bc76ed542ea80224905ecaf878b9157cdefc.svg" alt="GitHub logo"&gt;
      &lt;a href="https://github.com/Deepak-IITian07" rel="noopener noreferrer"&gt;
        Deepak-IITian07
      &lt;/a&gt; / &lt;a href="https://github.com/Deepak-IITian07/stitchcraft-ai" rel="noopener noreferrer"&gt;
        stitchcraft-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;🧵 StitchCraft AI - Tailor Job Slip Generator&lt;/h1&gt;
&lt;/div&gt;
&lt;blockquote&gt;
&lt;p&gt;&lt;strong&gt;Built for Hacktoberfest 2026 Weekend Challenge: "Build for a Friend"&lt;/strong&gt;&lt;br&gt;
An offline, private, open-source AI assistant designed for neighborhood tailors and boutique owners to turn chaotic WhatsApp messages and voice transcripts into clean, printable workshop slips.&lt;/p&gt;
&lt;/blockquote&gt;

&lt;div class="markdown-heading"&gt;
&lt;h2 class="heading-element"&gt;💡 The Problem&lt;/h2&gt;
&lt;/div&gt;
&lt;p&gt;Small boutique tailors receive dozens of unformatted, casual customer orders over WhatsApp every week:&lt;/p&gt;
&lt;blockquote&gt;
&lt;p&gt;&lt;em&gt;"Bhaiya stitch an anarkali kurti, chest 38, waist 34, length 42, 3/4 sleeves, deep neck back with tassels. Needs by this Thursday urgent, fabric provided by customer. Advance paid 500 total 1200."&lt;/em&gt;&lt;/p&gt;
&lt;/blockquote&gt;
&lt;p&gt;Key body measurements get lost in chat histories, delivery deadlines slip, and manually handwriting paper tickets takes away creative sewing time.&lt;/p&gt;
&lt;div class="markdown-heading"&gt;
&lt;h2 class="heading-element"&gt;🛡️ Why Open-Source AI?&lt;/h2&gt;
&lt;/div&gt;
&lt;ul&gt;
&lt;li&gt;
&lt;strong&gt;100% Data Privacy:&lt;/strong&gt; Body measurements and personal customer contact numbers never leave the local workshop device.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Zero API Costs:&lt;/strong&gt; Micro-businesses operate on tight margins and cannot afford monthly proprietary token subscriptions. Running…&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/Deepak-IITian07/stitchcraft-ai" rel="noopener noreferrer"&gt;View on GitHub&lt;/a&gt;&lt;/div&gt;
&lt;/div&gt;


&lt;p&gt;The project is built as a self-contained single-file Streamlit application (app.py) for lightweight local execution.&lt;/p&gt;

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

&lt;p&gt;StitchCraft AI is powered entirely by an open-source AI core:&lt;/p&gt;

&lt;p&gt;Open-Weight Core: The system runs Google's Gemma 2 (2B) locally via Ollama (&lt;a href="http://localhost:11434/api/generate" rel="noopener noreferrer"&gt;http://localhost:11434/api/generate&lt;/a&gt;).&lt;/p&gt;

&lt;p&gt;Structured JSON Parsing: The application feeds raw conversational inputs into a strict zero-shot extraction prompt, enforcing a typed schema covering customer details, 8+ body measurements, fabric sources, deadlines, and pricing.&lt;/p&gt;

&lt;p&gt;Resilient Sanitation: A regex cleaning layer strips formatting artifacts or markdown fences to guarantee consistent JSON deserialization.&lt;/p&gt;

&lt;p&gt;Single-Page UI &amp;amp; Print Pipeline: Built with Streamlit and customized CSS with &lt;a class="mentioned-user" href="https://dev.to/media"&gt;@media&lt;/a&gt; print rules, allowing the user to print or save the ticket as a PDF directly via standard browser print dialogs (window.parent.print()) without external PDF libraries.&lt;/p&gt;

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

&lt;p&gt;Neighborhood artisans and small business owners face specific constraints where closed-source APIs fail:&lt;/p&gt;

&lt;p&gt;Client Privacy: Customer body measurements and personal contact details never leave the boutique's machine, keeping personal customer data completely private.&lt;/p&gt;

&lt;p&gt;Zero Operating Cost: Independent tailors operate on thin margins and cannot sustain monthly proprietary API bills or recurring subscriptions. Open-weight models offer zero ongoing software expenses.&lt;/p&gt;

&lt;p&gt;True Offline Independence: Workshop spaces often encounter intermittent internet connectivity. An open-source model running on local consumer hardware guarantees uninterrupted daily work without an active internet connection.&lt;/p&gt;

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

&lt;p&gt;The project was scaffolded, debugged, and styled interactively directly inside the VS Code terminal using the Claude Code CLI paired with an Ollama cloud model runner (ollama launch claude --model gpt-oss:20b-cloud), allowing rapid end-to-end iteration from architecture prompt to production-ready script in under a day.&lt;/p&gt;

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

&lt;p&gt;Best Use of Gemma&lt;/p&gt;

</description>
      <category>devchallenge</category>
      <category>weekendchallenge</category>
      <category>hf26challenge</category>
    </item>
  </channel>
</rss>
