Skip to content

Latest commit

 

History

History
55 lines (34 loc) · 963 Bytes

README.md

File metadata and controls

55 lines (34 loc) · 963 Bytes
DEPRICARED
I no longer use host based filteres

Adguard Filter lists converted in Hosts file format.

The folder hierarchy is as follows

filter-lists.txt
src
    ├── converter.php
    └── sources.json

The sources.json contains the upstream for the Adguard filter list.

converter.php has the source code


Dependencies

You will need to have php installed in your machine.

Linux:

For debian based distros

sudo apt-get install php

Arch / Arch derrivatives

sudo pacman -S php

Windows:

You could obtain the executable installer from the php official website. For more information, visit .


Running

To obtain the latest sources, clone the repo

git clone https://github.com/b4skyx/adblock_hosts.git
cd adblock_hosts
php src/converter.php

You will have the hosts in project home folder which you can use wherever applicable.