非開發者如何藉助 Claude 建立孟加拉價格比較網站 kotoporbe.com
How I built a price-comparison site for Bangladesh as a non-developer (with Claude)
Md. Khalid Hasan 以 Claude 協助建成孟加拉價格比較網站 kotoporbe.com,每晚從 ~15 間商店擷取筆電及手機價格,並展示價格歷史。
A month ago I couldn't build a website. Today kotoporbe.com 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.
The problem
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.
The stack (deliberately boring)
- Scraper: Python, pulling listings from ~15 shops that each structure data differently. Retries, rate-limiting, and handling shops behind Cloudflare.
- Site generator: a single dependency-free Python script (~3,500 lines) that renders every page to static HTML.
- Hosting: Cloudflare Pages. Static output = fast and basically free.
- No framework. For a mostly-static catalogue, plain HTML + a build script beat reaching for React.
The hard part wasn't scraping — it was matching
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 "when unsure, ask me" review step over Telegram — the bot DMs me the ambiguous matches and I tap Accept/Reject.
The stuff I didn't know existed
- Structured data (JSON-LD) so Google understands products, offers, and the price index.
- A monthly price index page — median price + 30-day movement + per-brand.
-
Email auth (SPF/DKIM/DMARC) to a 10/10 deliverability score, security headers,
llms.txt, and a tiny CLI to post updates to my own channels.
Lessons for other non-devs
- Go one small step at a time. The whole thing exists because I never tried to build "the site" — just the next small piece.
- Ask why, not just what. Having the AI explain the reasoning is how I actually learned instead of blindly pasting code.
- Boring tech ships. Static HTML + a build script is easy to reason about and never falls over.
- The data model is the product. Scraping is easy; trustworthy, matched, fresh data is the hard, valuable part.
It's a solo hobby project — no ads, not a shop. If you want to poke at it: kotoporbe.com. Happy to answer anything about the scraping, matching, or the build in the comments.
來源:DEV Community · dev.to