]> git.mxchange.org Git - fba.git/blob - README.md
sorted instances by name
[fba.git] / README.md
1 # Fedi block API
2
3 Used to see which instances block yours.
4
5 ## software used:
6 - python 3.10.2
7 - node v17.6.0
8 - yarn 1.22.17
9
10 ## how to use:
11
12 Copy the preloaded database to the live database
13
14 `cp blocks_preloaded.db blocks.db`
15
16 Start the mastodon API
17
18 Make sure to edit the `User` and `WorkingDirectory` of the service file accordingly.
19
20 ```
21 sudo cp services/mastodon_api.service /etc/systemd/system
22 cd mastodon_api
23 yarn install
24 systemctl start mastodon_api
25 ```
26
27 Fill the database with blocks.
28
29 Make sure to edit the `User` and `WorkingDirectory` of the service file accordingly.
30
31 ```
32 sudo cp services/fetch_blocks.service /etc/systemd/system
33 systemctl start fetch_blocks
34 ```
35
36 ## License
37
38 [AGPLv3+NIGGER](https://plusnigger.autism.exposed/)