1.4 KiB
Sticker tools for Pleroma
This script helps to install and setup stickers for pleroma-fe
!!!THIS MIGHT BE VERY BUGGY AND MIGHT NOT WORK!!!
!!!DIDN'T TEST IT IN PRODUCTION YET!!!
!!!USE AT YOUR OWN RISK!!!
configuration
the script looks for config.json
. if it doesnt find it, it will fallback to default.json
you can also use -c <configfile>
to point it to a specific config
just copy default.json
to config.json
and set .pleroma.static
accordingly
usage
show a list of available commands
./stickers.sh help
check dependencies for this script. make sure you have those tools installed otherwise the script will fail at various points
./stickers.sh check deps
prepares your pleroma-fe for stickers. it creates an empty stickers.json.
./stickers.sh prepare
build a pack from a folder of images. the pack will be created in the release directory and is ready to install
./stickers.sh build <path/to/images>
installs a pack to pleroma and adds it to stickers.json.
./stickers.sh install <path/to/pack>
recreates the stickers.json from packs already added to pleroma-fe.
./stickers.sh recreate
grabs a pack from another instance. if you don't specify a pack, it will list all packs it can find on that instance and lets you choose
./stickers.sh grab instance <instance> [<pack>]