2 pointsby JonJLevesque2 hours ago2 comments
  • JonJLevesque2 hours ago
    I got tired of manually dividing prices by capacity every time I needed storage. A "cheap" $60 1TB SSD ($0.06/GB) often costs more per byte than a $150 4TB drive ($0.037/GB), but retailers never show you this.

    BuyPerUnit pulls prices from Amazon, Best Buy, and Newegg, calculates the cost per gigabyte, and ranks everything from cheapest to most expensive. Hard drives, SSDs, NVMe, SD cards, USB drives — about 800+ products updated twice daily.

    Stack: Next.js, Supabase, Vercel. Pricing comes from retailer APIs and Rakuten/affiliate feeds. I'm a solo dev and this is an affiliate site — I'm transparent about that.

    Would love feedback on the UI, data accuracy, or categories you'd want to see added (RAM? Printer ink / per page?)

  • wolrah2 hours ago
    If I pick "SSD" the #1 cheapest entry is a miscategorized WD Black 6TB HD. Not a great start. Also trying to click through to any product gets me multiple layers of redirects that uBlock doesn't really like eventually ending in an error claiming I have cookies disabled (I don't).

    Not a great first impression.

    • JonJLevesquean hour ago
      Good catch on the SSD miscategorization! Just shipped a fix. Products from Best Buy were getting a hardcoded subcategory instead of being derived from the actual drive type. Should be correct now.

      On the redirect issue... the links go through affiliate tracking (Amazon Associates, Rakuten for Newegg, Best Buy Creators). uBlock aggressively blocks affiliate redirects by default. Not much I can do about that without removing the affiliate tracking, which is how the site stays free.

      If you whitelist the site or disable uBlock temporarily the links work fine.