/PorNo-_Porn_Blocker

Porn blocker that redirects users from porn to positive, fulfilling websites

Primary LanguageJavaOtherNOASSERTION

PorNo! Porn Blocker

PorNo! redirects users from porn to positive, fulfilling websites, instead of the standard "page blocked / blank screen" response


Chrome Extension Android App Join the Subreddit Additional Support
Get PorNo! Porn Blocker on Google Play Subreddit for PorNo!. r-slash-ourlastpornblocker Email me!

Contents

who what where when why how, goals of project (last porn blocker ever rawr)

Will PorNo! ever cost money?

mention problem with finding urls

Installation

HELP TRANSLATE PorNo!

add a gif for web and a gif for android

Note to self

Your problems with porn are not my issue.

Your welfare is not my priority.

I work on this project for my own amusement. 
I am not your friend.   

If there are ways to improve the software / issues with the software, I am 
 listening at jvnnvt@gmail.com and the ourlastpornblocker Subreddit.

Thank you for your time.

Why?

March 2018, I was dealing with a break up off a nasty relationship, and I was using porn to feel less bad/pain/hurt/etc.

When I listened to my favorite music, I noticed I felt good off that. As music doesn't come with the dangers that porn use brings, I thought it would be cool if, whenever I went to a porn site (which was frequent during that time), I instead was shown my favorite music.

This technology didn't exist. I was in college studying computer science (and astronomy), and I thought I could try to build this kind of porn blocker.

The PorNo! Chrome Extension was released in July 2018. The PorNo! Android app was released in January 2019.

No. I don't need to explain myself.

If you're someone who wants to collaborate with the hopes of turning this into a business, however: in terms you'll understand, this segment of the market doesn't offer opportunity for a steady and lucrative income stream.

Additionally, the past, current, and future users of this idea have paid enough of a price with their time and lives.

Finally, I wouldn't like it if people looked at me as "a person who is comfortable taking money from people who have problems with porn."

(If you want to send me money anyways, you're welcome to sponsor this project or hit my Paypal directly. Thank you 🔥)

How to use

  • See Installation for updating the lists
  • Download, deploy, visit a porn site, add a redirect site, visit a porn site.
  • Chrome
    • blahblah
  • Android
    • blah blah

Updating the lists

If you've modified lists/, apply your changes with ./generateLists.py or python generateLists.py in a terminal

This command will update chromeExtension/lists.js and androidApp/app/src/main/java/us/mrvivacio/porno/Domains.java

Release builds:

Chrome Extension

Click this or click the "Available in the Chrome Web Store" button at the top of the README

Android App

Click this or click the "Get it on Google Play" button at the top of the README

Developmental builds:

Chrome Extension

  1. Clone this repo to an easy-to-find place on your computer. For example, this bash command clones the repo to a folder called porNo in your Desktop:
 cd Desktop && git clone https://github.com/mrvivacious/PorNo-_Porn_Blocker.git porNo
  1. Enter chrome://extensions/ in the Google Chrome omnibox / search bar
  2. Turn on Developer mode in the top right corner of the window
  3. Click Load unpacked in the top left corner of the window
  4. Navigate to the folder you cloned PorNo and double-click the chromeExtension folder
  5. If successful, give yourself a pat on the back.

Android App:

  1. Same as above
  2. Open androidApp/ in Android Studio
  3. Read this
  4. NOTE: For Firebase stuff to work, you will need a google-services.json file (and probably need to create the project, create the database, etc)

Note: I don't have a magic CI/CD pipeline at the moment where y'all can recieve the latest changes to the repositories so just make sure you git pull regularly thx

  1. Fork this repository, button in top right of screen

  2. Download/clone your repo to your computer

  3. Download Android Studio

  4. Open androidApp/ in Android Studio

  5. Go to androidApp/app/src/main/res/values/strings.xml

  6. Do this

  7. Translate / Use Google Translate to copy the English text into the rows of the language you are translating for

  8. When finished, change your device language and run PorNo! (green triangle at top of studio) to verify there is no more English

  9. Git commit your changes and git push

  10. On the GitHub page for your fork, create a pull request for me to review your changes! (If these instructions aren't clear enough, dm me on Instagram @mrvivacious and let me know how I can improve them)

Features

Edit the URL lists

The websites are organized by the first letter of their domain name, in lists/Urls. There is a .txt file for the English alphanumeric alphabet, so 0-9, a-z.

Adding a site looks like opening its respective .txt file in a text editor. First check if the site is in the file with your text editor's search function. If the site isn't already in the file, type the name of the site at the top of the file then press enter to keep each site on its own line. Looking through the files will explain the format.

After the site is added, I like to use :sort in ViM to keep the txt file alphabetically sorted.

Finally, in the terminal, I run python generateLists.py. This script creates the JavaScript and Java files for the Chrome extension and the Android app, respectively, using the contents of the .txt files. You will see an output saying what files were updated along with their paths.

Add the lists and the updated .js and .java files to a Git commit and make a pull request. Thanks!

Filing issues / contributing

Todo

Contact me


Milestones

  • Created subreddit (June 26)