IvyBits / old-slack-emojis

Bring back old emojis to new Slack!
https://old-slack-emojis.cf
MIT License
33 stars 9 forks source link

Any chance to get hangouts emojis back, too? #2

Open krenor opened 6 years ago

krenor commented 6 years ago

I'm probably one of the few who liked the google hangout emojis. And I miss them. :(

stolksdorf commented 6 years ago

I would love this too. It's quite easy to mod the existing code to target a different spritesheet, the trick is generating the sprite sheet in question.

It has to follow this format, but use these emojis.

I wrote a script that scrapped the emojipedia site for the marshmallow style emojis, but I have no idea the order in which they are arranged in the target spritesheet to procedurally generate it. If any one can help me out, I'll create a fork of this project that uses the marshmallow emojis.

Xyene commented 6 years ago

https://github.com/iamcal/emoji-data has positioning data for sheet_google_64_indexed_256.png, and its build system could probably be modified to build using the blob emojis without having to start from scratch. For Apple-style emojis there wasn't anything tricky, since they include a prebuilt Apple spritesheet.

It could probably be bundled with something like https://github.com/micxxx/old-slack-emojis/commit/93e958644a360c562e3cbccd2a3cb56f7c862528 to allow even greater flexibility of emojis (so we don't need to host them off https://old-slack-emojis.cf/cdn/slack_2016_apple_sprite_64.png, and anyone could specify their own spritesheet on the commandline).

stolksdorf commented 6 years ago

https://github.com/stolksdorf/old-slack-emojis

My fork has been updated with Android 6.0.1 Marshmallow emoji spritesheet, with fallbacks to the newest android emojis. @Xyene I used your suggestions and whipped together a script using the emoji-data info to create the sheet.

melkamar commented 6 years ago

For future readers - you only need to replace the background-image url on the line starting with emojiStyle.innerText.

Emoji sheets you may use can be found here: https://github.com/iamcal/emoji-data/tree/master/sheets-indexed-256

Or just clone this fork: https://github.com/melkamar/old-slack-emojis