How syvixor/skills-icons works
Skills Icons is an Express API that turns requested technology names into a composed SVG badge, and also exposes an endpoint listing available icons. The main flow is request, name resolution, asset loading and customization, SVG composition, then response. The README also documents a separate visual builder, which the server redirects to. Source excerpts show these runtime relationships; the icon collection is represented as a filesystem asset store.
Main entry points: routes/index.ts Icon Route · src/index.ts Express Server · icons SVG Icon Files · utils/index.ts Error Response
Components 12
API Runtime
- Express Server
src/index.ts - Icon Route
src/routes/index.ts - Catalog Route
src/routes/index.ts - Name Mapping
src/routes/index.ts
Icon Assets
- SVG Icon Files
icons - Icon File Access
src/routes/index.ts - Catalog Metadata
src/routes/index.ts
SVG Rendering
- SVG Composer
src/utils/index.ts - Error Response
src/utils/index.ts
Other components
- API Consumer
- Visual Builder
- Raw GitHub URLs
Connections 16
- API Consumer → Express Server: requests icons
README.md - Express Server → Visual Builder: redirects to
src/index.ts - Express Server → Icon Route: mounts API
src/index.ts - Express Server → Error Response: handles fallback
src/index.ts - Icon Route → Name Mapping: resolves names
src/routes/index.ts - Icon Route → Icon File Access: reads requested
src/routes/index.ts - Icon File Access → SVG Icon Files: loads SVGs
src/routes/index.ts - Icon Route → SVG Composer: composes badge
src/routes/index.ts - Icon Route → Error Response: sends errors
src/routes/index.ts - Icon Route → API Consumer: returns SVG
src/routes/index.ts - Express Server → Catalog Route: mounts API
src/index.ts - Catalog Route → Icon File Access: reads directory
src/routes/index.ts - Catalog Route → Catalog Metadata: extracts titles
src/routes/index.ts - Catalog Metadata → SVG Icon Files: reads SVG content
src/routes/index.ts - Catalog Route → Raw GitHub URLs: returns asset URLs
src/routes/index.ts - Catalog Route → API Consumer: returns catalog
src/routes/index.ts