The purpose of this repository is to distribute a useful mean to fight porn addiction.
If you are willing to improve your life and get rid of porn addiction then Google NoFap®
.
HOSTS file contains the mappings of IP addresses to host names.
With HOSTS file we can prevent our browser to access porn sites.
HOSTS.txt contains a huge list of porn sites (probably the biggest list you can find on the Internet).
Just by copy-pasting its content on your machine's HOSTS file enables the blocking mechanism.
- Right mouse click on Notepad icon then click on
Run as administrator
- File → Open... then insert the path
C:\windows\system32\drivers\etc\hosts
- Add a new line and copy-paste the entire content of HOSTS.txt
- Save
- Reboot
- Open HOSTS.txt and add a newline to the beginning
- Save and close HOSTS.txt
- Right mouse click on Cygwin icon then click on 'Run as adminstrator`
cd
to where HOSTS.txt lives- Run this command in Cygwin:
cat HOSTS.txt >> /cygdrive/c/Windows/System32/drivers/etc/hosts
- Reboot
The steps in Cygwin should be similar on in any POSIX compatible system running on Windows.
- Open the terminal
- Type
sudo vim /etc/hosts
- Add a new line and copy-paste the entire content of HOSTS.txt
- Save
- Reboot
- Install Hosts Go
- Download "HOSTS.txt" and put it somewhere inside your phone
- Open Hosts Go
- Click on HOSTS EDITOR button
- Click on three dots top-right corner
- Import HOSTS file you previously downloaded
- Go back and START
- Install DNS66
- Open DNS66
- Click on HOSTS button to select the "HOSTS" section of the APP
- Click on the + floating button on the lower-right corner
- Insert a title of your choice and the following url: https://raw.githubusercontent.com/4skinSkywalker/Anti-Porn-HOSTS-File/master/HOSTS.txt
- Save the filter you created by clicking the check mark on the top-right corner
- Press the refresh button on the top-right corner
- Go back to the "START" section of the APP and start it
- You should notice a symbol indicating an active VPN on your Android system
Once the mechanism is in place and working, do not disable it.
If you disable it on demand to watch porns then you defeat the very purpose of it, but more than that you betray yourself.
Become an open source contributor in 7 steps (it takes less than 30 minutes):
- Fork this repository
- Clone the repository into your PC
- Create a new branch
- Change whatever you think it has to be improved
- Commit your changes
- Push your changes to GitHub
- Submit a PR
Your changes won't be visible immediately; first they have to be merged by the project maintainer.
If you feel like you want to donate something