28 lines
1.0 KiB
Markdown
28 lines
1.0 KiB
Markdown
# Running the Blocklists
|
|
|
|
1. Setup Fediblockhole
|
|
```bash
|
|
python3 -m pip install fediblockhole
|
|
```
|
|
|
|
2. Clone this Repo
|
|
```bash
|
|
git clone https://codeberg.org/oliphant/blocklists.git /opt/fediblockhole
|
|
# optional: create folders for local scripts and secret config
|
|
# mkdir /opt/fediblockhole/local && mkdir /opt/fediblockhole/secretconfig
|
|
```
|
|
|
|
3. Execute
|
|
`/opt/fediblockhole/fedisync.sh`
|
|
|
|
That's it. Blocklists will be written to the `blocklists` folder.
|
|
|
|
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.
|
|
|
|
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).
|
|
|