Hosts is a hosts file aggregator that consolidates and extends curated sources into unified, deduplicated hosts files for blocking ads, malware, and other unwanted content at the system level.
The tool solves the problem of maintaining an effective hosts file by pulling from multiple reputable sources, merging them, and removing duplicates to create a single authoritative file. It works by aggregating these sources and offering variants tailored to different blocking needs, such as blocking pornography, social media, or gambling sites alongside the base ad and malware blocking functionality.
Developers and system administrators should choose this tool if they want a comprehensive, community-maintained hosts file without managing multiple sources manually. It suits projects requiring network-level content filtering on individual machines or small networks. The repository provides multiple variants to match different filtering preferences, allowing users to select only the extensions they need rather than accepting a one-size-fits-all approach. The tool is designed for direct use as a hosts file rather than as a library or service.
The project maintains active curation of its data sources, with a clear policy that content issues should be reported to the original data sources rather than to the repository itself, keeping the project focused on aggregation and merging rather than content decisions. The repository acknowledges the overhead of its full git history and explicitly recommends shallow cloning to reduce download time for users who only need the current version.