<?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: M N Mustakul Amin Talukdar</title>
    <description>The latest articles on DEV Community by M N Mustakul Amin Talukdar (@mrnowshirwan).</description>
    <link>https://dev.to/mrnowshirwan</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%2F4174788%2Fa288cae9-5a34-4de9-b6fc-3f95cc43f189.png</url>
      <title>DEV Community: M N Mustakul Amin Talukdar</title>
      <link>https://dev.to/mrnowshirwan</link>
    </image>
    <atom:link rel="self" type="application/rss+xml" href="https://dev.to/feed/mrnowshirwan"/>
    <language>en</language>
    <item>
      <title>DukaanDraft: a local AI writing helper for small shops</title>
      <dc:creator>M N Mustakul Amin Talukdar</dc:creator>
      <pubDate>Sun, 18 Oct 2026 20:21:51 +0000</pubDate>
      <link>https://dev.to/mrnowshirwan/dukaandraft-a-local-ai-writing-helper-for-small-shops-nn2</link>
      <guid>https://dev.to/mrnowshirwan/dukaandraft-a-local-ai-writing-helper-for-small-shops-nn2</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;DEV Hacktoberfest Week 2 Challenge&lt;/a&gt;.&lt;/em&gt;&lt;/p&gt;

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

&lt;p&gt;DukaanDraft is an English-only prototype that turns a local shop's short offer facts into an editable post draft.&lt;/p&gt;

&lt;p&gt;The workflow is simple: enter a shop name and offer facts, generate a rewrite, compare it with the original facts, edit, and copy. Nothing is posted automatically. The destination labels help organize a draft for WhatsApp, Google Business Profile, or Instagram; they do not change the model prompt yet.&lt;/p&gt;

&lt;p&gt;The side-hustle idea is a human-reviewed post-writing service for local shops. It is an idea to test, not an existing business. There are no customer, revenue, or willingness-to-pay claims.&lt;/p&gt;

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

&lt;p&gt;The fictional test input was:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;Shop: Fictional Store&lt;/li&gt;
&lt;li&gt;Offer facts: rice for Rs 50 per kg.&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;The model returned:&lt;/p&gt;

&lt;blockquote&gt;
&lt;p&gt;Fictional Store sells Rice at Rs 50 per Kg.&lt;/p&gt;
&lt;/blockquote&gt;

&lt;p&gt;The complete local browser-to-Node-to-model test returned this draft in 3.8 seconds on the test computer. This is one measured result, not a performance guarantee. First use also downloads model weights.&lt;/p&gt;

&lt;p&gt;The interface keeps the original facts under the editable draft, alongside a warning to check every claim. A small model can still invent details or change a name. In other tests it added "affordable" or changed a shop name, which is why human review is part of the product rather than an afterthought.&lt;/p&gt;

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

&lt;p&gt;&lt;a href="https://github.com/MRNOWSHIRWAN/dukaandraft" rel="noopener noreferrer"&gt;Source code on GitHub&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;The application code is MIT licensed. The model weights keep their own Apache-2.0 license.&lt;/p&gt;

&lt;p&gt;To run locally with Node.js 20+:&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight shell"&gt;&lt;code&gt;npm &lt;span class="nb"&gt;install
&lt;/span&gt;npm start
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;Then open &lt;code&gt;http://127.0.0.1:8787&lt;/code&gt; on the same computer. The prototype was tested with Node 22 on Linux. It is not publicly deployed.&lt;/p&gt;

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

&lt;p&gt;The app uses plain HTML and JavaScript for the form, a small Node HTTP server, and &lt;a href="https://huggingface.co/docs/transformers.js" rel="noopener noreferrer"&gt;Transformers.js&lt;/a&gt; for local inference.&lt;/p&gt;

&lt;p&gt;The AI core is &lt;a href="https://huggingface.co/HuggingFaceTB/SmolLM2-360M-Instruct" rel="noopener noreferrer"&gt;SmolLM2-360M-Instruct&lt;/a&gt;, using the &lt;a href="https://huggingface.co/onnx-community/SmolLM2-360M-Instruct-ONNX" rel="noopener noreferrer"&gt;ONNX community conversion&lt;/a&gt;. The quantized model runs on the CPU in Node, not through a hosted inference API. No API key or new account is needed to run the app.&lt;/p&gt;

&lt;p&gt;The server listens only on the local loopback address and accepts local same-origin browser requests. Model files are downloaded from Hugging Face; shop text is processed locally by this application. The first download is hundreds of MB, and model loading needs enough free memory. This is not a phone-only or low-memory-device promise.&lt;/p&gt;

&lt;p&gt;I kept the scope small: English rewriting, an editable result, original facts for comparison, and an explicit copy action. Earlier API-hosted and browser-only inference approaches were explored but were not verified as working routes and are not the shipped version.&lt;/p&gt;

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

&lt;p&gt;Open weights make it possible to test this idea without an inference-service account or a per-request API dependency. The model can be downloaded, inspected through its published documentation, and run locally. Open-source application code lets someone else change the workflow or replace the model without starting from scratch.&lt;/p&gt;

&lt;p&gt;That freedom also makes the tradeoffs visible. A small local model is accessible, but it is not automatically accurate enough to write a shop's public claims. The useful next step is to test with real shop owners, measure factual errors, and find out whether a reviewed writing service saves them enough time to pay for it.&lt;/p&gt;

&lt;p&gt;For now, DukaanDraft is a working local experiment with a clear review step, not a claim of a finished commercial product.&lt;/p&gt;

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