@yldm-tech/ai-logo 1.14.0 → 1.16.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.
Files changed (2) hide show
  1. package/README.md +56 -46
  2. package/package.json +1 -1
package/README.md CHANGED
@@ -4,25 +4,20 @@
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
- **[ailogo.yldm.ai][site-link]** — browse all 1298 marks, every variant, in 11 languages.
10
+ **[ailogo.yldm.ai](https://ailogo.yldm.ai)** — browse all 1298 marks, every variant, in 11 languages.
11
11
 
12
- [Website][site-link] · [Changelog](./CHANGELOG.md) · [Report Bug][github-issues-link] · [Request Feature][github-issues-link]
12
+ [Website](https://ailogo.yldm.ai) · [Changelog](./CHANGELOG.md) · [Report Bug](https://github.com/yldm-tech/ai-logo/issues) · [Request Feature](https://github.com/yldm-tech/ai-logo/issues)
13
13
 
14
14
  <!-- SHIELD GROUP -->
15
15
 
16
- [![][npm-release-shield]][npm-release-link]
17
- [![][npm-downloads-shield]][npm-downloads-link]<br/>
18
- [![][github-releasedate-shield]][github-releasedate-link]
19
- [![][github-action-test-shield]][github-action-test-link]
20
- [![][github-action-release-shield]][github-action-release-link]<br/>
21
- [![][github-contributors-shield]][github-contributors-link]
22
- [![][github-forks-shield]][github-forks-link]
23
- [![][github-stars-shield]][github-stars-link]
24
- [![][github-issues-shield]][github-issues-link]
25
- [![][github-license-shield]][github-license-link]
16
+ [![npm version](https://img.shields.io/npm/v/%40yldm-tech%2Fai-logo?color=369eff\&labelColor=black\&logo=npm\&logoColor=white\&style=flat-square)](https://www.npmjs.com/package/@yldm-tech/ai-logo)
17
+ [![npm downloads](https://img.shields.io/npm/dt/%40yldm-tech%2Fai-logo?labelColor=black\&style=flat-square)](https://www.npmjs.com/package/@yldm-tech/ai-logo)<br/>
18
+ [![tests](https://img.shields.io/github/actions/workflow/status/yldm-tech/ai-logo/test.yml?label=test\&labelColor=black\&logo=githubactions\&logoColor=white\&style=flat-square)](https://github.com/yldm-tech/ai-logo/actions/workflows/test.yml)
19
+ [![release](https://img.shields.io/github/actions/workflow/status/yldm-tech/ai-logo/release.yml?label=release\&labelColor=black\&logo=githubactions\&logoColor=white\&style=flat-square)](https://github.com/yldm-tech/ai-logo/actions/workflows/release.yml)<br/>
20
+ [![license](https://img.shields.io/github/license/yldm-tech/ai-logo?color=white\&labelColor=black\&style=flat-square)](https://github.com/yldm-tech/ai-logo/blob/main/LICENSE)
26
21
 
27
22
  </div>
28
23
 
@@ -34,10 +29,11 @@ Contributions, corrections & requests can be made on GitHub.
34
29
  #### TOC
35
30
 
36
31
  - [📦 Installation](#-installation)
37
- - [I'm an Agent](#im-an-agent)
38
- - [I'm an Human](#im-an-human)
32
+ - [For agents](#for-agents)
33
+ - [For humans](#for-humans)
39
34
  - [Usage](#usage)
40
35
  - [Packages](#packages)
36
+ - [Go / MyGo](#go--mygo)
41
37
  - [🌐 Website](#-website)
42
38
  - [✨ Features](#-features)
43
39
  - [🤯 CDN Usage](#-cdn-usage)
@@ -56,7 +52,7 @@ Contributions, corrections & requests can be made on GitHub.
56
52
 
57
53
  ## 📦 Installation
58
54
 
59
- ### I'm an Agent
55
+ ### For agents
60
56
 
61
57
  Send this prompt to your agent to use ai-logo
62
58
 
@@ -64,7 +60,7 @@ Send this prompt to your agent to use ai-logo
64
60
  Read https://github.com/yldm-tech/ai-logo/blob/main/README.md and follow the instructions to use @yldm-tech/ai-logo.
65
61
  ```
66
62
 
67
- ### I'm an Human
63
+ ### For humans
68
64
 
69
65
  Install `@yldm-tech/ai-logo` and start using the icon set.
70
66
 
@@ -129,7 +125,7 @@ toc.map((entry) => entry.id); // "OpenAI", "Anthropic", …
129
125
  | <img src="https://github.com/user-attachments/assets/411f5124-9460-43dc-9d91-3d3c3da05b30" alt="React logo" width="48"> | **`@yldm-tech/ai-logo`** | [![npm](https://img.shields.io/npm/v/@yldm-tech/ai-logo)](https://www.npmjs.com/package/@yldm-tech/ai-logo) | ![NPM Downloads](https://img.shields.io/npm/dw/@yldm-tech/ai-logo) | [Source](https://github.com/yldm-tech/ai-logo/tree/main/src) |
130
126
  | <img src="https://github.com/user-attachments/assets/411f5124-9460-43dc-9d91-3d3c3da05b30" alt="React logo" width="48"> | **`ai-logo`** (alias) | [![npm](https://img.shields.io/npm/v/ai-logo)](https://www.npmjs.com/package/ai-logo) | ![NPM Downloads](https://img.shields.io/npm/dw/ai-logo) | [Source](https://github.com/yldm-tech/ai-logo/tree/main/packages/alias) |
131
127
 
132
- Four more packages carry the rendered files rather than React components. They have no code, no dependencies and no build — just the images, published at the same version as `@yldm-tech/ai-logo` so the whole set can be pinned together. Install one when you want the assets on disk; reach for [CDN Usage](#-cdn-usage) when you do not.
128
+ The published JavaScript packages share one release version. The main package contains the typed React components; the alias, static assets and React Native port serve narrower integration needs.
133
129
 
134
130
  | Package | Version | Downloads | Contents |
135
131
  | -------------------------------------- | --------------------------------------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------- | ------------------------------------------------------------ |
@@ -138,9 +134,37 @@ Four more packages carry the rendered files rather than React components. They h
138
134
  | **`@yldm-tech/ai-logo-static-webp`** | [![npm](https://img.shields.io/npm/v/@yldm-tech/ai-logo-static-webp)](https://www.npmjs.com/package/@yldm-tech/ai-logo-static-webp) | ![NPM Downloads](https://img.shields.io/npm/dw/@yldm-tech/ai-logo-static-webp) | `light/` and `dark/` WebP renders, the smallest of the three |
139
135
  | **`@yldm-tech/ai-logo-static-avatar`** | [![npm](https://img.shields.io/npm/v/@yldm-tech/ai-logo-static-avatar)](https://www.npmjs.com/package/@yldm-tech/ai-logo-static-avatar) | ![NPM Downloads](https://img.shields.io/npm/dw/@yldm-tech/ai-logo-static-avatar) | `avatars/` — one square WebP avatar per icon |
140
136
 
141
- The same files live in this repository under `packages/static-*`, which is what the CDN paths below and `getLobeIconCDN`'s jsDelivr and unpkg hosts resolve to.
137
+ The static package files live in this repository under `packages/static-*`. The CDN paths below and `getLobeIconCDN`'s jsDelivr and unpkg hosts resolve to those generated files.
142
138
 
143
- 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.
139
+ The React Native port, `@yldm-tech/ai-logo-rn`, lives under `packages/react-native`. It is private and not published; see [its README](./packages/react-native/README.md) for its current usage and limitations.
140
+
141
+ ### Go / MyGo
142
+
143
+ 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.
144
+
145
+ ```bash
146
+ go get github.com/yldm-tech/ai-logo/mygo
147
+ ```
148
+
149
+ The module is released with the same version line as the JavaScript packages. Pin it when you need reproducible builds:
150
+
151
+ ```bash
152
+ go get github.com/yldm-tech/ai-logo/mygo@latest
153
+ ```
154
+
155
+ Replace `latest` with a published `vX.Y.Z` tag when pinning a release.
156
+
157
+ ```go
158
+ import (
159
+ "github.com/egoist/mygo/ui"
160
+ ailogo "github.com/yldm-tech/ai-logo/mygo"
161
+ )
162
+
163
+ logo := ailogo.MustParse("openai", ailogo.Mono)
164
+ ui.Icon(c, logo).Size(24, 24)
165
+ ```
166
+
167
+ 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.
144
168
 
145
169
  <div align="right">
146
170
 
@@ -165,6 +189,7 @@ The site is translated into 11 languages — English, Simplified and Traditional
165
189
  ## ✨ Features
166
190
 
167
191
  - 🚀 **Lightweight & Scalable**: Icons are designed to be lightweight, utilizing highly optimized scalable vector graphics (SVG) for the best performance and quality.
192
+ - 🖥️ **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
193
  - 🌳 **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
194
  - 🎨 **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
195
 
@@ -1325,16 +1350,20 @@ $ pnpm start
1325
1350
 
1326
1351
  pnpm is required here rather than optional. The toolchain is [Vite+](https://viteplus.dev), which aliases `vite` to its own core through a catalog and overrides declared in `pnpm-workspace.yaml` — a file only pnpm reads. Installing with npm, yarn or bun resolves the real `vite` instead and `vp pack` refuses to run.
1327
1352
 
1328
- | Task | Command |
1329
- | ---------- | ---------------- |
1330
- | Install | `pnpm install` |
1331
- | Dev server | `pnpm start` |
1332
- | Build | `pnpm run build` |
1333
- | Test | `pnpm run test` |
1334
- | Lint | `pnpm run ci` |
1353
+ | Task | Command |
1354
+ | ------------- | ----------------------- |
1355
+ | Install | `pnpm install` |
1356
+ | Dev server | `pnpm start` |
1357
+ | Build | `pnpm run build` |
1358
+ | Static assets | `pnpm run build:static` |
1359
+ | MyGo assets | `pnpm run check:mygo` |
1360
+ | Test | `pnpm run test` |
1361
+ | Lint | `pnpm run ci` |
1335
1362
 
1336
1363
  `pnpm run build` regenerates `src/toc.json` and then runs `vp pack`, which bundles `src/index.ts` into `es/index.mjs` with types alongside.
1337
1364
 
1365
+ `pnpm run build:static` renders the committed SVG, PNG, WebP and avatar files, then rebuilds the compressed archives embedded by the MyGo module. Run `pnpm run check:mygo` after changing generated assets; it fails when either archive is out of sync.
1366
+
1338
1367
  <div align="right">
1339
1368
 
1340
1369
  [![][back-to-top]](#readme-top)
@@ -1396,26 +1425,7 @@ This project is [MIT](./LICENSE) licensed and derived from [lobe-icons](https://
1396
1425
  [codespaces-shield]: https://github.com/codespaces/badge.svg
1397
1426
  [contributors-contrib]: https://contrib.rocks/image?repo=yldm-tech/ai-logo
1398
1427
  [contributors-link]: https://github.com/yldm-tech/ai-logo/graphs/contributors
1399
- [github-action-release-link]: https://github.com/yldm-tech/ai-logo/actions/workflows/release.yml
1400
- [github-action-release-shield]: https://img.shields.io/github/actions/workflow/status/yldm-tech/ai-logo/release.yml?label=release&labelColor=black&logo=githubactions&logoColor=white&style=flat-square
1401
- [github-action-test-link]: https://github.com/yldm-tech/ai-logo/actions/workflows/test.yml
1402
- [github-action-test-shield]: https://img.shields.io/github/actions/workflow/status/yldm-tech/ai-logo/test.yml?label=test&labelColor=black&logo=githubactions&logoColor=white&style=flat-square
1403
- [github-contributors-link]: https://github.com/yldm-tech/ai-logo/graphs/contributors
1404
- [github-contributors-shield]: https://img.shields.io/github/contributors/yldm-tech/ai-logo?color=c4f042&labelColor=black&style=flat-square
1405
- [github-forks-link]: https://github.com/yldm-tech/ai-logo/network/members
1406
- [github-forks-shield]: https://img.shields.io/github/forks/yldm-tech/ai-logo?color=8ae8ff&labelColor=black&style=flat-square
1407
1428
  [github-issues-link]: https://github.com/yldm-tech/ai-logo/issues
1408
- [github-issues-shield]: https://img.shields.io/github/issues/yldm-tech/ai-logo?color=ff80eb&labelColor=black&style=flat-square
1409
- [github-license-link]: https://github.com/yldm-tech/ai-logo/blob/main/LICENSE
1410
- [github-license-shield]: https://img.shields.io/github/license/yldm-tech/ai-logo?color=white&labelColor=black&style=flat-square
1411
- [github-releasedate-link]: https://github.com/yldm-tech/ai-logo/releases
1412
- [github-releasedate-shield]: https://img.shields.io/github/release-date/yldm-tech/ai-logo?labelColor=black&style=flat-square
1413
- [github-stars-link]: https://github.com/yldm-tech/ai-logo/network/stargazers
1414
- [github-stars-shield]: https://img.shields.io/github/stars/yldm-tech/ai-logo?color=ffcb47&labelColor=black&style=flat-square
1415
- [npm-downloads-link]: https://www.npmjs.com/package/@yldm-tech/ai-logo
1416
- [npm-downloads-shield]: https://img.shields.io/npm/dt/%40yldm-tech%2Fai-logo?labelColor=black&style=flat-square
1417
- [npm-release-link]: https://www.npmjs.com/package/@yldm-tech/ai-logo
1418
- [npm-release-shield]: https://img.shields.io/npm/v/%40yldm-tech%2Fai-logo?color=369eff&labelColor=black&logo=npm&logoColor=white&style=flat-square
1419
1429
  [pr-welcome-link]: https://github.com/yldm-tech/ai-logo/pulls
1420
1430
  [pr-welcome-shield]: https://img.shields.io/badge/🤯_pr_welcome-%E2%86%92-ffcb47?labelColor=black&style=for-the-badge
1421
1431
  [site-link]: https://ailogo.yldm.ai
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@yldm-tech/ai-logo",
3
- "version": "1.14.0",
3
+ "version": "1.16.0",
4
4
  "description": "Popular AI / LLM Model Brand SVG Logo and Icon Collection",
5
5
  "keywords": [
6
6
  "ai icons",