mirror of
https://git.pleroma.social/sjw/pleroma-fe.git
synced 2024-11-10 23:39:03 +01:00
.. | ||
cache | ||
config.json | ||
config.json.example | ||
fetch.sh | ||
LICENSE.md | ||
mod.js | ||
README.md | ||
style.css |
Pleroma Mod Favicon
This script adds the favicon of the origin instance to each post. derived from an idea of moon the favicons are loaded from a cache directory.
Install
do this in your pleroma-mods directory
sudo -u pleroma git clone https://git.pleroma.social/absturztaube/pleroma-mod-favicon.git
copy config.json.example
to config.json
add favicon
to your pleroma-mod-loader config
run fetch.sh
for the first time (you may have to edit it a bit because of database access stuff)
fetch.sh
is also used to update the cache. you can put it in a cron to update the cache automaticly