A summary of data about the Ruby ecosystem.

https://github.com/github/gemoji

Emoji images and names.
https://github.com/github/gemoji

Keywords

emoji ruby rubygem unicode

Keywords from Contributors

activerecord activejob mvc ruby-gem rack rubygems crash-reporting rspec json-parser sinatra

Last synced: about 17 hours ago
JSON representation

Repository metadata

Emoji images and names.

README.md

gemoji

This library contains character information about native emojis.

Installation

Add gemoji to your Gemfile.

gem 'gemoji'

Example Rails Helper

This would allow emojifying content such as: it's raining :cat:s and :dog:s!

See the Emoji cheat sheet for more examples.

module EmojiHelper
  def emojify(content)
    h(content).to_str.gsub(/:([\w+-]+):/) do |match|
      if emoji = Emoji.find_by_alias($1)
        %(<img alt="#$1" src="#{image_path("emoji/#{emoji.image_filename}")}" style="vertical-align:middle" width="20" height="20" />)
      else
        match
      end
    end.html_safe if content.present?
  end
end

Unicode mapping

Translate emoji names to unicode and vice versa.

>> Emoji.find_by_alias("cat").raw
=> "🐱"  # Don't see a cat? That's U+1F431.

>> Emoji.find_by_unicode("\u{1f431}").name
=> "cat"

Adding new emoji

You can add new emoji characters to the Emoji.all list:

emoji = Emoji.create("music") do |char|
  char.add_alias "song"
  char.add_unicode_alias "\u{266b}"
  char.add_tag "notes"
end

emoji.name #=> "music"
emoji.raw  #=> "♫"
emoji.image_filename #=> "unicode/266b.png"

# Creating custom emoji (no Unicode aliases):
emoji = Emoji.create("music") do |char|
  char.add_tag "notes"
end

emoji.custom? #=> true
emoji.image_filename #=> "music.png"

As you create new emoji, you must ensure that you also create and put the images
they reference by their image_filename to your assets directory.

You can customize image_filename with:

emoji = Emoji.create("music") do |char|
  char.image_filename = "subdirectory/my_emoji.gif"
end

For existing emojis, you can edit the list of aliases or add new tags in an edit block:

emoji = Emoji.find_by_alias "musical_note"

Emoji.edit_emoji(emoji) do |char|
  char.add_alias "music"
  char.add_unicode_alias "\u{266b}"
  char.add_tag "notes"
end

Emoji.find_by_alias "music"       #=> emoji
Emoji.find_by_unicode "\u{266b}"  #=> emoji

Owner metadata


GitHub Events

Total
Last Year

Committers metadata

Last synced: about 19 hours ago

Total Commits: 370
Total Committers: 45
Avg Commits per committer: 8.222
Development Distribution Score (DDS): 0.657

Commits in past year: 0
Committers in past year: 0
Avg Commits per committer in past year: 0.0
Development Distribution Score (DDS) in past year: 0.0

Name Email Commits
Mislav Marohnić m****c@g****m 127
Joshua Peek j****h@j****m 73
Trevor Turk t****k@g****m 69
Javan Makhmali j****n@j****s 16
Julia West j****a@g****m 15
Jamie Dihiansan j****e@3****m 10
Dan Thompson d****n@g****m 5
Job 5****s 4
Kristján Oddsson k****n@g****m 4
Adam Roben a****m@r****g 3
Ashwin Maroli a****i@g****m 3
Jeremy Kemper j****r@g****m 3
Ville Lautanala l****s@g****m 2
Skunk s****b 2
Rick Bradley r****k@r****m 2
Coby Chapple c****y@c****m 2
Billie Thompson b****e@b****m 2
Alexander Kotov a****v@g****m 1
Brandon Keepers b****s@g****m 1
Charlotte Van Petegem c****m@u****e 1
Emmar Kardeslik e****k@g****m 1
Gavin Miller g****r@g****m 1
franciscorode f****e@h****m 1
Zack Koppert z****t@g****m 1
TheRakken e****r@g****m 1
Ted Nyman t****d@t****o 1
Shay Frendt s****t@g****m 1
Ryunosuke SATO t****s@g****m 1
Ryan Senkbeil r****0@g****m 1
Rob Rix r****x@g****m 1
and 15 more...

Committer domains:


Issue and Pull Request metadata

Last synced: 7 days ago

Total issues: 80
Total pull requests: 80
Average time to close issues: 6 months
Average time to close pull requests: 5 months
Total issue authors: 65
Total pull request authors: 42
Average comments per issue: 1.6
Average comments per pull request: 1.49
Merged pull request: 27
Bot issues: 0
Bot pull requests: 7

Past year issues: 10
Past year pull requests: 6
Past year average time to close issues: 12 days
Past year average time to close pull requests: 3 months
Past year issue authors: 6
Past year pull request authors: 4
Past year average comments per issue: 0.2
Past year average comments per pull request: 0.33
Past year merged pull request: 0
Past year bot issues: 0
Past year bot pull requests: 3

More stats: https://issues.ecosyste.ms/repositories/lookup?url=https://github.com/github/gemoji

Top Issue Authors

  • myltik1702 (5)
  • Crissov (3)
  • xPaw (3)
  • YuriGor (2)
  • arroselli (2)
  • aba8791 (2)
  • Hengsunhour (2)
  • Satthawut2547 (2)
  • rhysd (2)
  • Grant1tnarg (2)
  • jasongorst (1)
  • Rhysmatthew12 (1)
  • shawndavis11123 (1)
  • omaijdot (1)
  • tchret (1)

Top Pull Request Authors

  • mislav (10)
  • dependabot[bot] (7)
  • Diamondb32 (6)
  • koddsson (5)
  • ashmaroli (4)
  • rhysd (4)
  • Crissov (3)
  • ktb30 (2)
  • JuanitoFatas (2)
  • fzlzjerry (2)
  • r-skinner (2)
  • PurpleBooth (2)
  • hloeung (2)
  • perlun (1)
  • redstone-scratch (1)

Top Issue Labels

  • invalid (4)
  • help wanted (1)

Top Pull Request Labels

  • github_actions (5)
  • ospo-dependency-license-alert (4)
  • dependencies (3)
  • ruby (2)

Package metadata

gem.coop: gemoji

Character information and metadata for Unicode emoji.

  • Homepage: https://github.com/github/gemoji
  • Documentation: http://www.rubydoc.info/gems/gemoji/
  • Licenses: MIT
  • Latest release: 4.1.0 (published almost 3 years ago)
  • Last Synced: 2026-03-02T09:33:18.907Z (about 21 hours ago)
  • Versions: 25
  • Dependent Packages: 0
  • Dependent Repositories: 0
  • Downloads: 54,743,579 Total
  • Docker Downloads: 560,511,234
  • Rankings:
    • Dependent repos count: 0.0%
    • Dependent packages count: 0.0%
    • Average: 0.163%
    • Docker downloads count: 0.169%
    • Downloads: 0.483%
  • Maintainers (4)
rubygems.org: gemoji

Character information and metadata for Unicode emoji.

  • Homepage: https://github.com/github/gemoji
  • Documentation: http://www.rubydoc.info/gems/gemoji/
  • Licenses: MIT
  • Latest release: 4.1.0 (published almost 3 years ago)
  • Last Synced: 2026-03-02T03:02:10.505Z (1 day ago)
  • Versions: 25
  • Dependent Packages: 66
  • Dependent Repositories: 337,940
  • Downloads: 54,734,319 Total
  • Docker Downloads: 560,511,234
  • Rankings:
    • Dependent repos count: 0.062%
    • Docker downloads count: 0.249%
    • Stargazers count: 0.308%
    • Average: 0.402%
    • Dependent packages count: 0.434%
    • Downloads: 0.559%
    • Forks count: 0.801%
  • Maintainers (4)
proxy.golang.org: github.com/github/gemoji

  • Homepage:
  • Documentation: https://pkg.go.dev/github.com/github/gemoji#section-documentation
  • Licenses: mit
  • Latest release: v4.1.0+incompatible (published almost 3 years ago)
  • Last Synced: 2026-02-28T13:00:30.338Z (3 days ago)
  • Versions: 25
  • Dependent Packages: 0
  • Dependent Repositories: 0
  • Rankings:
    • Dependent packages count: 6.999%
    • Average: 8.173%
    • Dependent repos count: 9.346%
conda-forge.org: rb-gemoji

  • Homepage: https://rubygems.org/gems/gemoji
  • Licenses: MIT
  • Latest release: 3.0.1 (published over 6 years ago)
  • Last Synced: 2026-02-03T17:42:55.548Z (28 days ago)
  • Versions: 1
  • Dependent Packages: 1
  • Dependent Repositories: 1
  • Rankings:
    • Stargazers count: 5.559%
    • Forks count: 5.734%
    • Average: 16.16%
    • Dependent repos count: 24.367%
    • Dependent packages count: 28.978%

Dependencies

.github/workflows/test.yml actions
  • actions/checkout v3 composite
  • ruby/setup-ruby v1 composite
Gemfile rubygems
  • i18n ~> 1.8.5
  • minitest ~> 5.3.5
  • rake ~> 10.3.2
Gemfile.lock rubygems
  • concurrent-ruby 1.1.7
  • gemoji 4.0.1
  • i18n 1.8.5
  • minitest 5.3.5
  • rake 10.3.2
gemoji.gemspec rubygems

Score: 33.15852773393912