No description
  • Python 81.9%
  • HTML 17.5%
  • Dockerfile 0.6%
Find a file
Repository files (latest commit first)
Filename Latest commit message Latest commit date
2023-07-16 19:22:01 +00:00
services added config 2022-04-22 20:56:58 +02:00
.drone.yml add dockerfile 2023-07-16 16:52:45 +00:00
.gitignore Link to the lists in scoreboard 2022-11-30 23:11:44 +03:00
api.py Update api.py 2023-07-16 18:39:18 +00:00
blocks_empty.db Add api endpoint to test if there are blocks between two domains. Added an index to cover the query. 2023-02-27 00:45:58 +03:00
config.defaults.json Update config.defaults.json 2023-07-16 16:55:16 +00:00
Dockerfile Update Dockerfile 2023-07-16 19:22:01 +00:00
fetch_blocks.py Tidy up Lemmy peers 2023-06-15 13:23:39 +03:00
fetch_instances.py Add ephemeral sandboxes to the ignorelist 2023-05-22 00:41:01 +03:00
index.html Update index.html 2023-07-16 17:08:25 +00:00
LICENSE added license 2022-03-03 17:16:06 +01:00
README.md Track fetch date in DB & correctly prepend newly added descriptions 2022-11-07 23:33:23 +03:00
requirements.txt Use reqto wrapper for requests 2022-12-11 14:32:15 +03:00
rss.xml RSS feed for latest blocks 2023-05-08 00:56:48 +03:00

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