This simple workflow lets you search emoji codes and their symbols.
Usage: emoji [query]
After you hit enter
the code of the selected emoji will be copied to your
clipboard.
Usage: symoji [query]
After you hit enter
the symbol of the selected emoji will be copied to your
clipboard.
If you don't like the keywords that are used for triggering the search you can
customize it directly on Alfred. Some suggested using :
for searching the
emoji code and emoji
for the actual symbols.
-
The
query
argument is optional for both commands. If you don't specify aquery
, the whole list of emoji will be presented. -
__You can also search an emoji using related words. Check the full list
-
You can add your own related words by editing custom_related.json and re-running generate.rb.
There are two steps to developing...
-
Run the
generate.rb
script to producerelated.json
&symbols.json
(and any new images)ruby generate.rb
-
Install data files into Alfred
The generate.rb
script pulls the official full emoji list from the unicode.org website and...
- Extracts the Apple icons
- Generates the symbols.json file with a map of names to symbols
- Generates the related.json file with a map of names to annotation keywords & custom related words from custom_related.json
- Open Alfred preferences and navigate to this workflow
- Open the configuration for either of the script actions
- Click
Open Workflow Folder
- Copy the changed
symbols.json
&related.json
into the workflow folder - If there are any new images in the
images/
folder, copy those as well - Enjoy!