xsalazar / drawio-twemoji-library

🐦 Twitter Emoji Libraries for use with draw.io and diagrams.net. Works with the VSCode drawio plugin!

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

draw.io / diagrams.net Twemoji Icon Libraries

This repository contains custom libraries to enable importing Twitter's twemoji images into your diagrams.

Install

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.

Usage

This repository already includes the XML libraries to use directly with diagrams.net (formerly draw.io).

Automatic Import URLs

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.

Manual Import

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

VSCode Support

To import these libraries into the VSCode drawio plugin, load a local diagram, import via File > Import, and choose the local library XML file.

About

🐦 Twitter Emoji Libraries for use with draw.io and diagrams.net. Works with the VSCode drawio plugin!


Languages

Language:JavaScript 100.0%