hblock

Adblocker that generates a hosts file from multiple blocklist sources

brewmacoslinux
Try with needOr install directly
Source

About

Adblocker that creates a hosts file from multiple sources

Commands

hblock

Examples

Generate and install hosts file with default blocklists$ sudo hblock
Generate hosts file without modifying system files (dry-run)$ hblock -O /tmp/hosts
Generate hosts file with custom blocklist sources$ sudo hblock -S https://example.com/blocklist.txt