@yldm-tech/ai-logo 1.14.0 → 1.15.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +23 -1
- package/package.json +1 -1
package/README.md
CHANGED
|
@@ -4,7 +4,7 @@
|
|
|
4
4
|
|
|
5
5
|
<h1>AI Logo</h1>
|
|
6
6
|
|
|
7
|
-
Popular AI / LLM Model Brand SVG Logo and Icon Collection for React.<br/>
|
|
7
|
+
Popular AI / LLM Model Brand SVG Logo and Icon Collection for React, Go and MyGo.<br/>
|
|
8
8
|
Contributions, corrections & requests can be made on GitHub.
|
|
9
9
|
|
|
10
10
|
**[ailogo.yldm.ai][site-link]** — browse all 1298 marks, every variant, in 11 languages.
|
|
@@ -38,6 +38,7 @@ Contributions, corrections & requests can be made on GitHub.
|
|
|
38
38
|
- [I'm an Human](#im-an-human)
|
|
39
39
|
- [Usage](#usage)
|
|
40
40
|
- [Packages](#packages)
|
|
41
|
+
- [Go / MyGo](#go--mygo)
|
|
41
42
|
- [🌐 Website](#-website)
|
|
42
43
|
- [✨ Features](#-features)
|
|
43
44
|
- [🤯 CDN Usage](#-cdn-usage)
|
|
@@ -142,6 +143,26 @@ The same files live in this repository under `packages/static-*`, which is what
|
|
|
142
143
|
|
|
143
144
|
A fifth package, `@yldm-tech/ai-logo-rn`, ports the icons to `react-native-svg` and lives under `packages/react-native`. It is `private` and not published — see [its README](./packages/react-native/README.md) for why and for what using it today involves.
|
|
144
145
|
|
|
146
|
+
### Go / MyGo
|
|
147
|
+
|
|
148
|
+
The [`github.com/yldm-tech/ai-logo/mygo`](./mygo) Go module packages the same vector SVG variants for [MyGo](https://github.com/egoist/mygo) native UI apps. It parses marks lazily, so an app only pays for the icons it requests. The optional `github.com/yldm-tech/ai-logo/mygo/avatar` subpackage provides the rendered WebP avatars.
|
|
149
|
+
|
|
150
|
+
```bash
|
|
151
|
+
go get github.com/yldm-tech/ai-logo/mygo
|
|
152
|
+
```
|
|
153
|
+
|
|
154
|
+
```go
|
|
155
|
+
import (
|
|
156
|
+
"github.com/egoist/mygo/ui"
|
|
157
|
+
ailogo "github.com/yldm-tech/ai-logo/mygo"
|
|
158
|
+
)
|
|
159
|
+
|
|
160
|
+
logo := ailogo.MustParse("openai", ailogo.Mono)
|
|
161
|
+
ui.Icon(c, logo).Size(24, 24)
|
|
162
|
+
```
|
|
163
|
+
|
|
164
|
+
Available vector variants are `Mono`, `Color`, `Text`, `TextColor`, `TextCn`, `Brand` and `BrandColor`. See [`mygo/README.md`](./mygo/README.md) for lookup, CDN and avatar examples.
|
|
165
|
+
|
|
145
166
|
<div align="right">
|
|
146
167
|
|
|
147
168
|
[![][back-to-top]](#readme-top)
|
|
@@ -165,6 +186,7 @@ The site is translated into 11 languages — English, Simplified and Traditional
|
|
|
165
186
|
## ✨ Features
|
|
166
187
|
|
|
167
188
|
- 🚀 **Lightweight & Scalable**: Icons are designed to be lightweight, utilizing highly optimized scalable vector graphics (SVG) for the best performance and quality.
|
|
189
|
+
- 🖥️ **Go and MyGo**: The `github.com/yldm-tech/ai-logo/mygo` module brings the same vector variants and optional avatars to native MyGo desktop applications, with lazy parsing and offline embedded assets.
|
|
168
190
|
- 🌳 **Tree Shakable**: Importing a brand directly — `import { OpenAI } from "@yldm-tech/ai-logo"` — pulls in that brand and nothing else, around 216 kB against the full set. The lookup components are the exception: `ProviderIcon`, `ModelIcon` and `AgentIcon` resolve an arbitrary id string at runtime, so they necessarily carry their whole mapping table and cost roughly 1.7 MB. Reach for them when the id is dynamic, and for the brand export when it is not. Both sizes are pinned by a budget in `apps/site/treeshake`.
|
|
169
191
|
- 🎨 **Every Major Model**: 1298 brands — AI companies, models and applications, plus mainstream services beyond AI: social networks, developer tools, productivity apps, media, gaming, payments, commerce, travel, hardware and automotive. Every one ships a mono mark, and most add some combination of color, text, combined and avatar variants — which ones a given brand has is listed on [the website][site-link] and attached in `src/<Brand>/index.ts`. The non-AI services are ported from [Simple Icons](https://simpleicons.org) and ship mono, color and avatar variants; see [THIRD\_PARTY\_NOTICES.md](./THIRD_PARTY_NOTICES.md) for their licensing.
|
|
170
192
|
|