{
  "title": "A Wishlist of My Own",
  "date": "2026-12-04T12:00:00-08:00",
  "slug": "a-wishlist-of-my-own",
  "type": "entry",
  "tags": [
    "linkding",
    "golang",
    "ssg",
    "webdev",
    "scraping",
    "projects"
  ],
  "thumbnail": "/2026/12/04/a-wishlist-of-my-own/wishlist-grid-view.png",
  "summary": "TL;DR: I turned a pile of Linkding bookmarks into wishlist.lmorchard.com using linkding-wishlist-ssg—a Go-based static site generator with an Airtable-like wishlist explorer that scrapes prices with headless Chrome and rebuilds quietly from a machine in my basement.",
  "draft": false,
  "comments_archived": false,
  "year": "2026",
  "month": "12",
  "day": "04",
  "postName": "2026-12-04-a-wishlist-of-my-own",
  "isDir": true,
  "path": "2026/12/04/a-wishlist-of-my-own",
  "body": "\n**TL;DR**: I turned a pile of Linkding bookmarks into [wishlist.lmorchard.com](https://wishlist.lmorchard.com) using [linkding-wishlist-ssg](https://github.com/lmorchard/linkding-wishlist-ssg)—a Go-based static site generator with an Airtable-like wishlist explorer that scrapes prices with headless Chrome and rebuilds quietly from a machine in my basement.\n\n\u003c!--more--\u003e\n\n## The itch\n\nThe holidays are coming, so of course that got me thinking about wishlists, and somehow that turned into a new website, [wishlist.lmorchard.com](https://wishlist.lmorchard.com), and a new git repository, [linkding-wishlist-ssg](https://github.com/lmorchard/linkding-wishlist-ssg).\n\nBecause wishlists are handy, I have some history here. Twenty-two years ago, I wrote about hacking together an automated [Wish-of-the-Month Club](/2004/06/16/wishofthemonthclub1/) using Amazon's then-brand-new XML API and `xsltproc`. \n\nBack in 2004, you could just politely ask Amazon for your wishlist data with a free developer token. But, alas, today the [mashups of Web 2.0](https://en.wikipedia.org/wiki/Mashup_(web_application_hybrid)) are long gone. Amazon dropped that XML API, their wishlists stopped supporting external sites, third-party wishlist apps are clunky commercial silos, and pulling product data means dodging bot-detection walls.\n\n\u003cfigure class=\"image-figure\"\u003e\n\u003cimg src=\"aa4ac305e016.png\" alt=\"Product photo of a USB-A microphone with a push-to-talk button and four programmable keys, marketed for American Truck Simulator\"\u003e\u003cfigcaption\u003eExhibit A: a USB CB radio microphone I do not need. But I want it.\u003c/figcaption\u003e\n\u003c/figure\u003e\n\nI had an idea, though: I've been getting really cozy with my personal Linkding server lately. I can just tag a bunch of things `wishlist` and do whatever I want. You know, like render them as a shopping list.\n\nAt first, I thought of this as just another flavor of listing out bookmarks—basically [linkding-ssg](https://github.com/lmorchard/linkding-ssg) with a different coat of paint, churning out links in reverse-chronological order. \n\nBut looking at what I actually wanted to *do* with a wishlist—filter by price range, check what's on sale or out of stock, cluster by store to plan a neighborhood shopping walk, pivot across tags—I realized this isn't just an archive feed. It works much better as an Airtable-like data explorer. \n\nYeah, that's nerd-shit, but it has a lot going for it: One bookmark per want, every item becomes a first-class tabular record. Store grouping falls out of the URL hostname. Tags are pivots. Fun stuff abounds.\n\n\u003cimage-gallery class=\"wide\"\u003e\n\n  \u003cimg src=\"wishlist-table-view.png\" alt=\"wishlist.lmorchard.com dense table view showing item titles, store domains, extracted prices, tag chips, and availability status\" /\u003e\n\n  \u003cimg src=\"wishlist-grid-view.png\" alt=\"wishlist.lmorchard.com grid card view showing product cards with locally cached thumbnail images, prices, and direct links\" /\u003e\n\n\u003c/image-gallery\u003e\n\n## The Go sprint\n\nOnce the [initial spec](https://github.com/lmorchard/linkding-wishlist-ssg/blob/main/docs/SPEC.md) stopped wriggling, it went fast—[eighteen small PRs](https://github.com/lmorchard/linkding-wishlist-ssg/pulls?q=is%3Apr+is%3Aclosed) over a long weekend:\n\n* **v0.1 through v0.6 in one evening:** Started with a naive list in static HTML, added a local SQLite store for [price history](https://github.com/lmorchard/linkding-wishlist-ssg/commit/734fd98), wired up [`dead`](https://github.com/lmorchard/linkding-wishlist-ssg/pull/5) and [`unavailable`](https://github.com/lmorchard/linkding-wishlist-ssg/pull/6) states, and ended with the browser-backed Amazon scraper.\n\n* **Fail-open price extraction:** [JSON-LD `Offer`](https://jsonld.com/product/) first, OpenGraph second, per-site adapters third, and manual overrides in bookmark notes last. If it can't find a price, it renders without one.\n\n* **CDP scraping for Amazon:** Amazon hates bots, but I'm not a bot—it's my wishlist and I want it now, damn it. The tool [drives a real Chrome instance over CDP](https://github.com/lmorchard/linkding-wishlist-ssg/pull/7) to view source, throttled to a few polite requests per hour so my house doesn't get banned from Amazon shopping.\n\n* **One JSON blob instead of hundreds of HTML pages:** Ditching the sprawling pile of pre-baked store, tag, and archive pages for a [single embedded JSON manifest](https://github.com/lmorchard/linkding-wishlist-ssg/pull/11). Even with 1,500+ items, a text payload of a few hundred kilobytes is orders of magnitude smaller than the product images sitting next to it.\n\n* **In-memory data explorer:** Hand that JSON to a modest slice of vanilla JS, and suddenly you have [tag facet chips](https://github.com/lmorchard/linkding-wishlist-ssg/pull/15), [price-bucket slicing](https://github.com/lmorchard/linkding-wishlist-ssg/pull/17), [priority sorting](https://github.com/lmorchard/linkding-wishlist-ssg/pull/19), search, and a [table/grid view toggle](https://github.com/lmorchard/linkding-wishlist-ssg/pull/11). Zero latency, zero page reloads.\n\n* **Local thumbnail caching:** [Caching images locally](https://github.com/lmorchard/linkding-wishlist-ssg/pull/14) so the browser never hammers remote CDNs on load.\n\n## Built to be neglected\n\nNow this thing runs from a cron job in my homelab. Nobody watches it. It just happens, hourly, and the site is incrementally more correct than it was an hour ago.\n\nThat's most of what I want out of software, honestly: small, self-contained, home-cooked tools that quietly mind their own business.\n\nAnd also, now you know what I want for Christmas. If you happen to use Linkding, or can get folks you know using Linkding, this thingy might help you out too.\n",
  "html": "\u003cp\u003e\u003cstrong\u003eTL;DR\u003c/strong\u003e: I turned a pile of Linkding bookmarks into \u003ca href=\"https://wishlist.lmorchard.com\"\u003ewishlist.lmorchard.com\u003c/a\u003e using \u003ca href=\"https://github.com/lmorchard/linkding-wishlist-ssg\"\u003elinkding-wishlist-ssg\u003c/a\u003e—a Go-based static site generator with an Airtable-like wishlist explorer that scrapes prices with headless Chrome and rebuilds quietly from a machine in my basement.\u003c/p\u003e\n\u003c!--more--\u003e\n\u003ch2 id=\"the-itch\"\u003eThe itch\u003c/h2\u003e\n\u003cp\u003eThe holidays are coming, so of course that got me thinking about wishlists, and somehow that turned into a new website, \u003ca href=\"https://wishlist.lmorchard.com\"\u003ewishlist.lmorchard.com\u003c/a\u003e, and a new git repository, \u003ca href=\"https://github.com/lmorchard/linkding-wishlist-ssg\"\u003elinkding-wishlist-ssg\u003c/a\u003e.\u003c/p\u003e\n\u003cp\u003eBecause wishlists are handy, I have some history here. Twenty-two years ago, I wrote about hacking together an automated \u003ca href=\"/2004/06/16/wishofthemonthclub1/\"\u003eWish-of-the-Month Club\u003c/a\u003e using Amazon\u0026#39;s then-brand-new XML API and \u003ccode\u003exsltproc\u003c/code\u003e.\u003c/p\u003e\n\u003cp\u003eBack in 2004, you could just politely ask Amazon for your wishlist data with a free developer token. But, alas, today the \u003ca href=\"https://en.wikipedia.org/wiki/Mashup_(web_application_hybrid)\"\u003emashups of Web 2.0\u003c/a\u003e are long gone. Amazon dropped that XML API, their wishlists stopped supporting external sites, third-party wishlist apps are clunky commercial silos, and pulling product data means dodging bot-detection walls.\u003c/p\u003e\n\u003cfigure class=\"image-figure\"\u003e\n\u003cimg src=\"aa4ac305e016.png\" alt=\"Product photo of a USB-A microphone with a push-to-talk button and four programmable keys, marketed for American Truck Simulator\"/\u003e\u003cfigcaption\u003eExhibit A: a USB CB radio microphone I do not need. But I want it.\u003c/figcaption\u003e\n\u003c/figure\u003e\n\u003cp\u003eI had an idea, though: I\u0026#39;ve been getting really cozy with my personal Linkding server lately. I can just tag a bunch of things \u003ccode\u003ewishlist\u003c/code\u003e and do whatever I want. You know, like render them as a shopping list.\u003c/p\u003e\n\u003cp\u003eAt first, I thought of this as just another flavor of listing out bookmarks—basically \u003ca href=\"https://github.com/lmorchard/linkding-ssg\"\u003elinkding-ssg\u003c/a\u003e with a different coat of paint, churning out links in reverse-chronological order.\u003c/p\u003e\n\u003cp\u003eBut looking at what I actually wanted to \u003cem\u003edo\u003c/em\u003e with a wishlist—filter by price range, check what\u0026#39;s on sale or out of stock, cluster by store to plan a neighborhood shopping walk, pivot across tags—I realized this isn\u0026#39;t just an archive feed. It works much better as an Airtable-like data explorer.\u003c/p\u003e\n\u003cp\u003eYeah, that\u0026#39;s nerd-shit, but it has a lot going for it: One bookmark per want, every item becomes a first-class tabular record. Store grouping falls out of the URL hostname. Tags are pivots. Fun stuff abounds.\u003c/p\u003e\n\u003cimage-gallery class=\"wide\"\u003e\n  \u003cimg src=\"wishlist-table-view.png\" alt=\"wishlist.lmorchard.com dense table view showing item titles, store domains, extracted prices, tag chips, and availability status\"/\u003e\n  \u003cimg src=\"wishlist-grid-view.png\" alt=\"wishlist.lmorchard.com grid card view showing product cards with locally cached thumbnail images, prices, and direct links\"/\u003e\n\u003c/image-gallery\u003e\n\u003ch2 id=\"the-go-sprint\"\u003eThe Go sprint\u003c/h2\u003e\n\u003cp\u003eOnce the \u003ca href=\"https://github.com/lmorchard/linkding-wishlist-ssg/blob/main/docs/SPEC.md\"\u003einitial spec\u003c/a\u003e stopped wriggling, it went fast—\u003ca href=\"https://github.com/lmorchard/linkding-wishlist-ssg/pulls?q=is%3Apr+is%3Aclosed\"\u003eeighteen small PRs\u003c/a\u003e over a long weekend:\u003c/p\u003e\n\u003cul\u003e\n\u003cli\u003e\n\u003cp\u003e\u003cstrong\u003ev0.1 through v0.6 in one evening:\u003c/strong\u003e Started with a naive list in static HTML, added a local SQLite store for \u003ca href=\"https://github.com/lmorchard/linkding-wishlist-ssg/commit/734fd98\"\u003eprice history\u003c/a\u003e, wired up \u003ca href=\"https://github.com/lmorchard/linkding-wishlist-ssg/pull/5\"\u003e\u003ccode\u003edead\u003c/code\u003e\u003c/a\u003e and \u003ca href=\"https://github.com/lmorchard/linkding-wishlist-ssg/pull/6\"\u003e\u003ccode\u003eunavailable\u003c/code\u003e\u003c/a\u003e states, and ended with the browser-backed Amazon scraper.\u003c/p\u003e\n\u003c/li\u003e\n\u003cli\u003e\n\u003cp\u003e\u003cstrong\u003eFail-open price extraction:\u003c/strong\u003e \u003ca href=\"https://jsonld.com/product/\"\u003eJSON-LD \u003ccode\u003eOffer\u003c/code\u003e\u003c/a\u003e first, OpenGraph second, per-site adapters third, and manual overrides in bookmark notes last. If it can\u0026#39;t find a price, it renders without one.\u003c/p\u003e\n\u003c/li\u003e\n\u003cli\u003e\n\u003cp\u003e\u003cstrong\u003eCDP scraping for Amazon:\u003c/strong\u003e Amazon hates bots, but I\u0026#39;m not a bot—it\u0026#39;s my wishlist and I want it now, damn it. The tool \u003ca href=\"https://github.com/lmorchard/linkding-wishlist-ssg/pull/7\"\u003edrives a real Chrome instance over CDP\u003c/a\u003e to view source, throttled to a few polite requests per hour so my house doesn\u0026#39;t get banned from Amazon shopping.\u003c/p\u003e\n\u003c/li\u003e\n\u003cli\u003e\n\u003cp\u003e\u003cstrong\u003eOne JSON blob instead of hundreds of HTML pages:\u003c/strong\u003e Ditching the sprawling pile of pre-baked store, tag, and archive pages for a \u003ca href=\"https://github.com/lmorchard/linkding-wishlist-ssg/pull/11\"\u003esingle embedded JSON manifest\u003c/a\u003e. Even with 1,500+ items, a text payload of a few hundred kilobytes is orders of magnitude smaller than the product images sitting next to it.\u003c/p\u003e\n\u003c/li\u003e\n\u003cli\u003e\n\u003cp\u003e\u003cstrong\u003eIn-memory data explorer:\u003c/strong\u003e Hand that JSON to a modest slice of vanilla JS, and suddenly you have \u003ca href=\"https://github.com/lmorchard/linkding-wishlist-ssg/pull/15\"\u003etag facet chips\u003c/a\u003e, \u003ca href=\"https://github.com/lmorchard/linkding-wishlist-ssg/pull/17\"\u003eprice-bucket slicing\u003c/a\u003e, \u003ca href=\"https://github.com/lmorchard/linkding-wishlist-ssg/pull/19\"\u003epriority sorting\u003c/a\u003e, search, and a \u003ca href=\"https://github.com/lmorchard/linkding-wishlist-ssg/pull/11\"\u003etable/grid view toggle\u003c/a\u003e. Zero latency, zero page reloads.\u003c/p\u003e\n\u003c/li\u003e\n\u003cli\u003e\n\u003cp\u003e\u003cstrong\u003eLocal thumbnail caching:\u003c/strong\u003e \u003ca href=\"https://github.com/lmorchard/linkding-wishlist-ssg/pull/14\"\u003eCaching images locally\u003c/a\u003e so the browser never hammers remote CDNs on load.\u003c/p\u003e\n\u003c/li\u003e\n\u003c/ul\u003e\n\u003ch2 id=\"built-to-be-neglected\"\u003eBuilt to be neglected\u003c/h2\u003e\n\u003cp\u003eNow this thing runs from a cron job in my homelab. Nobody watches it. It just happens, hourly, and the site is incrementally more correct than it was an hour ago.\u003c/p\u003e\n\u003cp\u003eThat\u0026#39;s most of what I want out of software, honestly: small, self-contained, home-cooked tools that quietly mind their own business.\u003c/p\u003e\n\u003cp\u003eAnd also, now you know what I want for Christmas. If you happen to use Linkding, or can get folks you know using Linkding, this thingy might help you out too.\u003c/p\u003e\n",
  "sourceFile": "content/posts/2026/2026-12-04-a-wishlist-of-my-own/index.md",
  "parentPath": "content/posts/2026/2026-12-04-a-wishlist-of-my-own",
  "attachments": [
    "aa4ac305e016.png",
    "wishlist-table-view.png",
    "wishlist-grid-view.png"
  ],
  "prevPostPath": "2026/11/19/w47",
  "prevPostTitle": "Radio snooping, cow people, and the anxious GPU (Week 47)"
}