{"repo":"hectorm/hblock","free":true,"listed":false,"github":"https://github.com/hectorm/hblock","clone":"git clone https://github.com/hectorm/hblock.git","description":"Improve your security and privacy by blocking ads, tracking and malware domains.","language":"Shell","stars":1976,"topics":["ad-blocker","adblock","adblocker","ads","advertisements","blocker","dns","dnsmasq","hosts","hostsfile"],"license":"MIT","category":"networking-infra","readme_excerpt":"Improve your security and privacy by blocking ads, tracking and malware domains. What is this for? hBlock is a POSIX-compliant shell script that gets a list of domains that serve ads, tracking scripts and malware from multiple sources and creates a hosts file), among other formats, that prevents your system from connecting to them. :warning: hBlock by default replaces the hosts file of your system , consider making a backup first if you have entries you want to preserve. Installation hBlock is available in various package managers. Please check the PACKAGES.md file for an up-to-date list. The latest available version can also be installed manually by running the following commands: Additionally, a systemd timer can be set to regularly update the hosts file for new additions. Usage The default behavior of hBlock can be adjusted with multiple options. Use the --help option or check the hblock.1.md file for the full list. Nightly builds Nightly builds of the hosts file, among other formats, can be found on the hBlock website. Temporarily disable hBlock Sometimes you may need to temporarily disable hBlock, a quick option is to generate a hosts file without any blocked domains by running the following command: I found a false positive, what should I do? It's possible that sometimes one of the hBlock sources includes a domain that shouldn't be blocked, in those cases the best way to proceed is to temporarily add said domain to the allowlist and report the problem to the original bl","default_branch":null,"files":null,"tree":[],"storefront":"/r/hectorm","claimed":false,"request_supported":{"post":"https://gitbuyer.com/r/hectorm/hblock/request-supported","requests":0},"note":"indexed from public GitHub; nothing is for sale on this page. Clone it from GitHub. Paid listings live at /search."}