icon-import

command
v0.9.2 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jul 5, 2026 License: Apache-2.0 Imports: 12 Imported by: 0

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.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL