]> git.mxchange.org Git - fba.git/blob - README.md
removed mastodon api
[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 - [node v17.6.0](https://github.com/nodesource/distributions/blob/master/README.md#installation-instructions)
9 - [yarn 1.22.17](https://classic.yarnpkg.com/en/docs/install#debian-stable)
10
11 ## Installation
12
13 ### Copy the preloaded database to the live database
14
15 ```bash
16 cp blocks_preloaded.db blocks.db
17 ```
18
19 ### Install the services
20
21 Make sure to edit the `User` and `WorkingDirectory` in each service file accordingly.
22
23 ```bash
24 sudo cp services/* /etc/systemd/system
25 ```
26
27 ### Install node packages
28
29 ```bash
30 cd apis
31 yarn install
32 ```
33
34 ### start the services
35
36 ```bash
37 systemctl start fetch_blocks
38 systemctl start fedi_block_api
39 ```
40
41 ## Try it out
42
43 https://chizu.love/fedi-block-api/api
44
45 ## License
46
47 [AGPLv3+NIGGER](https://plusnigger.autism.exposed/)