Files
stupid-simple-network-inven…/frontend
olivier 5001ce192d feat: auto-map all 3098 simple-icons via import * and word-boundary detection
Replace hand-curated named imports with `import * as si from 'simple-icons'`.
BRANDS keeps only entries requiring custom aliases, absent icons, or colour
overrides. AUTO_SI covers all remaining simple-icons (title >= 4 chars) with
pre-compiled word-boundary regexes to avoid substring false positives.

detectBrands() now runs two passes:
1. BRANDS — curated aliases (pve → Proxmox, unifi → Ubiquiti, k3s → k8s…)
2. AUTO_SI — automatic match on any icon title as a whole word

Bundle: +5 MB minified / +2 MB gzip (acceptable for a self-hosted tool).

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
2026-05-22 09:09:33 +02:00
..