A simple, yet effective script to combine available blocklists from the I-Blocklist API.
The I-Blocklist-Builder.sh
script supports creating a combined blocklist in multiple ways.
By default, it combines all freely available blocklists listed on the I-Blocklist API.
If you have an I-Blocklist subscription, you can provide your username and PIN via the -u
and -p
options, respectively.
When subscription authentication credentials are supplied, the script will also include all blocklists which require s subscription in addition to the free blocklists.
The script also supports different levels of output verbosity specified, in increasing order, by -q
, -e
, -w
, and -x
.
Option | Name | Description |
---|---|---|
-u |
Username |
Required for subscription lists |
-p |
API PIN |
Required for subscription lists |
-q |
Quiet |
Display no runtime information |
-e |
Error |
Display only unrecoverable errors |
-w |
Warns |
Display warnings along with errors |
-x |
Extra |
Display extra runtime information |
Blocklist to STDOUT:
$ ./I-Blocklist-Builder.sh -e
Blocklist to directory, with authentication:
$ ./I-Blocklist-Builder.sh -u <USERNAME> -p <PIN> -q ~/.config/transmission/blocklists
Blocklist to multiple directories, while displaying extra info:
$ ./I-Blocklist-Builder.sh -x ~/.config/deluge/plugins ~/.config/transmission/blocklists