rime-shorthand-emoji is a input method schema for RIME Input Method. It provides an input schema for discord-like emoji input.
Download the latest release from GitHub Releases and extract the archive. Then add the files to the RIME User Data Directory and deploy RIME Refer the RIME Help Manual for details.
rime-shorthand-emoji needs to be builded before using. This is because it use an automated generation tool to generate the list of emojis instead of populating the list manually. To build the schema, nodejs and yarn is required.
Ensure that you have nodejs and yarn installed. You may skip this section if nodejs and yarn already installed. Or you can get a copy of nodejs from nodejs.org.
Next is enable corepack which is shipped by nodejs since v14. Corepack is a tool made by nodejs community to manage package managers including yarn.
corepack enable
If you are using a version of nodejs older than v14, you need to install the corepack manually with the following command.
npm install -g corepack
Then we can install dependencies and build the project as bellow, the built schema will be placed under the dist
folder
yarn install
yarn build