Initial commit
This commit is contained in:
15
README.md
Normal file
15
README.md
Normal file
@@ -0,0 +1,15 @@
|
||||
# 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.
|
||||
Reference in New Issue
Block a user