JoshuaKGoldberg / emoji-platform-data

Static export of platform-specific metadata for unicode emojis. 🗝️
MIT License
10 stars 0 forks source link

🚀 Feature: Add emojis from emoji-mart (Bluesky) #14

Open JoshuaKGoldberg opened 6 months ago

JoshuaKGoldberg commented 6 months ago

Bug Report Checklist

Overview

Mentioned by @vladimyr.bsky.social: https://bsky.app/profile/vladimyr.bsky.social/post/3kobo3z4ieo2b:

I was wondering what Bluseky's webapp uses and found another potential platform data source: github.com/missive/emoj...

It includes related keywords:

$ curl -sL 'https://github.com/missive/emoji-mart/raw/main/packages/emoji-mart-data/sets/15/native.json' | jq '.emojis.airplane_departure'

Yes!! This is a great idea. I should have thought of searching Bluesky 😄. Accepting PRs!

https://github.com/missive/emoji-mart

Additional Info

I'd mentioned in https://github.com/muan/emojilib/issues/194#issuecomment-2009621140 that a few emojis didn't have keywords in any existing platforms:

  • 🐙 went from 7 keywords to 1: octopus ... None of the platforms in emoji-platform-data have more than 1-2 keywords for them. Adding in a more rich platform would fill back in those missing keywords. For example, asking the native macOS emoji picker for sea includes 🐙 in the results. I added emoji-platform-data issues labeled platform support.

Looks like emoji-mart has a lot of good keywords, including 🐙!

"octopus": {
  "id": "octopus",
  "name": "Octopus",
  "keywords": ["animal", "creature", "ocean", "sea", "nature", "beach"],
  "skins": [{ "unified": "1f419", "native": "🐙" }],
  "version": 1
}

Co-authored-by: @vladimyr

JoshuaKGoldberg commented 6 months ago

@allcontributors add @vladimyr for ideas

allcontributors[bot] commented 6 months ago

@JoshuaKGoldberg

I've put up a pull request to add @vladimyr! :tada: