<?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: Md. Khalid Hasan</title>
    <description>The latest articles on DEV Community by Md. Khalid Hasan (@khalid_shimul).</description>
    <link>https://dev.to/khalid_shimul</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%2F4268358%2F1d6be352-2a31-4287-a3ae-fea3dae32d45.jpg</url>
      <title>DEV Community: Md. Khalid Hasan</title>
      <link>https://dev.to/khalid_shimul</link>
    </image>
    <atom:link rel="self" type="application/rss+xml" href="https://dev.to/feed/khalid_shimul"/>
    <language>en</language>
    <item>
      <title>How I built a price-comparison site for Bangladesh as a non-developer (with Claude)</title>
      <dc:creator>Md. Khalid Hasan</dc:creator>
      <pubDate>Fri, 27 Nov 2026 07:23:23 +0000</pubDate>
      <link>https://dev.to/khalid_shimul/how-i-built-a-price-comparison-site-for-bangladesh-as-a-non-developer-with-claude-4gnc</link>
      <guid>https://dev.to/khalid_shimul/how-i-built-a-price-comparison-site-for-bangladesh-as-a-non-developer-with-claude-4gnc</guid>
      <description>&lt;p&gt;A month ago I couldn't build a website. Today &lt;a href="https://kotoporbe.com" rel="noopener noreferrer"&gt;kotoporbe.com&lt;/a&gt; is live, scraping ~15 Bangladeshi shops every night and showing what laptops and phones actually cost — with price history. Here's what I built, what broke, and what I learned pairing with an AI the whole way.&lt;/p&gt;

&lt;h2&gt;
  
  
  The problem
&lt;/h2&gt;

&lt;p&gt;Buying gadgets in Bangladesh is a guessing game. Every shop lists a different price for the same model, and "in stock" is often a lie. I wanted one place that tells you the real, current price across shops.&lt;/p&gt;

&lt;h2&gt;
  
  
  The stack (deliberately boring)
&lt;/h2&gt;

&lt;ul&gt;
&lt;li&gt;
&lt;strong&gt;Scraper:&lt;/strong&gt; Python, pulling listings from ~15 shops that each structure data differently. Retries, rate-limiting, and handling shops behind Cloudflare.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Site generator:&lt;/strong&gt; a single dependency-free Python script (~3,500 lines) that renders every page to static HTML.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Hosting:&lt;/strong&gt; Cloudflare Pages. Static output = fast and basically free.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;No framework.&lt;/strong&gt; For a mostly-static catalogue, plain HTML + a build script beat reaching for React.&lt;/li&gt;
&lt;/ul&gt;

&lt;h2&gt;
  
  
  The hard part wasn't scraping — it was matching
&lt;/h2&gt;

&lt;p&gt;The same laptop is named six different ways across shops ("Lenovo IdeaPad Slim 3" vs "IdeaPad Slim 3i 12th Gen" vs ...). Deduping into one canonical product was the real work. I ended up with a matcher plus a &lt;strong&gt;"when unsure, ask me" review step over Telegram&lt;/strong&gt; — the bot DMs me the ambiguous matches and I tap Accept/Reject.&lt;/p&gt;

&lt;h2&gt;
  
  
  The stuff I didn't know existed
&lt;/h2&gt;

&lt;ul&gt;
&lt;li&gt;
&lt;strong&gt;Structured data (JSON-LD)&lt;/strong&gt; so Google understands products, offers, and the price index.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;A monthly price index page&lt;/strong&gt; — &lt;a href="https://kotoporbe.com/laptops/laptop-price-index/" rel="noopener noreferrer"&gt;median price + 30-day movement + per-brand&lt;/a&gt;.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Email auth&lt;/strong&gt; (SPF/DKIM/DMARC) to a 10/10 deliverability score, security headers, &lt;code&gt;llms.txt&lt;/code&gt;, and a tiny CLI to post updates to my own channels.&lt;/li&gt;
&lt;/ul&gt;

&lt;h2&gt;
  
  
  Lessons for other non-devs
&lt;/h2&gt;

&lt;ol&gt;
&lt;li&gt;
&lt;strong&gt;Go one small step at a time.&lt;/strong&gt; The whole thing exists because I never tried to build "the site" — just the next small piece.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Ask &lt;em&gt;why&lt;/em&gt;, not just &lt;em&gt;what&lt;/em&gt;.&lt;/strong&gt; Having the AI explain the reasoning is how I actually learned instead of blindly pasting code.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Boring tech ships.&lt;/strong&gt; Static HTML + a build script is easy to reason about and never falls over.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;The data model is the product.&lt;/strong&gt; Scraping is easy; &lt;em&gt;trustworthy, matched, fresh&lt;/em&gt; data is the hard, valuable part.&lt;/li&gt;
&lt;/ol&gt;

&lt;p&gt;It's a solo hobby project — no ads, not a shop. If you want to poke at it: &lt;a href="https://kotoporbe.com" rel="noopener noreferrer"&gt;kotoporbe.com&lt;/a&gt;. Happy to answer anything about the scraping, matching, or the build in the comments.&lt;/p&gt;

</description>
      <category>webdev</category>
      <category>python</category>
      <category>showdev</category>
      <category>beginners</category>
    </item>
  </channel>
</rss>
