]> git.mxchange.org Git - fba.git/blob - README.md
00b01223a51fd7370373aace109b29d711f21b7f
[fba.git] / README.md
1 # Fedi block API
2
3 Used to see which instances block yours.
4
5 ## software used:
6
7 - python 3.10.2
8
9 ## Installation
10
11 ```bash
12 sudo useradd -m fba
13 sudo mkdir -p /opt/fedi-block-api
14 sudo chown -R fba:fba /opt/fedi-block-api
15 sudo -Hu fba git clone https://gitlab.com/EnjuAihara/fedi-block-api.git /opt/fedi-block-api
16 cd /opt/fedi-block-api
17 sudo -Hu fba pip3 install -r requirements.txt
18 sudo -Hu fba cp blocks_preloaded.db blocks.db
19 ```
20
21 ### Install the services
22
23 ```bash
24 sudo cp services/* /etc/systemd/system
25 ```
26
27 ### start the services
28
29 ```bash
30 systemctl enable --now fetch_blocks
31 systemctl enable --now fedi_block_api
32 ```
33
34 ## Try it out
35
36 https://chizu.love/fedi-block-api/info
37
38 https://chizu.love/fedi-block-api/domain/ {domain}
39
40 ## License
41
42 [AGPLv3+NIGGER](https://plusnigger.autism.exposed/)