Hacker GitHub

← All repos

StevenBlack/hosts

View on GitHub ↗ ★ 31,363 Python

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

244 mentions on Hacker News by 168 people: 21 stories, 223 comments · first 2013-02-22 · latest 2026-10-07

Mentions per year 244 mentions · busiest year 2019 (41)
20082026
  1. One can achieve this locally, on a laptop/desktop, using https://github.com/StevenBlack/hosts Or you can combine that with https://github.com/jlund/streisand to have a VPN service that happens to adblock (great for mobile). That said... I…
    comment by buro9 · 2016-07-29 · in Optimal DNS Ad Blocker
  2. …wide DNS server for ad blocking which I supplement with a bunch of privacy/security lists from https://github.com/StevenBlack/hosts . 5% of my traffic was blocked today which is heaps considering it's counting mountains of requests to eg…
    comment by benologist · 2016-07-23 · in My Raspberry Pi cluster
  3. …most egregious advertisers to 127.0.0.1 via DNS lookup? Does that count as an "ad blocker"? See: https://github.com/StevenBlack/hosts http://someonewhocares.org/hosts/ Someone told me it was pretty effective to do this.
    comment by bediger4000 · 2016-06-24 · in AdBlock Plus Now Illegal in Germany
  4. Not sure if this list is included here, but here's something a friend has used: https://github.com/StevenBlack/hosts
    comment by isxek · 2016-05-28 · in Blocklist of all Facebook domains
  5. …and it works surprisingly well - even the ads on my Xbox One dashboard are blocked. [1] https://github.com/StevenBlack/hosts
  6. this does the trick: https://github.com/StevenBlack/hosts.git
  7. I'm using https://github.com/StevenBlack/hosts and wired is non-functional for me.
    comment by daveloyall · 2016-05-20 · in Project Ara Lives: Google's Modular Phone
  8. There's this GitHub repo with host files setups for exactly this need : https://github.com/StevenBlack/hosts
  9. …servers, I feel even better that I'm blocking all of these ad servers with my /etc/hosts file using https://github.com/StevenBlack/hosts . The update will be a no-op from my machine.
  10. Not on my computer: https://github.com/StevenBlack/hosts
  11. …the unnecessary cat command: grep -v '#' steves_hosts | awk '{print $1}'| sort | uniq -c [1] https://github.com/StevenBlack/hosts [2] https://news.ycombinator.com/item?id=5264955
  12. …I just leave. If the article is that important, some other outlet will cover the news. [1] - https://github.com/StevenBlack/hosts
  13. seems to work OK with uBlock EDIT: i forgot that I also use https://github.com/StevenBlack/hosts so it might be either uBlock or the hosts file that kills adblock in my case not sure
  14. I could not click the sign up button until I removed this https://github.com/StevenBlack/hosts from my hosts file. I guess some advertising infrastructure is used on google's page. (Not that I want to sign up for this, I was just curious…
    comment by daveloyall · 2016-03-23 · in TensorFlow as a Service
  15. …I really don't trust, and my own VPN with streisand and Dnsmasq (with a hosts very similar to https://github.com/StevenBlack/hosts/ ). On my mobile every link I click in any app I open in Dolphin Zero (still on that DNS blocking VPN -…
    comment by buro9 · 2016-03-11 · in Trackers
  16. This is DNS server version of the excellent host blocking rule maintained here: https://github.com/StevenBlack/hosts This was setup in mainly to stop my android loading ads all the time. This is no way standards compliant (for starters, it…
  17. https://github.com/StevenBlack/hosts/blob/master/data/Steven... https://github.com/StevenBlack/hosts/blob/master/data/adaway... https://github.com/StevenBlack/hosts/blob/master/data/malwar...
    comment by RKearney · 2016-02-13 · in Adblock via /etc/hosts
  18. …are running a script ( https://github.com/Kolyunya/afdns ) that pulls the hosts file daily from ( https://github.com/StevenBlack/hosts ). It has been working great for a few weeks, but I'm curious about any improvements I could provide.
    comment by o_s_m · 2016-02-13 · in Adblock via /etc/hosts
  19. …at [1], the only entries I can find for 127.0.0.1 are for localhost or are commented out [1] https://github.com/StevenBlack/hosts/blob/master/hosts
    comment by stordoff · 2016-02-12 · in Adblock via /etc/hosts
  20. Its in the repo's readme: https://github.com/StevenBlack/hosts#why-use-0000-instead-of...
    comment by Goopplesoft · 2016-02-12 · in Adblock via /etc/hosts
  21. …support. [1] http://someonewhocares.org/hosts/ [2] http://winhelp2002.mvps.org/hosts.htm [3] https://github.com/StevenBlack/hosts
  22. I recommend you check out StevenBlack's Amalgamated hosts file: https://github.com/StevenBlack/hosts Currently the hosts files from the following locations are amalgamated: MVPs.org Hosts file at http://winhelp2002.mvps.org/hosts.htm,…
  23. …and de-dupes recent hosts files from mvps.org, someonewhocares.org, and malwaredomainlist.com. https://github.com/StevenBlack/hosts