Sen descrición

Mint ab0a143bbe +1 pisskey fork hai 10 meses
services 009d7fcab3 added config %!s(int64=2) %!d(string=hai) anos
.gitignore 7f0db59e64 Link to the lists in scoreboard %!s(int64=2) %!d(string=hai) anos
LICENSE 8533580da2 added license %!s(int64=2) %!d(string=hai) anos
README.md cedee03bba Track fetch date in DB & correctly prepend newly added descriptions %!s(int64=2) %!d(string=hai) anos
api.py 7ac5645916 Case-insensitive search hai 1 ano
blocks_empty.db e4caf63d48 Add api endpoint to test if there are blocks between two domains. Added an index to cover the query. hai 1 ano
config.defaults.json 5bd02655d8 Report findings to a bot hai 1 ano
fetch_blocks.py ab0a143bbe +1 pisskey fork hai 10 meses
fetch_instances.py ab0a143bbe +1 pisskey fork hai 10 meses
index.html d7a8df7662 Wrap block reasons in textarea hai 1 ano
requirements.txt 46e0ac0c0a Use reqto wrapper for requests hai 1 ano
rss.xml df90944351 RSS feed for latest blocks hai 1 ano

README.md

Fedi block API

Used to see which instances block yours.

software used:

  • python 3.10.2

Installation

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 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

Install the services

sudo cp services/* /etc/systemd/system

start the services

systemctl enable --now fetch_blocks
systemctl enable --now fedi_block_api

Try it out

https://fba.ryona.agency/

License

AGPLv3+NIGGER