Skip to content
This repository

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP

Quick Ruby rake task for generating CSS and tiled image for displaying emoji in browsers.

branch: master
Octocat-spinner-32 assets initial import January 27, 2011
Octocat-spinner-32 lib initial import January 27, 2011
Octocat-spinner-32 LICENSE add license + readme January 27, 2011
Octocat-spinner-32 README.md add license + readme January 27, 2011
Octocat-spinner-32 Rakefile initial import January 27, 2011
README.md

Emoji CSS Builder

A simple tool for helping you display emoji in web browsers.

What you get

  • Tiled image of the emoji icons for efficient retrieval.
  • Generated CSS classes for each icon.
  • Sample HTML5 demo.

What you need

  • Any Ruby
  • ImageMagick (or more specifically, the montage command)

What you do

Just require emoji_css_builder:

# Build the default iphone emoji set
EmojiCSSBuilder.build(:iphone, "/path/to/assets")

# Build a subset of the iphone emoji:
EmojiCSSBuilder.build(:iphone, "/path/to/assets", 
  %w(e001 e002 e00d))

Or use rake:

rake emoji DEST=/path/to/assets
rake emoji DEST=/path/to/assets SET=iphone
rake emoji DEST=/path/to/assets SET=iphone ICONS=e001,e002,e00d

What I need

  • Images and icon sets for more

Whom you should thank

Something went wrong with that request. Please try again.