← Commit history

Initial commit: app/chip-fetcher

John Lauer ·8d9efe5810 ·4mo ago
2 files changed +79
README.mdadded+46
@@ -0,0 +1,46 @@+# chip-fetcher++**Download manufacturer-grade chip CAD bundles — 3D STEP + KiCad symbol & footprint + Fusion `.lbr` + datasheet — into a structured library, and open or ship each part straight to your EDA tool.**++chip-fetcher drives a real Chrome session through a manufacturer-first sourcing ladder (Manufacturer → SnapEDA → Mouser → DigiKey → Arrow → Ultra Librarian → Component Search Engine), pulls the CAD bundle for a part, validates it, and lands it in `library/<MPN>/`. A live dashboard then turns every chip into a launch-pad for the rest of the Adom EDA family. Standalone Rust — no Node, no gallia, no local KiCad (rendering goes through the shared `service-kicad`).++## The dashboard++Every fetched chip is a card with live thumbnails:++- **SYM / FP** tiles — the schematic symbol and PCB footprint, each with a **▾ source carat**: when a part was pulled from more than one vendor (SnapEDA · Ultra Librarian · Component Search · ds2sf-from-datasheet), tap to switch and the tile re-renders to that source. Pick the one you trust.+- **3D** tiles — Z↑ / Y↑ orientation previews of the real STEP model (and a ▾ for all six face-up axes).+- **.lbr** tile — builds a true EAGLE library on demand.+- **Projects** — pin a working set of parts behind a filter chip.++### Open in / Send to++Select a chip and the detail panel (tabbed: **Actions · Details · Files**) gives you:++- **Open in** — `adom-symbol`, `adom-footprint`, `adom-lbr`, `adom-3D`, `chipsmith`, `ds2sf extraction`. Opens in *your* browser via `window.open`, so it works on a phone, in a pup window, or a Hydrogen webview — and a toast tells you exactly how it opened.+- **Send to** — KiCad (native symbol + footprint), Fusion 360 (real `.lbr`), Altium / OrCAD (`.lbr` download + import steps; native exporters on the roadmap).++## The source-site skill pack++The per-vendor navigation knowledge lives **in this repo** as an extensible skill pack (`skills/`): one skill per site (SnapEDA, DigiKey, Mouser, Ultra Librarian, manufacturer-direct), each documenting how to reach the CAD download — *and how to recover when a site changes or blocks automation*. Third parties contribute new site skills by PR, or by linking their own self-updating skill repo. See `skills/CONTRIBUTING.md`.++## Part of the Adom EDA family++chip-fetcher is the hub; it hands parts to the standalone apps it ships alongside:++- **adom-symbol** — interactive schematic symbol, with the chip's 3D model marked on it.+- **adom-footprint** — PCB footprint with a layers HUD and the **InstaPCB 300 µm solder-paste dispensing dots**.+- **adom-lbr** — EAGLE `.lbr` generator + Fusion-360 linter.+- **ds2sf** — datasheet → symbol + footprint extraction.++## Run it++```bash+chip-fetcher serve            # the live dashboard (AI-drivable: /api/library, /api/open, …)+chip-fetcher fetch <MPN>      # source a part into the library+chip-fetcher sources          # print the canonical sourcing ladder+```++## Contribute++MIT, contributions welcome. The highest-leverage place to help is the **source-site skill pack** — if you've figured out how to navigate a vendor's site (or get past a fresh block), add a site skill and open a PR. Code lives at `/home/adom/project/chip-fetcher`.
page.jsonadded+33
@@ -0,0 +1,33 @@+{+  "schema_version": 1,+  "slug": "chip-fetcher",+  "type": "app",+  "version": "1.0.0",+  "title": "chip-fetcher",+  "brief": "Download manufacturer-grade chip CAD bundles (STEP + KiCad sym/footprint + Fusion .lbr + datasheet) into a structured library, and open or ship each part to your EDA tool.",+  "readme": "# chip-fetcher\n\n**Download manufacturer-grade chip CAD bundles — 3D STEP + KiCad symbol & footprint + Fusion `.lbr` + datasheet — into a structured library, and open or ship each part straight to your EDA tool.**\n\nchip-fetcher drives a real Chrome session through a manufacturer-first sourcing ladder (Manufacturer → SnapEDA → Mouser → DigiKey → Arrow → Ultra Librarian → Component Search Engine), pulls the CAD bundle for a part, validates it, and lands it in `library/<MPN>/`. A live dashboard then turns every chip into a launch-pad for the rest of the Adom EDA family. Standalone Rust — no Node, no gallia, no local KiCad (rendering goes through the shared `service-kicad`).\n\n## The dashboard\n\nEvery fetched chip is a card with live thumbnails:\n\n- **SYM / FP** tiles — the schematic symbol and PCB footprint, each with a **▾ source carat**: when a part was pulled from more than one vendor (SnapEDA · Ultra Librarian · Component Search · ds2sf-from-datasheet), tap to switch and the tile re-renders to that source. Pick the one you trust.\n- **3D** tiles — Z↑ / Y↑ orientation previews of the real STEP model (and a ▾ for all six face-up axes).\n- **.lbr** tile — builds a true EAGLE library on demand.\n- **Projects** — pin a working set of parts behind a filter chip.\n\n### Open in / Send to\n\nSelect a chip and the detail panel (tabbed: **Actions · Details · Files**) gives you:\n\n- **Open in** — `adom-symbol`, `adom-footprint`, `adom-lbr`, `adom-3D`, `chipsmith`, `ds2sf extraction`. Opens in *your* browser via `window.open`, so it works on a phone, in a pup window, or a Hydrogen webview — and a toast tells you exactly how it opened.\n- **Send to** — KiCad (native symbol + footprint), Fusion 360 (real `.lbr`), Altium / OrCAD (`.lbr` download + import steps; native exporters on the roadmap).\n\n## The source-site skill pack\n\nThe per-vendor navigation knowledge lives **in this repo** as an extensible skill pack (`skills/`): one skill per site (SnapEDA, DigiKey, Mouser, Ultra Librarian, manufacturer-direct), each documenting how to reach the CAD download — *and how to recover when a site changes or blocks automation*. Third parties contribute new site skills by PR, or by linking their own self-updating skill repo. See `skills/CONTRIBUTING.md`.\n\n## Part of the Adom EDA family\n\nchip-fetcher is the hub; it hands parts to the standalone apps it ships alongside:\n\n- **adom-symbol** — interactive schematic symbol, with the chip's 3D model marked on it.\n- **adom-footprint** — PCB footprint with a layers HUD and the **InstaPCB 300 µm solder-paste dispensing dots**.\n- **adom-lbr** — EAGLE `.lbr` generator + Fusion-360 linter.\n- **ds2sf** — datasheet → symbol + footprint extraction.\n\n## Run it\n\n```bash\nchip-fetcher serve            # the live dashboard (AI-drivable: /api/library, /api/open, …)\nchip-fetcher fetch <MPN>      # source a part into the library\nchip-fetcher sources          # print the canonical sourcing ladder\n```\n\n## Contribute\n\nMIT, contributions welcome. The highest-leverage place to help is the **source-site skill pack** — if you've figured out how to navigate a vendor's site (or get past a fresh block), add a site skill and open a PR. Code lives at `/home/adom/project/chip-fetcher`.\n",+  "install": {+    "binary_name": "chip-fetcher",+    "install_dir": "",+    "install_hint": "",+    "version_cmd": ""+  },+  "author": {+    "id": "6738b00a4dc87b8adbb0a5a3",+    "name": "John Lauer",+    "email": "[email protected]"+  },+  "tags": [],+  "license": "proprietary",+  "visibility": {+    "public": true+  },+  "hero": null,+  "sample_prompts": [],+  "discovery_triggers": [],+  "discovery_pitch": null,+  "metadata": {},+  "created_at": "2026-06-21T21:33:53.734Z",+  "updated_at": "2026-06-21T21:33:53.734Z",+  "skills": []+}\ No newline at end of file