Convert Figma logo to code with AI

jmdugan logoblocklists

Shared lists of problem domains people may want to block with hosts files

4,535
343
4,535
24

Top Related Projects

Curated and well-maintained hostfile to block ads, tracking, cryptomining, and more! Updated regularly. ⚡🔒

26,670

🔒 Consolidating and extending hosts files from several well-curated sources. Optionally pick extensions for porn, social media, and other categories.

Automatically updated, moderated and optimized lists for blocking ads, trackers, malware and other garbage

7,155

AdAway is a free and open source ad blocker for Android.

AdGuard Content Blocking Filters

The Ultimate Unified Hosts file for protecting your network, computer, smartphones and Wi-Fi devices against millions of bad web sites. Protect your children and family from gaining access to bad web sites and protect your devices and pc from being infected with Malware or Ransomware.

Quick Overview

The jmdugan/blocklists repository is a collection of curated blocklists for various domains and IP addresses. These lists are designed to help users block unwanted content, enhance privacy, and improve security across different platforms and devices. The project aims to provide a community-driven resource for maintaining up-to-date blocklists.

Pros

  • Regularly updated and maintained by the community
  • Covers a wide range of domains and IP addresses for comprehensive blocking
  • Can be easily integrated into various blocking tools and platforms
  • Helps improve privacy and security for users

Cons

  • May occasionally block legitimate domains, requiring manual whitelisting
  • Requires regular updates to stay effective against new threats
  • Some lists may be too aggressive for casual users
  • Potential for false positives, which could impact user experience

Getting Started

To use these blocklists:

  1. Choose the desired blocklist(s) from the repository.
  2. Copy the raw URL of the list(s) you want to use.
  3. Add the URL(s) to your preferred blocking tool or platform (e.g., Pi-hole, AdGuard, uBlock Origin).
  4. Update your blocking tool to fetch the latest version of the lists.

Example for adding a blocklist to Pi-hole:

# SSH into your Pi-hole device
ssh pi@pi-hole.local

# Add a blocklist to Pi-hole
sudo pihole -a adlist add https://raw.githubusercontent.com/jmdugan/blocklists/master/corporations/facebook/all

# Update Pi-hole's gravity database
sudo pihole -g

Note: The exact steps may vary depending on your specific blocking tool or platform. Always refer to the documentation of your chosen tool for the most accurate instructions.

Competitor Comparisons

Curated and well-maintained hostfile to block ads, tracking, cryptomining, and more! Updated regularly. ⚡🔒

Pros of blacklist

  • More focused on ad-blocking and tracking prevention
  • Regularly updated with community contributions
  • Includes specific lists for different purposes (e.g., Facebook, Spotify)

Cons of blacklist

  • Less comprehensive in terms of overall content blocking
  • May require more manual configuration for specific use cases
  • Potentially higher risk of false positives due to aggressive blocking

Code comparison

blacklist:

0.0.0.0 ads.example.com
0.0.0.0 tracking.example.com
0.0.0.0 analytics.example.com

blocklists:

0.0.0.0 example.com
0.0.0.0 subdomain.example.com
::1 example.com

Key differences

  1. Scope: blacklist focuses primarily on ad and tracking domains, while blocklists covers a broader range of potentially unwanted content.

  2. Format: blacklist uses a simpler format with only IPv4 addresses, while blocklists includes both IPv4 and IPv6 entries.

  3. Granularity: blacklist tends to block specific subdomains, whereas blocklists often blocks entire domains.

  4. Maintenance: blacklist has more frequent updates and active community involvement, while blocklists relies more on the maintainer's curation.

  5. Customization: blacklist offers more specialized lists for particular services, allowing users to tailor their blocking experience more easily.

26,670

🔒 Consolidating and extending hosts files from several well-curated sources. Optionally pick extensions for porn, social media, and other categories.

Pros of hosts

  • More comprehensive and regularly updated blocklist
  • Offers multiple variations (e.g., with social media, gambling, porn)
  • Provides a unified hosts file format for easy implementation

Cons of hosts

  • May be too aggressive for some users, potentially blocking desired content
  • Larger file size due to extensive list of domains
  • Requires more frequent updates to maintain effectiveness

Code comparison

hosts:

0.0.0.0 example.com
0.0.0.0 ads.example.com
0.0.0.0 tracking.example.com

blocklists:

127.0.0.1 localhost
::1 localhost
0.0.0.0 example.com

Key differences

  1. Format: hosts uses a unified hosts file format, while blocklists uses separate files for different categories.
  2. Scope: hosts covers a wider range of domains and offers various combinations, whereas blocklists focuses on specific categories.
  3. Customization: blocklists allows for easier customization by selecting specific lists, while hosts provides pre-configured combinations.
  4. Update frequency: hosts is updated more frequently, ensuring better protection against new threats.
  5. Community involvement: hosts has a larger community contributing to its development and maintenance.

Both repositories serve the purpose of blocking unwanted content and improving privacy, but they differ in their approach and level of detail. The choice between them depends on individual needs and preferences for customization and comprehensiveness.

Automatically updated, moderated and optimized lists for blocking ads, trackers, malware and other garbage

Pros of hosts-blocklists

  • More comprehensive and frequently updated blocklist
  • Includes additional categories and specialized lists (e.g., gambling, social media)
  • Provides both hosts file format and domain-only lists for flexibility

Cons of hosts-blocklists

  • May include more false positives due to its larger scope
  • Requires more frequent updates to stay current
  • Can be overwhelming for users who prefer a simpler, more curated list

