An All-In-One AdGuard Home blocklist and allowlist generated locally on your PC using Python.
Version: 0.3
Updated (AEST): 2024-07-15 05:38:23PM
- added fix to skip blocking subdomains
- added color text output using the Python package named rich
- added more lists
- fixed datetime now to be local time
- improved output
- Added new must-have requirement of a Python package named requests
- Added new lists
- More cleanup of output rules
- Written in Python it now has been updated for 2024 and have new lists added
- Tested and working on Python for Windows Python 3.12.4 or later
- Currently around 5.2 million unique rules are included
- The blocklist will make AdGuard Home's RAM usage increase to around 775MB
- Do not use these lists on older hardware with fewer than 4 CPU cores or IOT devices
- Be prepared to make your own whitelist additions within AdGuard Home, depending on your needs
- I attempted and tested using GitHub Codespaces and github LFS but moved away from both due to annoying filesize restrictions
- 1Hosts (Lite)
- AdAway Default Blocklist
- AdGuard DNS filter
- AdGuard Simplified Domain Names filter by AdGuard
- Anudeep's Blacklist - RAW by Anudeep
- Blocklist Project
- Blocklists by sefinek - ✨ 0.2
- Dan Pollock's List
- Dandelion Sprout's Anti Push Notifications
- Dandelion Sprout's Anti-Malware List
- Deanoman - tracker_list_adguard_home
- DurableNapkin's Scam Blocklist
- HaGeZi's Multi PRO - Extended protection
- HaGeZi's The World's Most Abused TLDs - RAW by HaGeZi
- Malicious URL Blocklist (URLHaus)
- OISD Blocklist Small
- Peter Lowe's Blocklist
- Phishing Army
- Phishing URL Blocklist (PhishTank and OpenPhish)
- ShadowWhisperer's Malware List
- Stalkerware Indicators List
- Steven Black's List
- The Big List of Hacked Malware Web Sites
- WindowsSpyBlocker - Hosts spy rules
- borestad's blocklist-abuseipdb
- ph00lt0's blocklist
- romainmarcoux's malicious-ip
- stamparm's ipsum
- uBlock₀ filters - Badware risks
- Install Python on your device
- Install two required Python packages by running:
python -m pip install requests
python -m pip install rich
- The python script
create_list.py
can be used to generateaio_blocklist_final.txt
on a local machine that has Python - I have tested it on Windows 11, however it should work fine on other OSs too (as long as you have Python installed)
- Download a ZIP of this repo and extract it to a suitable known folder
- Create a new empty folder
downloaded_lists
within theAdGuard-Home-AIO-List-main
folder - Edit
create_list.py
in a text editor and change line 20 to setCURRENTWORKINGDIRECTORY
to a path whereAdGuard-Home-AIO-List-main
exists (save change) - Run the script
create_list.py
usingPython
- Once the script finishes add the full path of
aio_blocklist_final.txt
to AdGuard Home'sDNS blocklists
as acustom list
To regenerate the list simply run create_list.py
when desired (as a scheduled task etc)
The below is old info that shouldn't be needed anymore.
- If you have a PC with at least 8GB of RAM adding these lists will be very useful
- After adding and updating these lists RAM usage for AdGuard Home will go up to around 229MB
- Log into AdGuard Home
- Using the top menu click
Filters
and thenDNS blocklists
- Click the green
Add blocklist
button - Click the
Choose from the list
button - Checkmark the following
General
blocklists:- 1Hosts (List)
- AdGuard DNS filter
- AdAway Default Blocklist
- Dan Pollock's List
- OISD Blocklist Small
- Peter Lowe's Blocklist
- Steven Black's List
- Checkmark the following
Other
blocklists:- Dandelion Sprout's Anti Push Notifications
- WindowsSpyBlocker
- Checkmark all of the
Security
blocklists - Click the green
Save
button
- Log into AdGuard Home
- Using the top menu click
Filters
and thenBlocked services
- Click on the
Block all
button - Unblock (toggle off) services you actually use
- Click the green
Save
button once done