Procedurally generate a meta.json file for importing a folder of emojis on a *key instance
gen.py | ||
LICENSE | ||
README.md |
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 thehost
property. - Pass
-p
to print the JSON to stdout instead of saving it.