Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Quick Ruby rake task for generating CSS and tiled image for displaying emoji in browsers.
Ruby
branch: master
Failed to load latest commit information.
assets/iphone initial import
lib initial import
LICENSE add license + readme
README.md add license + readme
Rakefile initial import

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.