app
Chip Fetcher (cf)
Public Made by Adomby adom
Crawls the web on your behalf to gather everything about the chips you care about: datasheets, symbols, footprints, 3D models, stock and pricing, straight from the manufacturer first, into your EDA tool. Say "cf" to your AI.
← Commit history
Source labels: ds2sf entry now reads 'ds2sf <Manufacturer>' instead of 'PDF Datasheet from <Manufacturer>'
2 files changed
+3−3
src/inventory.rs+2−2@@ -388,7 +388,7 @@ fn source_tags( // "Component Search Engine - KiCad Library" // "Component Search Engine - Altium Library" // "Component Search Engine - Fusion 360 Library"- // "PDF Datasheet from Texas Instruments (ti.com)"+ // "ds2sf Texas Instruments (ti.com)" let src = crate::provenance::source_label(&canon_disc, manufacturer); let has = |f: String| dir.join(f).is_file(); let mut tags = Vec::new();@@ -416,7 +416,7 @@ fn source_tags( let ds2sf_thumb = dir.join(format!("{mpn_prefix}-{thumb_kind}.ds2sf.svg")).is_file(); if dir.join(ds2sf_file).is_file() && ds2sf_thumb { let mfr = crate::provenance::source_label("manufacturer", manufacturer);- tags.push(SourceTag { method: "ds2sf".into(), label: format!("PDF Datasheet from {mfr}"), current: !has_canonical, thumb: true });+ tags.push(SourceTag { method: "ds2sf".into(), label: format!("ds2sf {mfr}"), current: !has_canonical, thumb: true }); } tags }
src/serve.rs+1−1@@ -967,7 +967,7 @@ fn per_source_breakdown(d: &std::path::Path, mpn: &str, has_global_step: bool) - } }); // The datasheet is fetched from the maker's own lit server → name the site.- lines.push(json!({ "label": format!("PDF Datasheet from {}", src_label("manufacturer")),+ lines.push(json!({ "label": format!("ds2sf {}", src_label("manufacturer")), "sym": ds_sym, "fp": ds_fp, "three_d": has_global_step, "three_d_from_lib": false, "step_source": step_source, "step_url": step_url, "files": files, "note": note })); }