Skip to content

Generate a /etc/hosts file to block ads & tracking

Notifications You must be signed in to change notification settings

Robin-Sch/blocklist

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

13 Commits
 
 
 
 
 
 
 
 

Repository files navigation

Adblock Creator

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.

How to use with the hosts file (and most other things)?

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

How to use with pihole?

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.

Contributing

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.

License

MIT

About

Generate a /etc/hosts file to block ads & tracking

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages