544 B
544 B
emoji_gen
Script for generating pack.json file for emoji packs in pleroma/akkoma
Usage
If you have LLVM's D compiler (ldc2) installed, you can run the script directly:
./emoji_gen.d <images directory>
Or if you have dmd:
rdmd -run emoji_gen.d <images directory>
It iterates through all image files inside the directory, not recursively. Check permittedExtensions variable for file extensions to include, default value: jpg jpeg gif png. At the end, it generates pack.json in the same directory as the images.