Skip to content
/ hosts Public
forked from columndeeply/hosts

Unified porn blocklist. More than 10 million domains as of October 2023. Updated monthly.

Notifications You must be signed in to change notification settings

M4R0N9/hosts

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

This is the result of merging and cleaning up a bunch of porn-blocking lists I've found scattered through the web. It currently has 10.447.804 domains and a redirect to the "Safe Browsing" versions of Google, DuckDuckGo, Bing, YouTube and Yandex.

The list is split into 90MB chunks to avoid GitHub's file size limit. If you need a single file list it can be found on the releases page. The merged list will be updated once a month.

Usage

You can use this list with most DNS based blockers (PiHole/Adguard Home/Technitium DNS/etc.) or directly by appending the list to your hosts file.

PiHole/AdGuard Home/Technitium DNS

Add these to your blocklist and you're ready to go.

https://raw.githubusercontent.com/columndeeply/hosts/main/hosts00
https://raw.githubusercontent.com/columndeeply/hosts/main/hosts01 https://raw.githubusercontent.com/columndeeply/hosts/main/hosts02 https://raw.githubusercontent.com/columndeeply/hosts/main/hosts03 https://raw.githubusercontent.com/columndeeply/hosts/main/hosts04

Hosts file

On Windows

Edit the file C:\Windows\System32\drivers\etc\hosts with administrator privileges and add the domains.

On Linux and MacOS

Add the domains to /etc/hosts. You also download and append them with cat hosts0X >> /etc/hosts

On Android

You can use any of the DNS based blockers like DNS66, personalDNSfilter or Daedalus and add the links posted above.

Contributing

Since this list is just a fused version of other lists and the domains aren't manually checked it'll probably have false positives. If a site is listed here and you think it shouldn't please let me know by opening a new issue or making a pull request. The same goes if you think a site should be added to the list. In both cases please use the appropriate tag on the issue/PR title: [Addition Request] or [Removal Request].

By making an issue

If you're submitting more than a couple dozen domains please make a pull request or use a pastebin site. If it's just a few domains then just paste them on the issue. If you took the domains from another list please say so and leave a link to their page so it can be added to the "Sources" table below.

By making a pull request

When making a pull request you should add a file on the "contributions" directory with your domains. I'll then merge your pull request and merge the file into the main list. Please do not make changes directly to the main list. If you're not sure how to list the domains take a look at the example.

Invalid/Inactive domains

I'm not removing these from the list. Please do not submit domains for removal just because they are no longer active. Removing them would mean having to check every X months to see if they are back. I'll only whitelist domains that are active and point to a non-pornography related site.

Scripts

I've added the two scripts I use to maintain this list to the repository. Feel free to use them anyway you want. Also, if you know a way to make them more clean (not have to use .tmp files would be nice) or any general improvements please let me know.

cleanup.sh

Give it a list of files with domains and it'll try to clean them a bit. It removes all empty lines, comments, multiple whitespaces, tabs, trailing whitespaces and some more stuff. Once that's done it'll replace any IP at the beginning of each line with 127.0.0.1 (or add it if there isn't one). Then it removes any domain that exists in the whitelist, removes any duplicates and sorts the resulting list.

merger.sh

Used to merge clean lists with the main one. Should be run like this sh merger.sh "*_clean" to make sure it only adds the lists created by the cleanup.sh script. It merges all given files with the main one, removes duplicates, sorts the merged list and once that's done it splits it into 90MB chunks.

Sources

Repos

Link Last update Comments
4skinSkywalker's list 2023/09/24
Bon-Appetit's list 2023/02/26
RPiList' list 2023/11/01
Sinfonietta's list 2023/10/23
StevenBlack's list 2023/10/28 Ships packaged with the unified adware + malware lists.
sed -i '0,/^# End yoyo/d; /^#/d; s/ #.*//g; /^$/d'
blocklistproject's list 2023/07/20
cbuijs's list 2023/11/01
cbuijs's list #2 2023/11/01
mrvivacious's list 2023/10/24
porn-records's list 2023/09/15
thisisu's list 2023/10/31
zangadoprojets' list 2023/09/28

Random lists

Archived or abandoned (+1 year without updates)

About

Unified porn blocklist. More than 10 million domains as of October 2023. Updated monthly.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Shell 100.0%