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. …ercontent.com/StevenBlack/hosts/master/a... . Check the bottom of the list for the social ones. Edit: https://github.com/StevenBlack/hosts repo link.
  2. A good hosts file will help, a lot. https://github.com/StevenBlack/hosts Disclosure: there are many like it, but this one's mine.
  3. …resolution. It also does not interfere with a web server that may be running on the local PC. [0] https://github.com/StevenBlack/hosts
    comment by rwnspace · 2019-12-03 · in How Facebook Avoids Ad Blockers
  4. This might help: https://github.com/StevenBlack/hosts Apart from adware and malware it offers to block url's falling into other categories like fakenews, social, gambling, and porn.
  5. [] https://github.com/liamsomerville/facebookblocklist/blob/mas... [] https://github.com/StevenBlack/hosts/blob/master/alternates/...
  6. …the same end result could be achieved in any browser/system-wide by using a curated one such as: https://github.com/StevenBlack/hosts Or is Edge Tracking Prevention more effective in some way?
  7. I just periodically update my host file with - https://github.com/StevenBlack/hosts which blocks most of the ad serving domains gmail/youtube etc work fine
  8. …these hosts files [2] loaded into its DNSmasq config. [1] https://www.amazon.com/dp/B072ZTCNLK [2] https://github.com/StevenBlack/hosts
  9. This has already been added to the excellent host block file of StevenBlack. https://github.com/StevenBlack/hosts/issues/1083
  10. …ad-blockers. Even if those were illegal for some reason, there are lists available (such as hosts, https://github.com/StevenBlack/hosts ) where you can make known tracking/advertising/etc hostnames non-routable Are you saying that site…
    comment by bsclifton · 2019-11-13 · in Brave launches 1.0
  11. There's the option for hosts-based blocking, too; unified hosts[1] for example [1] https://github.com/StevenBlack/hosts
  12. Hosts file blocklists work well for known domains. https://github.com/StevenBlack/hosts
  13. …automation to take advantage of /etc/hosts (and put a blocklist in there while you are at it: https://github.com/StevenBlack/hosts ).
    comment by sedachv · 2019-09-15 · in Chaosnet Network Protocol
  14. …wide (not just Safari) ads/tracker blocking. Adding custom filters as and when required. - [0] https://github.com/StevenBlack/hosts
  15. …sufficient experience to claim this for certain. Background: years of discussions and issues at https://github.com/StevenBlack/hosts , which I maintain.
  16. …to have full read/write access to all web sites I visit. I use a domain block list in `/etc/hosts`: https://github.com/StevenBlack/hosts
    comment by C14L · 2019-07-27 · in Adblocking: How about Nah?
  17. …or use a "myhosts" file to name your own domains for a subset (e.g. all of facebook or whatever) https://github.com/StevenBlack/hosts
  18. How is this different or better than Steven Black's project? Repo: https://github.com/StevenBlack/hosts
  19. It's dangerous to go alone. Take this: https://github.com/StevenBlack/hosts
  20. …update your hosts file periodically, using the same blacklists[0]. No extra hardware needed. [0]: https://github.com/StevenBlack/hosts .
  21. All the more reason to use Host block lists such as https://github.com/StevenBlack/hosts
  22. …edit /etc/hosts to have all the unwanted domains resolve to 0.0.0.0 I like to get my host list from https://github.com/StevenBlack/hosts
  23. …easily configurable. Unfortunately, you will lose out on the statistics that Pi-hole collects. [1] https://github.com/StevenBlack/hosts [2] https://github.com/openwrt/packages/tree/master/net/adblock/...
  24. I'm tree weeks into: git clone https://github.com/StevenBlack/hosts.git && cd hosts && pip3 install --user -r requirements.txt && python3 updateHostsFile.py --auto --replace --extensions social porn gambling and going strong. What I…
  25. I update my hosts file to stop communication with the bad guys: https://github.com/StevenBlack/hosts/blob/master/alternates/...
    comment by npc_george123 · 2019-04-17 · in Ask HN: How do you secure your Mac?
  26. https://github.com/StevenBlack/hosts Solve all my problems with ads and also effective against social, porn and gaming addiction.
  27. If you don't mind a bit more config to tune to your precise preferences, I'd highly recommend https://github.com/StevenBlack/hosts
  28. …account management interface. I have been using ublock + configured my router as DNS server using https://github.com/StevenBlack/hosts/ The DNS server has the advantage of filtering for the mobile devices on WiFi as well, which is a nice…
  29. …more features than Unbound. In my Unbound config I have an include to a blocklist generated from https://github.com/StevenBlack/hosts , essentially I pipe the data from that repo through awk [3] I have an Android TV box so also have a…
  30. …in my network, especially from those which cannot be configured with a firewall or adblocker. [1] https://github.com/StevenBlack/hosts
    comment by fisian · 2019-02-24 · in Tracking my phone's silent connections
  31. Shouldn't the hosts file from https://github.com/StevenBlack/hosts + uBlock Origin + uBlock Origin Extra be the perfect anti-tracking combo?
  32. …can't be as bad as my ISP. [1] https://dnsprivacy.org/wiki/display/DP/DNS+Privacy+Daemon+-+... [2] https://github.com/StevenBlack/hosts [3] https://developers.cloudflare.com/1.1.1.1/commitment-to-priv...
  33. …paying for the service, but they seriously need to do a better job vetting for malicious ads. [1] https://github.com/StevenBlack/hosts
  34. Theres a bunch on github, just search for blacklist hostfiles. https://github.com/StevenBlack/hosts
  35. You might be interested in this ticket: Encrypted subdomains for routing ads https://github.com/StevenBlack/hosts/issues/801 A PiHole could do wildcard blocking for the subdomain - but as in the ticket where the content for the site is…
    comment by lightswitch05 · 2019-01-23 · in Blocking website ads with a hosts file
  36. …and it works like a charm. Just have to update it from time to time (but it can be automated). https://github.com/StevenBlack/hosts "This repository consolidates several reputable hosts files, and merges them into a unified hosts file with…
  37. I have like 30,000 entries in mine and there is no performance issues. https://github.com/StevenBlack/hosts
    comment by jason_slack · 2019-01-23 · in Blocking website ads with a hosts file
  38. …many other hosts including Dan Pollock's list. [1] https://someonewhocares.org/hosts/zero/ [2] https://github.com/StevenBlack/hosts
    comment by vidyesh · 2019-01-23 · in Blocking website ads with a hosts file
  39. …potentially others. You can optionally invoke extensions to block additional sites by category. || https://github.com/StevenBlack/hosts Someone will make money selling an ad blocker device that's just a configured Raspberry Pi with a…
  40. …Another idea might be to remove all blocklists in pi-hole, and only add this list: https://github.com/StevenBlack/hosts
  41. …just a pi-hole equivalent that integrates with pfSense) and I only use the Steven Black list: https://github.com/StevenBlack/hosts It seems to be well curated. Breakages are rare, and if there is one, you can file a bug. Works well.
  42. …edit the original post now, but it was just my computer blocking your domain at the hosts level via https://github.com/StevenBlack/hosts I should have realised, but it's the first time using that hosts list has ever stopped a website I've…
    comment by SCdF · 2018-12-15 · in JavaScript growth and third parties
  43. …platforms takes a pretty consistent toll That sucks. :/ https://someonewhocares.org/hosts/ and https://github.com/StevenBlack/hosts/blob/10bba14590738c445c...
  44. …our activities to be used against us in the form of advertisements. [1] https://pi-hole.net [2] https://github.com/StevenBlack/hosts
    comment by move-on-by · 2018-10-30 · in Kids’ Apps Are Crammed With Ads
  45. …a little more flexible than pi-hole since you can use your mobile devices over LTE with it. [0] https://github.com/StevenBlack/hosts [1] https://github.com/StreisandEffect/streisand
    comment by aphextron · 2018-09-26 · in Mmm, Pi-hole
  46. …can blackhole domains. It doesn't work well on very large host files so I gave up trying to import https://github.com/StevenBlack/hosts , but it does work well for smaller lists.
    comment by 8_hours_ago · 2018-09-26 · in Mmm, Pi-hole
  47. There's also Steven Black's host file: https://github.com/StevenBlack/hosts
    comment by SamuelAdams · 2018-09-26 · in Mmm, Pi-hole
  48. …cut between ads & tracking and useful services. [1] https://github.com/lightswitch05/hosts [2] https://github.com/StevenBlack/hosts
    comment by lightswitch05 · 2018-09-26 · in Mmm, Pi-hole
  49. I use a /etc/hosts-based ( https://github.com/StevenBlack/hosts ) approach to add blocking across my machines, but I have found some sites (fansided.com) comes to mind, which detect that I'm blocking and won't let me read them. How easy is…
    comment by rufugee · 2018-09-26 · in Mmm, Pi-hole
  50. …by caching would be an ideal solution for me. __ ¹ https://github.com/lixingcong/dnsmasq-regex ² https://github.com/StevenBlack/hosts
    comment by DyslexicAtheist · 2018-09-06 · in Noisy: Random DNS, HTTP/S traffic noise generator