X-Git-Url: https://git.mxchange.org/?a=blobdiff_plain;f=README.md;h=f0fb65c5d8d12fb957e41d1a6cb9da8493eceef9;hb=92a6263c5be5992e094bcab62821a1eb437a5767;hp=e8bf10032b7929bd6c266d139f061067c4e9abd4;hpb=ff807fa5ad76f4d38303fcee806877e1ac9d7d69;p=fba.git diff --git a/README.md b/README.md index e8bf100..f0fb65c 100644 --- a/README.md +++ b/README.md @@ -12,14 +12,34 @@ Used to see which instances block yours. sudo useradd -m fba sudo mkdir -p /opt/fedi-block-api sudo chown -R fba:fba /opt/fedi-block-api -sudo -Hu fba git clone https://git.kiwifarms.net/mint/fedi-block-api.git /opt/fedi-block-api -cd /opt/fedi-block-api +sudo -Hu fba git clone git://git.mxchange.org/fba.git /opt/fedi-block-api/ +cd /opt/fedi-block-api/ sudo -Hu fba pip3 install -r requirements.txt sudo -Hu fba cp blocks_empty.db blocks.db -sudo -Hu fba python3 fetch_instances.py mastodon.social # try a bunch of large servers here sudo -Hu fba cp config.defaults.json config.json +sudo -Hu fba ./fba.py fetch_instances --domain=mastodon.social # try a bunch of large servers here ``` +### Alter configuration file +You maybe wish to change the configuration file, e.g. log_level is set to "info" which is the default but invates privacy of your users, but your choice: + +``` + "critical" + "error" + "warning" + "info" + "debug" + "trace" +``` + +### Fetch blocklists locally (WIP) +To save yourself bandwidth and codeberg, too, you want to clone the blocklists from some folks: + +``` +sudo -Hu fba git clone https://codeberg.org/oliphant/blocklists.git blocklists/oliphant/ +``` + +WIP notice: This feature is not implemented yet. ### Install the services @@ -36,7 +56,7 @@ systemctl enable --now fedi_block_api ## Try it out -https://fba.ryona.agency/ +https://fba.ryona.agency/ uses an older code than this one. So it doesn't reflect this code here. My FBA sub-domain is currently password-protected as I still need to fix some performance issues with large blocking lists. ## License