Skip to content

extension-js/media

Repository files navigation

Media

Canonical asset store for Extension.js projects and friends.

CDN (recommended)

  • Latest (main): https://cdn.jsdelivr.net/gh/extension-js/media@main/<path>
  • Version/tag-pin: https://cdn.jsdelivr.net/gh/extension-js/media@vX.Y.Z/<path>
  • Commit-pin (immutable): https://cdn.jsdelivr.net/gh/extension-js/media@<commit>/<path>

Raw (fallback)

  • Latest: https://raw.githubusercontent.com/extension-js/media/main/<path>
  • Commit-pin: https://raw.githubusercontent.com/extension-js/media/<commit>/<path>

Usage

Markdown:

![Logo](https://cdn.jsdelivr.net/gh/extension-js/media@main/logo.png)
![X banner](https://cdn.jsdelivr.net/gh/extension-js/media@main/x_banner.png)
![Discord banner](https://cdn.jsdelivr.net/gh/extension-js/media@main/discord_banner.png)

HTML:

<img src="https://cdn.jsdelivr.net/gh/extension-js/media@main/browser_logos/chrome.svg" alt="Chrome"/>
<img src="https://cdn.jsdelivr.net/gh/extension-js/media@main/framework_logos/react.svg" alt="React"/>

Tip: On GitHub, press "y" on a file page to permalink to a commit, then use that commit hash in the jsDelivr URL for a never-changing link.

Conventions

  • Filenames: lowercase, kebab-case, extensions lowercase.
  • Prefer SVG when available; provide PNG fallback (256px/512px) when needed.
  • Keep assets under category folders (browser_logos/, framework_logos/, platform_logos/, store_logos/).

Converter (optional)

Use file_converter.mjs to generate PNGs from SVGs:

node file_converter.mjs . --recursive --max 1024

License

MIT (c) Cezar Augusto.

Releases

No releases published

Sponsor this project

  •  

Packages

No packages published