Repository navigation
feat: show the brands' real full-colour logos in the catalogue - #8
Merged
Merged
Conversation
Replace the single-colour Simple Icons glyphs with full-colour logos on a white tile, like app icons. 99 of 118 services now have a logo, including Amazon Prime, Disney+, Microsoft 365, OneDrive, Adobe Creative Cloud, ChatGPT, Canva, Slack, LinkedIn, Xbox Game Pass and Nintendo Switch Online, which were monograms before. The others keep the coloured monogram. - Logos come from the theSVG (MIT), selfh.st (CC BY 4.0) and SVG Logos (CC0) sets on Iconify. `npm run logos` (tools/build-logos.mjs) reads only their JSON data, rejects active or external SVG content and writes icons/brands/<id>.svg plus a NOTICE.md with each file's source. - The logos are excluded from the MIT License (see icons/brands/NOTICE.md and the READMEs), with a removal path for trademark owners. - Logos are shown with <img>, precached by the service worker so they work offline, and fall back to the monogram if a file fails to load. - Catalogue colours keep the values previously taken from Simple Icons. - Remove js/core/icons.js and tools/build-icons.mjs; bump to 1.2.0. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01Mdn3BHeJ9s2a8wKKXwo2u2
`npm run logos` now also accepts "wikimedia:<file>" sources: the file is downloaded from Wikimedia Commons (cached in node_modules/.cache, with backoff on rate limits), optimised with svgo and checked like the others. NOTICE.md links each file to its Commons page for the licence. Adds the real logos of Mediaset Infinity+, WINDTRE, Calm and MasterClass, so 103 of 118 services now have one. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01Mdn3BHeJ9s2a8wKKXwo2u2
For "wikimedia:" logo sources, tools/build-logos.mjs now asks the Commons API for the file URL, licence and author, and lists them in NOTICE.md (needed for CC BY-SA files). Downloads honour the Retry-After header of 429 responses, and metadata and files are cached separately so a rebuild makes no requests. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01Mdn3BHeJ9s2a8wKKXwo2u2
|
The latest updates on your projects. Learn more about Vercel for GitHub. |
7 of 11 tasks
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Description
Replaces the single-colour Simple Icons glyphs with the brands' real full-colour logos, shown on a white tile like app icons (in both light and dark mode).
Sources and licensing
icons/brands/and are excluded from the MIT License.icons/brands/NOTICE.md(generated) lists the source and licence of each file, the trademark disclaimer, and how a trademark owner can ask for a logo to be removed. The READMEs say the same.Implementation
js/core/catalog.js: the fifth field is now a logo source, either'set:icon'or'wikimedia:File.svg'. Brand colours keep the values previously taken from Simple Icons.tools/build-logos.mjs(npm run logos):Retry-Afteron 429 responses;icons/brands/<id>.svgandNOTICE.md.js/ui.jsshows logos with<img>, so any SVG script would never run. If a file fails to load, the tile falls back to the monogram.sw.jsprecaches all logos, so they work offline and the app still makes no network requests.js/core/icons.jsandtools/build-icons.mjs. Version bumped to 1.2.0. Updated the CHANGELOG, CONTRIBUTING, the "new service" issue template and the README screenshots.Type of change
Checklist
npm testpasses (26/26, including a new test that checks catalogue ↔ files match and that every SVG is inert)js/core/i18n.js(no new strings)ST.VERSIONbumped if cached assets changed (sw.js→ASSETS)--no-save)Generated by Claude Code