Script that loads mods into pleroma
copy pleroma-mod-loader.js
to your static directory (priv/static/instance/
for example)
Add <script type="text/javascript" src="/path/to/pleroma-mod-loader.js"></script>
to your index.html in the static directory
copy pleroma-mod-config.json.example
to pleroma-mod-config.json
set modDirectory
in pleroma-mod-config.json
to the directory where your mods are located
add your mods, that you want to load to mods
in pleroma-mod-config.json