Documentation
¶
Overview ¶
icon-import downloads provider icons from OpenRouter's events/all-providers.json into a target directory (typically the relay-ui repo's public/provider/ folder).
Usage:
go run ./cmd/icon-import -src ./events/all-providers.json -dst ../relay-ui/public/provider
File naming: <slug>.<ext>. Extension is inferred from the upstream Content-Type when possible, falling back to the URL path's suffix, then to .ico.
Click to show internal directories.
Click to hide internal directories.