mozilla / standup

web app that logs daily standup updates
https://www.standu.ps
BSD 3-Clause "New" or "Revised" License
65 stars 32 forks source link

support emoji #89

Open willkg opened 12 years ago

willkg commented 12 years ago

http://www.emoji-cheat-sheet.com/

We should add support for those using some syntax. I very much look forward to the day I can use :trollface:, :rage3: and :poop:--especially that last one. Doesn't have to be the syntax that github uses. Any is fine.

robhudson commented 11 years ago

I'll hack on this with you @willkg. I was thinking a lib you can pip install and have a simple regex looking for stuff like :+1: or whatever, along with an emoji.png that has all of them sprited and some CSS with the offsets. If we got fancy we can write a autocomplete JS lib if the user starts typing a :? Something that can work whether you're using flask or django or whatever?

BTW, I found some resources we can borrow: https://gist.github.com/lepture/2011858

The CSS and iphone_emoji.png: https://github.com/iamcal/php-emoji

Or, this would probably "just work" as a pure javascript solution: https://github.com/linyows/jquery-emoji

pmac commented 8 years ago

Perhaps this has now sat around long enough for this to Just Work™️ now? I see evidence that it does.

willkg commented 8 years ago

It supports emoji characters, but not emoji codes.