Bash script to create a uniq & sorted hostlist from multiple sources.
Parameters | Info |
---|---|
LOCAL_HOST |
local server to which the request is redirected (default: 0.0.0.0 ) |
OUTPUT_HOST |
output hosts-styled blocklist (default name: hosts.txt ) |
source.list |
plain text file from which hosts-styled sources are to be fetch |
source.domain |
plain text file from which only ip/domain sources are to be fetch |
NOTE:
source.list
: should have only host-styled format sources. Ex:0.0.0.0 www.example.com
source.domain
: should have only ip/domain format sources. Ex:www.example.com
- Clone repo
- Add hosts sources/links in
source.list
andsource.domain
per line. (remember above noted points) - If the list has only one entry, then add an extra empty line at the end. (some issue in script)
- Run
generate.sh
Curated and well-maintained hostlists to block social media, trackers, porn sites & ads.
Hosts | Recipe | RAW Link |
---|---|---|
Porn | Porn Sites + Pornaway's Porn Sites + Porn Ads | link |
Trackers | MIUI + Microsoft Trackers | link |
- | link | |
- | link | |
- | link | |
- | link | |
- | link | |
- | link |
Made with ♥ by ItsPatkar