Files
EmojiGen/README.md
2024-01-21 14:56:37 -03:00

15 lines
544 B
Markdown

# 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.