envs.net.pleroma-custom/README.md
2024-04-07 11:13:16 -04:00

4.8 KiB

pleroma custom repo

path: /var/lib/pleroma/

custom emoji

pleroma docs - custom emoji

includes also emojis from:

notice

please consider adding emojis alphabetical to emoji.txt!

example:

foo, /emoji/custom/foo.png, Tag1,Tag2
bla, /emoji/custom/bla.png

add emoji.txt to a new pack

newpack='MYSTUFF'

cd static/emoji/"$newpack"
for file in $(dir); do printf '%s, /emoji/%s/%s\n' "${file%.*}" "$newpack" "$file" >> tmp.txt ; done
sort -o emoji.txt tmp.txt ; rm tmp.txt
sed -i "/\/emoji.txt/d" emoji.txt