stevenblack/hosts: Unified Hosts File Aggregator

repository·master·Indexed 31 days ago

https://github.com/stevenblack/hosts

A hosts file aggregator that consolidates multiple reputable sources like adaway.org and malwaredomainlist.com into a single, de-duplicated file. Supports extensible categories including fakenews, gambling, porn, and social. Includes tools for generating custom variants via Docker, Python, or local scripts, with support for Windows, Linux, NixOS, and macOS.

Tokens
108.2K
Snippets
220
Records
512
Agent score
69%

What's inside stevenblack-hosts

  1. Overview of the fakenews-social hosts variant

    master

    The fakenews-social variant is a unified hosts file that consolidates several reputable sources into a single, de-duplicated file. It specifically includes extensions for fakenews and social content, merged with the base adware and malware lists.

    Key Details

    • Type: Unified hosts file (Base lists + extensions).
    • Extensions included: fakenews, social.
    • Content: Contains entries to block fake news sites and social media platforms.

    Accessing the file

  2. Overview of the gambling-porn-social-only hosts variant

    master

    The gambling-porn-social-only variant is a specialized hosts file aggregator that consolidates data from several reputable sources. Unlike the base variants, this specific variant is limited strictly to the following extensions:

    • gambling
    • porn
    • social

    It provides a de-duplicated list of entries specifically targeting these categories. This variant is useful when you want to block these specific types of content without including the standard adware or malware lists found in the unified variants.

  3. Overview of the gambling-porn-only hosts variant

    master

    The gambling-porn-only variant is a specialized hosts file aggregator that is strictly limited to two extensions: gambling and porn. Unlike 'unified' variants that include base adware and malware lists, this variant contains only the data from these specific extensions.

    Key Details

    • Content: Only includes entries related to gambling and pornographic sites.
    • Use Case: Ideal for users who want to block these specific categories without necessarily blocking general adware or malware, or for creating highly targeted filter lists.
    • Raw File Access: You can access the raw hosts file directly via GitHub for automated tools.

    Accessing the hosts file

    • GitHub Raw Link: https://raw.githubusercontent.com/StevenBlack/hosts/master/alternates/gambling-porn-only/hosts
    • Non-GitHub Mirror: For managers that do not support GitHub links (e.g., Hostsman for Windows), use the project's provided non-GitHub mirror.
  4. Overview of the gambling-social unified hosts variant

    master

    The gambling-social variant is a unified hosts file that consolidates several reputable hosts files into a single, de-duplicated file. It specifically includes extensions for gambling and social content, merged with the base adware and malware lists.

    Key details:

    • Type: Unified (Base lists + gambling + social extensions).
    • Content: Includes blocking for malware, adware, gambling, and social media sites.
    • Usage Note: If you are using a hosts file manager like Hostsman for Windows that does not support GitHub download links, use the Non GitHub mirror provided in the repository.
  5. Overview of the gambling-porn unified hosts variant

    master

    The gambling-porn variant is a unified hosts file that consolidates several reputable hosts files into a single, de-duplicated file. It includes the base hosts (adware and malware) plus specific extensions for gambling and porn content.

    Key details:

    • Type: Unified (Base lists + extensions).
    • Content: Includes adware, malware, gambling, and porn blocking entries.
    • Usage: Use the provided raw link for direct downloads or the Non GitHub mirror for hosts file managers (like Hostsman for Windows) that do not support GitHub URLs.
  6. Overview of the porn-social hosts variant

    master

    The porn-social variant is a unified hosts file that consolidates several reputable hosts files into a single, de-duplicated file. This specific variant includes extensions for both porn and social content, merged with the base lists.

    Key details:

    • Content: Includes base lists plus porn and social extensions.
    • Last Updated: July 23 2026.
    • Scale: The raw file contains approximately 172,517 entries.

    Use this variant if you want a single hosts file that blocks both social media and pornographic sites alongside standard adware and malware.

  7. Overview of the porn unified hosts variant

    master

    The porn variant is a unified hosts file that consolidates several reputable hosts files and merges them into a single file with duplicates removed. This specific variant includes porn extensions added to the base lists.

    Key details:

    • Type: Unified hosts file (base lists + porn extensions).
    • Content: Includes 169,304 entries (as of the last update).
    • Raw File: You can access the raw hosts file directly via GitHub.

    Note: If you find incorrect content in the produced hosts files, issues should be reported to the original data source rather than this repository, unless the issue concerns hosts/data/StevenBlack/hosts.

  8. Overview of the gambling unified hosts variant

    master

    The gambling variant is a tailored hosts file that consolidates several reputable hosts files into a single, unified file with duplicates removed. It specifically includes extensions to block gambling-related domains.

    • Purpose: Acts as a hosts file aggregator to provide a unified, de-duplicated list.
    • Content: Includes the base hosts lists plus gambling-specific extensions.
    • Raw File: You can access the raw hosts file directly via GitHub.

    Note on reporting issues: If you find incorrect content in the produced hosts files, please report it to the appropriate data source. Contact information for all data sources is located in the hosts/data/ directory. Only issues regarding changes to hosts/data/StevenBlack/hosts should be opened in this repository.

  9. Overview of the fakenews hosts variant

    master

    This repository acts as a hosts file aggregator that consolidates multiple reputable hosts files into a single, de-duplicated file. The fakenews variant specifically provides a unified hosts file that includes fakenews extensions.

    Important Notes:

    • Cloning: To avoid long download times, use a shallow clone (--depth 1) instead of downloading the full history.
    • Issue Reporting: Issues regarding the content of the produced hosts files should be reported to the original data source, not this repository. Contact information for data sources is located in the hosts/data/ directory.
  10. Overview of the gambling-porn-social hosts variant

    master

    The gambling-porn-social variant is a unified hosts file that consolidates several reputable hosts files into a single, de-duplicated file. This specific variant includes extensions for gambling, porn, and social content, merged with the base hosts list.

    Key Details

    • Type: Unified (Base lists + extensions).
    • Content: Includes entries for gambling, porn, and social media sites.
    • Usage: Best for users who want a comprehensive blocklist covering these specific categories alongside standard adware/malware blocking.

    Accessing the File

    • Raw Hosts File: You can access the raw content directly via GitHub: https://raw.githubusercontent.com/StevenBlack/hosts/master/alternates/gambling-porn-social/hosts
    • Mirrors: For hosts file managers that do not support GitHub links (e.g., Hostsman for Windows), use the Non GitHub mirror provided in the repository's alternates directory.
  11. Overview of the fakenews-gambling-porn unified hosts variant

    master

    The fakenews-gambling-porn variant is a unified hosts file that consolidates several reputable hosts files into a single, de-duplicated list. This specific variant includes the base adware and malware domains plus the following extensions:

    • fakenews
    • gambling
    • porn

    This variant is useful for users who want a comprehensive blocklist covering these specific categories alongside standard security domains.