This repository contains custom libraries to enable importing Twitter's twemoji images into your diagrams.
Clone the repository
git clone https://github.com/xsalazar/drawio-twemoji-library.git
Install packages
npm install
Run the script
node index.js
The script will scrape the SVG images from the Twemoji CDN and put them in a local downloads/
directory, further organized with their "Categories" as subdirectories, e.g. downloads/Activities
, downloads/Animals & Nature
.
This repository already includes the XML libraries to use directly with diagrams.net (formerly draw.io).
The following links will quick-load the libraries into a new diagram in your browser. This is useful to see which emojis are in which packs.
- Activities
- Animals and Nature
- Flags
- Food and Drink
- Objects
- People and Body
- Skin Tones
- Smileys and Emotion
- Symbols
- Travel and Places
Download the XML library you wish to use from the libraries in this repository.
Import them into your application through File > Open Library from > Device...
and upload the file.
Further instructions here: https://www.drawio.com/blog/public-custom-libraries
To import these libraries into the VSCode drawio plugin, load a local diagram, import via File > Import
, and choose the local library XML file.