I've been exploring how to make something similar for electronics. To be able to search for a part number and see 100s of subcircuits using that part in context would be just as helpful.
As GitHub has become a home for a lot of open source electronics, the challenge is two fold: (1) search git repos by part and (2) build a universal ECAD visualizer (most people just upload the design files).
Happy to hear how others might approach the visualizer problem. Representing schematics and layouts across ECAD formats is... messy.