Minimalistic. Batch installs, whitelists, and sanitizes domains for your Linux hosts file. One-script hosts file manager.
Text file containing newline-separated URLs to raw-text host files.
Text file containing newline-separated whitelist domains (may be substrings).
wget, sort, grep. (Included in Ubuntu 18.10 at time of editing)
- or
replaces /etc/hosts with newly processed one
https://block.energized.pro/unified/formats/hosts
https://block.energized.pro/extensions/regional/formats/hosts
https://block.energized.pro/extensions/xtreme/formats/hosts
fbcdn
- Please leave feedback, this is work in progress!
- Using hosts file bigger than several dozen megabytes may make your system unstable. In such a case, simply restart your system and write:
- Websites usually have a corresponding CDN domain working along. You may want to whitelist those as well, as with the given example for facebook and fbcdn. You can try browser addons such as uMatrix to research websites before you apply the blocks system-wide with the hosts file.
- Recommended sources:
https://github.com/StevenBlack/hosts