From 8d0d0dd3a76250bac79c8f63d57152c993180bf3 Mon Sep 17 00:00:00 2001 From: Midgard Date: Thu, 9 Jun 2022 16:23:49 +0200 Subject: [PATCH] Update emoji --- js/emoji.js | 6193 ++++++++++++++++++++++++++++------------- tools/update_emoji.py | 52 + 2 files changed, 4248 insertions(+), 1997 deletions(-) create mode 100755 tools/update_emoji.py diff --git a/js/emoji.js b/js/emoji.js index 86664a8..cca44a9 100644 --- a/js/emoji.js +++ b/js/emoji.js @@ -2,95 +2,130 @@ // In sofar as it is protectable by copyright, it is licensed under the Apache license: // https://github.com/mattermost/mattermost-webapp/blob/51185f6969bed6d061558de65f0722ffb6dc62b3/LICENSE.txt // -// Generated with: -// torsocks curl -L https://github.com/mattermost/mattermost-webapp/raw/master/utils/emoji.json | jq '.[] | [.aliases[], .filename]' | jq -s -c 'map({(.[0]): .[1]}) | add' | python -c 'import json, re, sys; d = json.load(sys.stdin); json.dump({k: "".join(chr(int(c, base=16)) for c in v.split("-")) for k, v in d.items() if re.fullmatch("[0-9a-f]{4,5}(-[0-9a-f]{4,5})*", v)}, sys.stdout, ensure_ascii=False)' | sed 's/, */,\n/g' -// -// Then modified a few entries manually where classic emotes suffice instead of emoji -const emoji = { -"grinning": "๐Ÿ˜€", -"smiley": "๐Ÿ˜ƒ", -"smile": ":D", // ๐Ÿ˜„ +// Generated with /tools/update_emoji.py +const emoji = {"grinning": ":D", +"smiley": ":)", +"smile": ":)", "grin": "๐Ÿ˜", +"laughing": "๐Ÿ˜†", +"satisfied": "๐Ÿ˜†", "sweat_smile": "๐Ÿ˜…", -"joy": "๐Ÿ˜‚", +"rolling_on_the_floor_laughing": "๐Ÿคฃ", "rofl": "๐Ÿคฃ", -"relaxed": "โ˜บ๏ธ", -"blush": "๐Ÿ˜Š", -"innocent": "o:)", // ๐Ÿ˜‡ +"joy": "๐Ÿ˜‚", "slightly_smiling_face": "๐Ÿ™‚", "upside_down_face": "๐Ÿ™ƒ", -"wink": ";)", // ๐Ÿ˜‰ -"relieved": "๐Ÿ˜Œ", +"wink": ";)", +"blush": "๐Ÿ˜Š", +"innocent": "๐Ÿ˜‡", +"smiling_face_with_3_hearts": "๐Ÿฅฐ", "heart_eyes": "๐Ÿ˜", +"star-struck": "๐Ÿคฉ", +"grinning_face_with_star_eyes": "๐Ÿคฉ", "kissing_heart": "๐Ÿ˜˜", "kissing": "๐Ÿ˜—", -"kissing_smiling_eyes": "๐Ÿ˜™", +"relaxed": "โ˜บ๏ธ", "kissing_closed_eyes": "๐Ÿ˜š", +"kissing_smiling_eyes": "๐Ÿ˜™", +"smiling_face_with_tear": "๐Ÿฅฒ", "yum": "๐Ÿ˜‹", -"stuck_out_tongue_winking_eye": "๐Ÿ˜œ", +"stuck_out_tongue": ":p", +"stuck_out_tongue_winking_eye": ";p", +"zany_face": "๐Ÿคช", +"grinning_face_with_one_large_and_one_small_eye": "๐Ÿคช", "stuck_out_tongue_closed_eyes": "๐Ÿ˜", -"stuck_out_tongue": "๐Ÿ˜›", "money_mouth_face": "๐Ÿค‘", +"hugging_face": "๐Ÿค—", "hugs": "๐Ÿค—", -"nerd_face": "๐Ÿค“", -"sunglasses": "๐Ÿ˜Ž", -"clown_face": "๐Ÿคก", -"cowboy_hat_face": "๐Ÿค ", -"smirk": "๐Ÿ˜", -"unamused": "๐Ÿ˜’", -"disappointed": "๐Ÿ˜ž", -"pensive": "๐Ÿ˜”", -"worried": "๐Ÿ˜Ÿ", -"confused": ":/", // ๐Ÿ˜• -"slightly_frowning_face": "๐Ÿ™", -"frowning_face": "โ˜น๏ธ", -"persevere": "๐Ÿ˜ฃ", -"confounded": ":s", // ๐Ÿ˜– -"tired_face": "๐Ÿ˜ซ", -"weary": "๐Ÿ˜ฉ", -"triumph": "๐Ÿ˜ค", -"angry": "๐Ÿ˜ ", -"no_mouth": "๐Ÿ˜ถ", -"neutral_face": ":|", // ๐Ÿ˜ -"expressionless": "๐Ÿ˜‘", -"hushed": "๐Ÿ˜ฏ", -"frowning": "๐Ÿ˜ฆ", -"anguished": "๐Ÿ˜ง", -"open_mouth": "๐Ÿ˜ฎ", -"astonished": "๐Ÿ˜ฒ", -"dizzy_face": "๐Ÿ˜ต", -"flushed": "๐Ÿ˜ณ", -"scream": "๐Ÿ˜ฑ", -"fearful": "๐Ÿ˜จ", -"cold_sweat": "๐Ÿ˜ฐ", -"cry": "๐Ÿ˜ข", -"disappointed_relieved": "๐Ÿ˜ฅ", -"drooling_face": "๐Ÿคค", -"sob": "๐Ÿ˜ญ", -"sweat": "๐Ÿ˜“", -"sleepy": "๐Ÿ˜ช", -"sleeping": "๐Ÿ˜ด", -"roll_eyes": "๐Ÿ™„", +"face_with_hand_over_mouth": "๐Ÿคญ", +"smiling_face_with_smiling_eyes_and_hand_covering_mouth": "๐Ÿคญ", +"shushing_face": "๐Ÿคซ", +"face_with_finger_covering_closed_lips": "๐Ÿคซ", +"thinking_face": "๐Ÿค”", "thinking": "๐Ÿค”", -"lying_face": "๐Ÿคฅ", -"grimacing": "๐Ÿ˜ฌ", "zipper_mouth_face": "๐Ÿค", -"nauseated_face": "๐Ÿคข", -"sneezing_face": "๐Ÿคง", +"face_with_raised_eyebrow": "๐Ÿคจ", +"face_with_one_eyebrow_raised": "๐Ÿคจ", +"neutral_face": "๐Ÿ˜", +"expressionless": "๐Ÿ˜‘", +"no_mouth": "๐Ÿ˜ถ", +"smirk": "๐Ÿ˜", +"unamused": ":(", +"face_with_rolling_eyes": "๐Ÿ™„", +"roll_eyes": "๐Ÿ™„", +"grimacing": "๐Ÿ˜ฌ", +"lying_face": "๐Ÿคฅ", +"relieved": "๐Ÿ˜Œ", +"pensive": "๐Ÿ˜”", +"sleepy": "๐Ÿ˜ช", +"drooling_face": "๐Ÿคค", +"sleeping": "๐Ÿ˜ด", "mask": "๐Ÿ˜ท", "face_with_thermometer": "๐Ÿค’", "face_with_head_bandage": "๐Ÿค•", +"nauseated_face": "๐Ÿคข", +"face_vomiting": "๐Ÿคฎ", +"face_with_open_mouth_vomiting": "๐Ÿคฎ", +"sneezing_face": "๐Ÿคง", +"hot_face": "๐Ÿฅต", +"cold_face": "๐Ÿฅถ", +"woozy_face": "๐Ÿฅด", +"dizzy_face": "๐Ÿ˜ต", +"exploding_head": "๐Ÿคฏ", +"shocked_face_with_exploding_head": "๐Ÿคฏ", +"face_with_cowboy_hat": "๐Ÿค ", +"cowboy_hat_face": "๐Ÿค ", +"partying_face": "๐Ÿฅณ", +"disguised_face": "๐Ÿฅธ", +"sunglasses": "๐Ÿ˜Ž", +"nerd_face": "๐Ÿค“", +"face_with_monocle": "๐Ÿง", +"confused": "๐Ÿ˜•", +"worried": "๐Ÿ˜Ÿ", +"slightly_frowning_face": "๐Ÿ™", +"white_frowning_face": "โ˜น๏ธ", +"frowning_face": "โ˜น๏ธ", +"open_mouth": "๐Ÿ˜ฎ", +"hushed": "๐Ÿ˜ฏ", +"astonished": "๐Ÿ˜ฒ", +"flushed": "๐Ÿ˜ณ", +"pleading_face": "๐Ÿฅบ", +"frowning": "๐Ÿ˜ฆ", +"anguished": "๐Ÿ˜ง", +"fearful": "๐Ÿ˜จ", +"cold_sweat": "๐Ÿ˜ฐ", +"disappointed_relieved": "๐Ÿ˜ฅ", +"cry": ":'(", +"sob": ":'(", +"scream": "๐Ÿ˜ฑ", +"confounded": "๐Ÿ˜–", +"persevere": "๐Ÿ˜ฃ", +"disappointed": ":(", +"sweat": "๐Ÿ˜“", +"weary": "๐Ÿ˜ฉ", +"tired_face": "๐Ÿ˜ซ", +"yawning_face": "๐Ÿฅฑ", +"triumph": "๐Ÿ˜ค", +"rage": "๐Ÿ˜ก", +"pout": "๐Ÿ˜ก", +"angry": "๐Ÿ˜ ", +"face_with_symbols_on_mouth": "๐Ÿคฌ", +"serious_face_with_symbols_covering_mouth": "๐Ÿคฌ", "smiling_imp": "๐Ÿ˜ˆ", "imp": "๐Ÿ‘ฟ", +"skull": "๐Ÿ’€", +"skull_and_crossbones": "โ˜ ๏ธ", +"hankey": "๐Ÿ’ฉ", +"poop": "๐Ÿ’ฉ", +"shit": "๐Ÿ’ฉ", +"clown_face": "๐Ÿคก", "japanese_ogre": "๐Ÿ‘น", "japanese_goblin": "๐Ÿ‘บ", "ghost": "๐Ÿ‘ป", -"skull": "๐Ÿ’€", -"skull_and_crossbones": "โ˜ ๏ธ", "alien": "๐Ÿ‘ฝ", "space_invader": "๐Ÿ‘พ", +"robot_face": "๐Ÿค–", "robot": "๐Ÿค–", -"jack_o_lantern": "๐ŸŽƒ", "smiley_cat": "๐Ÿ˜บ", "smile_cat": "๐Ÿ˜ธ", "joy_cat": "๐Ÿ˜น", @@ -100,911 +135,1598 @@ const emoji = { "scream_cat": "๐Ÿ™€", "crying_cat_face": "๐Ÿ˜ฟ", "pouting_cat": "๐Ÿ˜พ", -"open_hands": "๐Ÿ‘", -"raised_hands": "๐Ÿ™Œ", -"clap": "๐Ÿ‘", -"pray": "๐Ÿ™", -"handshake": "๐Ÿค", -"fist_left": "๐Ÿค›", -"fist_right": "๐Ÿคœ", -"crossed_fingers": "๐Ÿคž", -"v": "โœŒ๏ธ", -"metal": "๐Ÿค˜", -"ok_hand": "๐Ÿ‘Œ", -"point_left": "๐Ÿ‘ˆ", -"point_right": "๐Ÿ‘‰", -"point_up_2": "๐Ÿ‘†", -"point_down": "๐Ÿ‘‡", -"point_up": "โ˜๏ธ", -"raised_back_of_hand": "๐Ÿคš", -"raised_hand_with_fingers_splayed": "๐Ÿ–", -"vulcan_salute": "๐Ÿ––", -"wave": "๐Ÿ‘‹", -"call_me_hand": "๐Ÿค™", -"muscle": "๐Ÿ’ช", -"writing_hand": "โœ๏ธ", -"selfie": "๐Ÿคณ", -"nail_care": "๐Ÿ’…", -"ring": "๐Ÿ’", -"lipstick": "๐Ÿ’„", -"kiss": "๐Ÿ’‹", -"lips": "๐Ÿ‘„", -"tongue": "๐Ÿ‘…", -"ear": "๐Ÿ‘‚", -"nose": "๐Ÿ‘ƒ", -"footprints": "๐Ÿ‘ฃ", -"eye": "๐Ÿ‘", -"eyes": "๐Ÿ‘€", -"speaking_head": "๐Ÿ—ฃ", -"bust_in_silhouette": "๐Ÿ‘ค", -"busts_in_silhouette": "๐Ÿ‘ฅ", -"baby": "๐Ÿ‘ถ", -"boy": "๐Ÿ‘ฆ", -"girl": "๐Ÿ‘ง", -"man": "๐Ÿ‘จ", -"woman": "๐Ÿ‘ฉ", -"blonde_woman": "๐Ÿ‘ฑโ€โ™€๏ธ", -"older_man": "๐Ÿ‘ด", -"older_woman": "๐Ÿ‘ต", -"man_with_gua_pi_mao": "๐Ÿ‘ฒ", -"woman_with_turban": "๐Ÿ‘ณโ€โ™€๏ธ", -"man_with_turban": "๐Ÿ‘ณ", -"policewoman": "๐Ÿ‘ฎโ€โ™€๏ธ", -"construction_worker_woman": "๐Ÿ‘ทโ€โ™€๏ธ", -"guardswoman": "๐Ÿ’‚โ€โ™€๏ธ", -"guardsman": "๐Ÿ’‚", -"female_detective": "๐Ÿ•ต๏ธโ€โ™€๏ธ", -"woman_health_worker": "๐Ÿ‘ฉโ€โš•๏ธ", -"man_health_worker": "๐Ÿ‘จโ€โš•๏ธ", -"woman_farmer": "๐Ÿ‘ฉโ€๐ŸŒพ", -"man_farmer": "๐Ÿ‘จโ€๐ŸŒพ", -"woman_cook": "๐Ÿ‘ฉโ€๐Ÿณ", -"man_cook": "๐Ÿ‘จโ€๐Ÿณ", -"woman_student": "๐Ÿ‘ฉโ€๐ŸŽ“", -"man_student": "๐Ÿ‘จโ€๐ŸŽ“", -"woman_singer": "๐Ÿ‘ฉโ€๐ŸŽค", -"man_singer": "๐Ÿ‘จโ€๐ŸŽค", -"woman_teacher": "๐Ÿ‘ฉโ€๐Ÿซ", -"man_teacher": "๐Ÿ‘จโ€๐Ÿซ", -"woman_factory_worker": "๐Ÿ‘ฉโ€๐Ÿญ", -"man_factory_worker": "๐Ÿ‘จโ€๐Ÿญ", -"woman_technologist": "๐Ÿ‘ฉโ€๐Ÿ’ป", -"man_technologist": "๐Ÿ‘จโ€๐Ÿ’ป", -"woman_office_worker": "๐Ÿ‘ฉโ€๐Ÿ’ผ", -"man_office_worker": "๐Ÿ‘จโ€๐Ÿ’ผ", -"woman_mechanic": "๐Ÿ‘ฉโ€๐Ÿ”ง", -"man_mechanic": "๐Ÿ‘จโ€๐Ÿ”ง", -"woman_scientist": "๐Ÿ‘ฉโ€๐Ÿ”ฌ", -"man_scientist": "๐Ÿ‘จโ€๐Ÿ”ฌ", -"woman_artist": "๐Ÿ‘ฉโ€๐ŸŽจ", -"man_artist": "๐Ÿ‘จโ€๐ŸŽจ", -"woman_firefighter": "๐Ÿ‘ฉโ€๐Ÿš’", -"man_firefighter": "๐Ÿ‘จโ€๐Ÿš’", -"woman_pilot": "๐Ÿ‘ฉโ€โœˆ๏ธ", -"man_pilot": "๐Ÿ‘จโ€โœˆ๏ธ", -"woman_astronaut": "๐Ÿ‘ฉโ€๐Ÿš€", -"man_astronaut": "๐Ÿ‘จโ€๐Ÿš€", -"woman_judge": "๐Ÿ‘ฉโ€โš–๏ธ", -"man_judge": "๐Ÿ‘จโ€โš–๏ธ", -"mrs_claus": "๐Ÿคถ", -"santa": "๐ŸŽ…", -"princess": "๐Ÿ‘ธ", -"prince": "๐Ÿคด", -"bride_with_veil": "๐Ÿ‘ฐ", -"man_in_tuxedo": "๐Ÿคต", -"angel": "๐Ÿ‘ผ", -"pregnant_woman": "๐Ÿคฐ", -"bowing_woman": "๐Ÿ™‡โ€โ™€๏ธ", -"tipping_hand_man": "๐Ÿ’โ€โ™‚๏ธ", -"ok_woman": "๐Ÿ™†", -"ok_man": "๐Ÿ™†โ€โ™‚๏ธ", -"raising_hand_man": "๐Ÿ™‹โ€โ™‚๏ธ", -"woman_facepalming": "๐Ÿคฆโ€โ™€๏ธ", -"man_facepalming": "๐Ÿคฆโ€โ™‚๏ธ", -"woman_shrugging": "๐Ÿคทโ€โ™€๏ธ", -"man_shrugging": "๐Ÿคทโ€โ™‚๏ธ", -"pouting_man": "๐Ÿ™Žโ€โ™‚๏ธ", -"frowning_man": "๐Ÿ™โ€โ™‚๏ธ", -"haircut_man": "๐Ÿ’‡โ€โ™‚๏ธ", -"massage_man": "๐Ÿ’†โ€โ™‚๏ธ", -"business_suit_levitating": "๐Ÿ•ด", -"dancer": "๐Ÿ’ƒ", -"man_dancing": "๐Ÿ•บ", -"dancing_men": "๐Ÿ‘ฏโ€โ™‚๏ธ", -"walking_woman": "๐Ÿšถโ€โ™€๏ธ", -"running_woman": "๐Ÿƒโ€โ™€๏ธ", -"couple": "๐Ÿ‘ซ", -"two_women_holding_hands": "๐Ÿ‘ญ", -"two_men_holding_hands": "๐Ÿ‘ฌ", -"couple_with_heart_woman_woman": "๐Ÿ‘ฉโ€โค๏ธโ€๐Ÿ‘ฉ", -"couple_with_heart_man_man": "๐Ÿ‘จโ€โค๏ธโ€๐Ÿ‘จ", -"couplekiss_man_woman": "๐Ÿ’", -"couplekiss_woman_woman": "๐Ÿ‘ฉโ€โค๏ธโ€๐Ÿ’‹โ€๐Ÿ‘ฉ", -"couplekiss_man_man": "๐Ÿ‘จโ€โค๏ธโ€๐Ÿ’‹โ€๐Ÿ‘จ", -"family_man_woman_girl": "๐Ÿ‘จโ€๐Ÿ‘ฉโ€๐Ÿ‘ง", -"family_man_woman_girl_boy": "๐Ÿ‘จโ€๐Ÿ‘ฉโ€๐Ÿ‘งโ€๐Ÿ‘ฆ", -"family_man_woman_boy_boy": "๐Ÿ‘จโ€๐Ÿ‘ฉโ€๐Ÿ‘ฆโ€๐Ÿ‘ฆ", -"family_man_woman_girl_girl": "๐Ÿ‘จโ€๐Ÿ‘ฉโ€๐Ÿ‘งโ€๐Ÿ‘ง", -"family_woman_woman_boy": "๐Ÿ‘ฉโ€๐Ÿ‘ฉโ€๐Ÿ‘ฆ", -"family_woman_woman_girl": "๐Ÿ‘ฉโ€๐Ÿ‘ฉโ€๐Ÿ‘ง", -"family_woman_woman_girl_boy": "๐Ÿ‘ฉโ€๐Ÿ‘ฉโ€๐Ÿ‘งโ€๐Ÿ‘ฆ", -"family_woman_woman_boy_boy": "๐Ÿ‘ฉโ€๐Ÿ‘ฉโ€๐Ÿ‘ฆโ€๐Ÿ‘ฆ", -"family_woman_woman_girl_girl": "๐Ÿ‘ฉโ€๐Ÿ‘ฉโ€๐Ÿ‘งโ€๐Ÿ‘ง", -"family_man_man_boy": "๐Ÿ‘จโ€๐Ÿ‘จโ€๐Ÿ‘ฆ", -"family_man_man_girl": "๐Ÿ‘จโ€๐Ÿ‘จโ€๐Ÿ‘ง", -"family_man_man_girl_boy": "๐Ÿ‘จโ€๐Ÿ‘จโ€๐Ÿ‘งโ€๐Ÿ‘ฆ", -"family_man_man_boy_boy": "๐Ÿ‘จโ€๐Ÿ‘จโ€๐Ÿ‘ฆโ€๐Ÿ‘ฆ", -"family_man_man_girl_girl": "๐Ÿ‘จโ€๐Ÿ‘จโ€๐Ÿ‘งโ€๐Ÿ‘ง", -"family_woman_boy": "๐Ÿ‘ฉโ€๐Ÿ‘ฆ", -"family_woman_girl": "๐Ÿ‘ฉโ€๐Ÿ‘ง", -"family_woman_girl_boy": "๐Ÿ‘ฉโ€๐Ÿ‘งโ€๐Ÿ‘ฆ", -"family_woman_boy_boy": "๐Ÿ‘ฉโ€๐Ÿ‘ฆโ€๐Ÿ‘ฆ", -"family_woman_girl_girl": "๐Ÿ‘ฉโ€๐Ÿ‘งโ€๐Ÿ‘ง", -"family_man_boy": "๐Ÿ‘จโ€๐Ÿ‘ฆ", -"family_man_girl": "๐Ÿ‘จโ€๐Ÿ‘ง", -"family_man_girl_boy": "๐Ÿ‘จโ€๐Ÿ‘งโ€๐Ÿ‘ฆ", -"family_man_boy_boy": "๐Ÿ‘จโ€๐Ÿ‘ฆโ€๐Ÿ‘ฆ", -"family_man_girl_girl": "๐Ÿ‘จโ€๐Ÿ‘งโ€๐Ÿ‘ง", -"womans_clothes": "๐Ÿ‘š", -"jeans": "๐Ÿ‘–", -"necktie": "๐Ÿ‘”", -"dress": "๐Ÿ‘—", -"bikini": "๐Ÿ‘™", -"kimono": "๐Ÿ‘˜", -"high_heel": "๐Ÿ‘ ", -"sandal": "๐Ÿ‘ก", -"boot": "๐Ÿ‘ข", -"athletic_shoe": "๐Ÿ‘Ÿ", -"womans_hat": "๐Ÿ‘’", -"tophat": "๐ŸŽฉ", -"mortar_board": "๐ŸŽ“", -"crown": "๐Ÿ‘‘", -"rescue_worker_helmet": "โ›‘", -"school_satchel": "๐ŸŽ’", -"pouch": "๐Ÿ‘", -"purse": "๐Ÿ‘›", -"handbag": "๐Ÿ‘œ", -"briefcase": "๐Ÿ’ผ", -"eyeglasses": "๐Ÿ‘“", -"dark_sunglasses": "๐Ÿ•ถ", -"closed_umbrella": "๐ŸŒ‚", -"open_umbrella": "โ˜‚๏ธ", -"dog": "๐Ÿถ", -"cat": "๐Ÿฑ", -"mouse": "๐Ÿญ", -"hamster": "๐Ÿน", -"rabbit": "๐Ÿฐ", -"fox_face": "๐ŸฆŠ", -"bear": "๐Ÿป", -"panda_face": "๐Ÿผ", -"koala": "๐Ÿจ", -"tiger": "๐Ÿฏ", -"lion": "๐Ÿฆ", -"cow": "๐Ÿฎ", -"pig": "๐Ÿท", -"pig_nose": "๐Ÿฝ", -"frog": "๐Ÿธ", -"monkey_face": "๐Ÿต", "see_no_evil": "๐Ÿ™ˆ", "hear_no_evil": "๐Ÿ™‰", "speak_no_evil": "๐Ÿ™Š", +"kiss": "๐Ÿ’‹", +"love_letter": "๐Ÿ’Œ", +"cupid": "๐Ÿ’˜", +"gift_heart": "๐Ÿ’", +"sparkling_heart": "๐Ÿ’–", +"heartpulse": "๐Ÿ’—", +"heartbeat": "๐Ÿ’“", +"revolving_hearts": "๐Ÿ’ž", +"two_hearts": "๐Ÿ’•", +"heart_decoration": "๐Ÿ’Ÿ", +"heavy_heart_exclamation_mark_ornament": "โฃ๏ธ", +"heavy_heart_exclamation": "โฃ๏ธ", +"broken_heart": "