Emoji

By default, Swarm uses a font to provide EmojiEmoji is a Japanese term for ideograms, emoticons, or smileys that can be used to express emotions in electronic messages. See the Emoji Cheat Sheet for Emoji common to many web applications. images. Swarm can make use of Emoji images from the Gemoji project. Gemoji provides support for more Emojis and works on more browsers and platforms than the font Swarm normally uses.

Due to licensing issues, Gemoji cannot be distributed with Swarm. You can use the Gemoji images after following these steps:

  1. Download the latest release (currently 3.0.0) of the Gemoji project from their releases page.
  2. Unpack the release archive into SWARM_ROOT/public/vendor.

    After unpacking, you should see a new folder: SWARM_ROOT/public/vendor/gemoji-3.0.0

    3.0.0 represents the version of Gemoji, which may differ if you downloaded a different or newer release.

  3. Rename the new folder:

    $ cd SWARM_ROOT/public/vendor
    $ mv gemoji-3.0.0 gemoji

    Replace 3.0.0 in the above command if you have downloaded a different or newer release of Gemoji.

  4. Ensure that the new images are readable.

    $ cd SWARM_ROOT/public/vendor
    $ chmod -R +r gemoji

Swarm detects and uses Gemoji images automatically.