Bring a trailer…map.
If you’ve not heard of BringATrailer.com, then you’ll likely not be into cars too heavily. It’s a pretty simple concept — an auction site specifically for cars; they tend to be on the older and more unique end of the spectrum. A couple of examples:


It’s an eclectic mix, but one where most car lovers would find something interesting. However, for me, the lack of a map has been a itch I’ve wanted to scratch (a few other users have asked) for a while.
So, I built one. Every 20m, I pull a single page and then update all of the auctions, generate a map and put the latest pricing and title for each listing. The result is a map you can zoom around and easily find interesting local auctions.

Check it out here: https://bringatrailermap.rsmith.co/
How does it work?
It’s pretty hacky (but, that’s ok):
- every 20m, pull the https://bringatrailer.com/auctions/ page
- use ruby to process it, and split it in to individual auctions and save them in a folder as JSON
- separately process those into GeoJSON and build a static page. It uses Mapbox for the actual map, and is basically a customized version of this tutorial they have.
- add it all to git, and push to github (so, I can track changes over time to auctions — though I’m doing much with that right now)
- Netlify sees the push to gihub, then deploys the pre-built static site