Open leonardopaiva opened 6 years ago
Hi, this cheat sheet is automatically generated from GitHub Emoji API and Emoji Cheat Sheet. You can add a console.log(JSON.stringify(emoji_table))
here and execute the script (npm run generate
) to get the JSON.
Here's the one I just generated:
Hello, thanks for the fast answer...
i runned the script, but it didnt generated emoji-table.json
, my steps:
git clone https://github.com/ikatyang/emoji-cheat-sheet.git
npm i
npm run generate
Where it should be? am i doing something wrong? another question, i want to make something like https://www.webpagefx.com/tools/emoji-cheat-sheet/ do, when i type "sad" on input field it will show the sad related emojis, for that i need description right? how can i generate it with description?
thanks
You need to add this line to Line 73 before running the generate
script:
console.log(JSON.stringify(emoji_table, null, 2));
Then run npm run --silent generate > emoji-table.json
, the output should be in ./emoji-table.json
.
I'm not sure what do you mean the description, there's only data of their IDs (e.g. smile
, laughing
, etc.), which is available in emoji-table.json
. Is that what you mean?
I am realy thanks @ikatyang with your help i was able to generate the emoji-table.json, but I would like to know your opinion on what is the best json:
The json that i am using is something like that:
[
"People": [
{
'key': 'grinning_face',
'value': 'π'
},
{
'key': 'grimacing_face',
'value': 'π¬'
},
{
'key': 'grimacing_face_with_smile_eyes',
'value': 'π'
},
...
]
]
The emoji-table.json is generating a json like that:
{
"People": [
"bowtie",
"smile",
"laughing",
"blush",
"smiley",
"relaxed",
"smirk",
...
]
}
with the first json, i already have the emoji in value propertie with font format, in the second json i will have to take the emoji from https://api.github.com/emojis api then i will take an image right? What do you think that is the best aproach?
sry for taking so long to answer.
I guess gemoji
should be what you're looking for, you can combine the two to generate the desired json.
@ikatyang yeah gemoji is probably the best option for me, thanks for all your help.
@leonardopaiva If you haven't seen it yet, I provide library that does just that: https://milesj.gitbook.io/emojibase
i dont understand Π½ΠΈΡ ΡΡ
thanks @milesj i was having problem with translation, i will have a look at your library, it looks perfect for me.
app/src/main/assets/xposed_init
Delete
Stop please
Hello, have you an json emoji list? if i am not asking too much, could you share it?
are you using this one? https://api.github.com/emojis ? but this one isnt categorized...
thanks