For a self-hosted install, you can use the following:
git clone --depth 1 https://github.com/metametapod/filters
cd filters
# Can run via cron, etc.
./scripts/update
./scripts/generate/abp
./scripts/generate/cookies
./scripts/generate/hosts
./scripts/generate/little-snitch
Note that generating some filters is expensive and may not be feasible on slower machines.
Changes to the scripts in the repository can be pulled and vetted as-needed.
Then use a file://
URL to refer to the filter. For example,
file:///path/to/filters/generated/adguard/contextual.txt
.
Alternatively, you can run a local webserver in the filters
directory via
e.g.:
python3 -m http.server 8080
And instead use http://localhost:8080/generated/adguard/contextual.txt
.
Another option is to fork this repository and use the included GitHub Action.