Code Comparison

blocklists:

0.0.0.0 facebook.com
0.0.0.0 www.facebook.com
0.0.0.0 instagram.com
0.0.0.0 www.instagram.com

hosts-blocklists:

0.0.0.0 facebook.com
0.0.0.0 www.facebook.com
0.0.0.0 instagram.com
0.0.0.0 www.instagram.com
0.0.0.0 fbcdn.net

The hosts-blocklists repository tends to include more subdomains and related domains for each blocked service, potentially offering more comprehensive coverage. However, this may also increase the likelihood of unintended blocking. Both repositories use similar formatting for their blocklists, making them compatible with various ad-blocking and privacy tools.

7,155

AdAway is a free and open source ad blocker for Android.

Pros of AdAway

  • User-friendly Android app interface for easy ad-blocking
  • Supports custom host files and whitelist/blacklist functionality
  • Regular updates and active community support

Cons of AdAway

  • Limited to Android devices, not as versatile as blocklists
  • Requires root access for full functionality
  • May not block as extensive a range of domains as blocklists

Code Comparison

AdAway (hosts file format):

127.0.0.1 localhost
::1 localhost
127.0.0.1 example.com
127.0.0.1 ads.example.com

blocklists (domain list format):

0.0.0.0 example.com
0.0.0.0 ads.example.com
0.0.0.0 tracking.example.com
0.0.0.0 malware.example.com

Key Differences

  1. Platform: AdAway is Android-specific, while blocklists can be used on various platforms and devices.
  2. Format: AdAway uses a hosts file format, whereas blocklists uses a simple domain list format.
  3. Scope: blocklists offers a broader range of curated lists for different purposes (e.g., tracking, malware), while AdAway focuses primarily on ad-blocking.
  4. Implementation: AdAway is a complete app solution, while blocklists provides raw lists for use with other blocking tools or software.

Both projects aim to enhance user privacy and security by blocking unwanted domains, but they cater to different use cases and user preferences.

AdGuard Content Blocking Filters

Pros of AdguardFilters

  • More comprehensive and regularly updated filter lists
  • Supports multiple platforms and browsers
  • Includes specialized filters for specific purposes (e.g., mobile, annoyances)

Cons of AdguardFilters

  • Larger file sizes due to extensive rule sets
  • May require more system resources to process
  • Potential for higher false positive rate due to broader coverage

Code Comparison

AdguardFilters:

||example.com^$third-party
@@||example.com/allowed-content
! Comment explaining the rule

blocklists:

0.0.0.0 example.com
# Simple comment

Summary

AdguardFilters offers a more comprehensive and versatile approach to content blocking, with support for various platforms and specialized filters. However, this comes at the cost of larger file sizes and potentially higher resource usage. blocklists, on the other hand, provides a simpler, more lightweight approach focused primarily on domain-level blocking. The choice between the two depends on the user's specific needs, system capabilities, and desired level of granularity in content filtering.

The Ultimate Unified Hosts file for protecting your network, computer, smartphones and Wi-Fi devices against millions of bad web sites. Protect your children and family from gaining access to bad web sites and protect your devices and pc from being infected with Malware or Ransomware.

Pros of Ultimate.Hosts.Blacklist

  • More comprehensive, with a larger number of blocked domains
  • Regularly updated and maintained
  • Provides multiple formats and versions for different use cases

Cons of Ultimate.Hosts.Blacklist

  • May be overly aggressive, potentially blocking legitimate domains
  • Larger file size, which could impact performance on some systems
  • More complex structure, potentially harder to customize

Code Comparison

Ultimate.Hosts.Blacklist:

0.0.0.0 example1.com
0.0.0.0 example2.com
0.0.0.0 example3.com

blocklists:

0.0.0.0 facebook.com
0.0.0.0 www.facebook.com
0.0.0.0 instagram.com

Both repositories use similar formats for their blocklists, with Ultimate.Hosts.Blacklist generally containing more entries. The blocklists repository focuses on specific companies or services, while Ultimate.Hosts.Blacklist aims for a more comprehensive approach.

Ultimate.Hosts.Blacklist offers more flexibility with various formats and versions, making it suitable for different applications. However, this complexity may make it harder to manage for some users. The blocklists repository, while simpler, provides a more focused approach to blocking specific services or companies.

Ultimately, the choice between these repositories depends on the user's specific needs, technical expertise, and desired level of control over their blocking setup.

Convert Figma logo designs to code with AI

Visual Copilot

Introducing Visual Copilot: A new AI model to turn Figma designs to high quality code using your components.

Try Visual Copilot

README

Group project to catalog and list domain names that people may want to block.

Current focus on corporations, for which there are no other maintained lists.

Files in this project list the domain names of servers, one per line that can be added to your local hosts file to tell your computer to never talk to servers on that domain name or added to your pi-hole blocklists for network wide blocking.

FAQ

  • "This would be so much cleaner if one were writing this as a dnsmasq config"

    Yes. If you want that solution, see dnsmasq and projects like these: FreeContributor.

    These options require slightly more technical skill than adding entries to your hosts file, and can work better in some ways.

  • Your hosts file Location:

    • Linux, Unix and Mac OS X -> /etc/hosts
    • Windows XP, Vista and Windows 7 -> C:\WINDOWS\system32\drivers\etc\hosts
    • Windows 2000 -> C:\WINNT\system32\drivers\etc\hosts
    • Windows 98/ME -> C:\WINDOWS\hosts