2023-04-30 21:27:42 +00:00
# Running the Blocklists
1. Setup Fediblockhole
```bash
python3 -m pip install fediblockhole
```
2. Clone this Repo
```bash
2023-05-01 01:05:00 +00:00
git clone https://codeberg.org/oliphant/blocklists.git /opt/fediblockhole
2023-05-01 00:18:07 +00:00
mkdir -p /opt/fediblockhole/logs & & mkdir /opt/fediblockhole/exports
2023-04-30 21:27:42 +00:00
```
3. Execute
2023-05-01 01:05:00 +00:00
`/opt/fediblockhole/fedisync.sh`
2023-04-30 21:27:42 +00:00
2023-04-30 21:32:40 +00:00
That's it. Blocklists will be written to the `blocklists` folder.
2023-04-30 21:27:42 +00:00
You can use `local` and `secretconfig` as subfolders that aren't tracked by git to create your own versions of these scripts and config.
4. Optional
`./fedisync-push.sh`
This will sync up a specified blocklist (any blocklist you want) to a specified destination. This is not required to generate blocklists.
2023-04-30 23:00:15 +00:00
For more information on how to configure the push file, or a greater explanation of the fundamentals of this process, see [How to Sync up Blocklist Changes From Trusted Sources ](https://writer.oliphant.social/oliphant/how-to-sync-up-blocklist-changes-from-trusted-sources ).