Les Orchard

A Wishlist of My Own

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.

The itch

The holidays are coming, so of course that got me thinking about wishlists, and somehow that turned into a new website, wishlist.lmorchard.com, and a new git repository, linkding-wishlist-ssg.

Because wishlists are handy, I have some history here. Twenty-two years ago, I wrote about hacking together an automated Wish-of-the-Month Club using Amazon's then-brand-new XML API and xsltproc.

Back 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 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.

Product photo of a USB-A microphone with a push-to-talk button and four programmable keys, marketed for American Truck Simulator
Exhibit A: a USB CB radio microphone I do not need. But I want it.

I 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.

At first, I thought of this as just another flavor of listing out bookmarks—basically linkding-ssg with a different coat of paint, churning out links in reverse-chronological order.

But 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.

Yeah, 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.

wishlist.lmorchard.com dense table view showing item titles, store domains, extracted prices, tag chips, and availability status wishlist.lmorchard.com grid card view showing product cards with locally cached thumbnail images, prices, and direct links

The Go sprint

Once the initial spec stopped wriggling, it went fast—eighteen small PRs over a long weekend:

Built to be neglected

Now 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.

That's most of what I want out of software, honestly: small, self-contained, home-cooked tools that quietly mind their own business.

And 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.

Comments loading...
Radio snooping, cow people, and the anxious GPU (Week 47)  Previous