envs.net.pleroma-custom/README.md

29 lines
620 B
Markdown
Raw Normal View History

2020-01-25 21:34:40 +01:00
## pleroma custom repo
2020-01-26 11:58:15 +01:00
path: `/var/lib/pleroma/`
2020-01-25 22:04:20 +01:00
### custom emoji
[pleroma docs - custom emoji](https://docs-develop.pleroma.social/backend/configuration/custom_emoji/#custom-emoji)
includes also emojis from:
2020-01-25 22:04:20 +01:00
- https://fedi.absturztau.be/emoji-packs/index.html
#### notice
please consider adding emojis to `emoji.txt`!
example:
```
foo, /emoji/custom/foo.png, Tag1,Tag2
bla, /emoji/custom/bla.png
```
#### add 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
```