Emoji

By default, Swarm uses a font to provide Emoji 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 2.1.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-2.1.0

    2.1.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-2.1.0 gemoji
    

    Replace 2.1.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.