AdapterBuilder: a parts finder built from 17,697 messy product listings
My own product. Live at adapterbuilder.com · How it selects parts
17,697
product listings collected and sorted by their two ends. The finder uses only the ones that state both ends clearly.
- Problem
- Adapters and fittings are sold under titles like “1/4 Inch Barb x 1/2 Inch NPT, Brass Air Hose Fittings (2 Pack)”. The facts that matter (thread standard, size, and whether each end is male or female) are somewhere in that free text, written a dozen ways, when they're there at all. I wanted a tool that starts from the two ends you already have and finds the parts that join them.
- What I did
- Collected the listings into one database. A parser groups the titles into families, and each candidate listing then gets its own review: both ends, material and pack count. New listings get in only when the parser and the review agree and both ends are stated clearly. The parts that pass form a typed graph, and a shortest-route search chains up to four of them, rigid parts first, a hose only when a real hose with the right inside diameter and a stated length exists.
- Result
- Over 2,500 parts so far, with a review of every listing under way. 14 connection standards, from NPT and garden hose thread to tri-clamp, cam-and-groove and PEX, in sizes from 1/8 inch to 4 inches. Each result comes with a connection diagram, the assembly order and a parts list. 120 automated tests route every published part in both directions. It runs on free static hosting with no server-side search.
- Lesson
- Most of the data wasn't good enough, and saying so is part of the product. A listing that doesn't state both ends stays out, so a missing result means “no match in the catalog”, never a wrong part. A distributor's catalogue needs the same job.
