Create a list with (a lot of) adblock lists. (I use this personally on my pihole). Since a lot of sources are combined, there are a lot of duplicated entries.
Run the select.sh
file (you need whiptail installed) to select the blocking lists
Run the generate.sh
file to generate the hosts file
Put that list as your hosts file, or use it with for example NetGuard
Run the select.sh
file (you need whiptail installed) to select the blocking lists
Copy the contents of lists.txt
to adlists
Run pihole -g
, or use the gui
This tool can help you select the minimal amount of adlists needed to cover all the domains, as most adlists contain cross-duplicates.
Pull requests are welcome. For major changes, please open an issue first to discuss what you would like to change.
Please make sure to update tests as appropriate.