This repository provides a copy of the Twemoji image set, optimized for the web.
The simplest way to use this image set is to use jsDelivr's CDN service:
<img width="40" height="40" src="https://cdn.jsdelivr.net/gh/s9e/emoji-assets-twemoji/dist/svgz/1f929.svgz">
You can read about the scheme used for filenames in the section below .
You will need Bash, npm and zopfli installed. Run scripts/init.sh
to install git submodules and svgo, then run
scripts/build.sh
to rebuild the files in the dist
directory. The process is single threaded and will take several minutes.
Images in the dist
directory are derived from the Twemoji images.
Filenames have been normalized and the SVG content has been minified with SVGO before being compressed with zopfli.
- Tools in the
scripts
directory are under the MIT license. - Images in the
dist
directory are licensed under CC-BY 4.0, Copyright Twitter, Inc and other contributors. Read about attribution requirements.
- SVG content has been minified with SVGO.
- SVG files have been compressed with zopfli to produce SVGZ files.
- Filenames have been normalized to use 4- and 5- digits hex values, and exclude
200f
andfe0f
. For instance, the image nameda9.svg
in Twemoji is available as00a9.svgz
in this repository.
This repository is not open for external contributions. If you have a suggestion that pertains exclusively to this repository, you can open a new issue to discuss it. If you have a suggestion or a pull request that pertains to the art, please direct it to their author.