Procedurally generate a meta.json file for importing a folder of emojis on a *key instance
Go to file
2024-04-03 01:42:47 -06:00
gen.py Add the code 2024-04-03 01:41:15 -06:00
LICENSE Initial commit 2024-04-03 07:30:36 +00:00
README.md Clarify README 2024-04-03 01:42:47 -06:00

Janky Python script to generate the requisite meta.json file to make an emoji pack that can be imported by a *key instance.

Usage

Provide the script with a directory and it will generate a meta.json file listing every PNG/JPG/GIF/WEBP file, extrapolating the emoji name from the filename, and the category name from the directory name, and place it in the directory.

  • Pass --host to optionally customize the hostname used as the host property.
  • Pass -p to print the JSON to stdout instead of saving it.