jessedp / pihole5-list-tool

A tool for quickly and easily bulk adding allow and ad/block lists to a Pi-hole 5 installation
MIT License
312 stars 18 forks source link
blacklist bulk firebog pihole pihole-adblocker-list pihole-ads-list pihole-allowlist pihole-blacklist pihole-blocklists pihole-whitelist pihole5

pihole5-list-tool

PyPI version PyPI downloads

This tool provides bulk operations to manage your Pi-hole 5 Allow lists and Block/Ad lists.

Features:

requirements

installation

$ sudo pip3 install pihole5-list-tool --upgrade

Note:

usage / running

Simply run:

$ sudo pihole5-list-tool

This is what installing and running it basically looks like (many features have been added since this):

asciicast

supported sources

TL; DR - some maintained online lists, anything you can paste, or a file

allowlists

Currently the only source for maintained whitelists is anudeepND's allowlist. They are presented as:

ad/blocklists

Currently the only source for maintained blocklists is firebog.net

file/paste

Both list types allow providing either a pasted in list or a file as your source of lists.

Finishing up

After adding lists, they must be loaded by running:

$ pihole -g

This tool will offer to do that for you.

When that finishes, you'll see each of listed in the Web Admin interface along with a comment to help identify them.

NOTE: If you need/want the blocklists added from firebog.net (and more) continually updated, check out pihole-updatelists which will also run great on a Pi.