Giter Club home page Giter Club logo

nsfw-filter's Introduction

NSFW Filter - Web extension to block NSFW content using AI | Product Hunt Embed

GitHub release (latest by date including pre-releases) GitHub last commit GitHub issues GitHub pull requests
Contributors Contributing GitHub
GitHub tweet

NSFW Filter

Download now

A Web extension that filters out NSFW images from websites.

It uses TensorFlow JS- a Machine Learning framework- to check for NSFW images when a web page is loaded.

When a web page is loaded, all the images remain hidden until they are found to be NSFW or not. If they are found to be NSFW, they remain hidden. Otherwise, they become visible.

The extension runs completely on your browser. i.e No user data is being sent to a server for processing.

Read about the release in Hacker Noon or in Towards Data Science.

Model used- nsfwjs developed by Infinite Red, Inc.

Download now Download now Download now

Download NSFW Filter | Download for Chrome | Download for Firefox

Supported browsers: Google Chrome, Mozilla Firefox.

Reach out to us! Join the Slack channel.

Demo

As you can see below, the NSFW content in Google Images are hidden as soon as the page is loaded.

You can try loading the same page with and without the extension to see it work. (The page may contain images that are innapropriate for some users)

Check DEMO.md for more.

Table of contents

Installation

(Back to top)

These instructions are for developers.

You can download for use directly from chrome.google.com/webstore/nsfw-filter and addons.mozilla/nsfw-filter.

Clone this repository and navigate inside the project folder and install the dependencies by running:

npm ci

After installing the dependencies, build the project by executing:

npm run build

Adding to Chrome

(Back to top)

To install the developer version follow the steps below. To just use the extension download from chrome.google.com/webstore/nsfw-filter

After you have finished the Installation, open Google Chrome and open the Extension Management page by navigating to chrome://extensions or by opening Settings and clicking Extensions from the bottom left.

Enable Developer Mode by clicking the toggle switch next to Developer mode.

Click the LOAD UNPACKED button and select the extension directory(.../dist).

Install Instructions

Voila! The extension is now installed and ready to be used!

Adding to Firefox

(Back to top)

To install the developer version follow the steps below. To just use the extension download from addons.mozilla/nsfw-filter

After finishing Installation, open Firefox and open the Debug Add-ons page by navigating to about:debugging#/runtime/this-firefox or by selecting it from Settings dropdown in the add-ons page.

Click Load Temporary Add-on and select the manifest.json file from the .../dist directory.

Install Instructions

That's it! The extension is now ready to be used in Firefox!

Usage

(Back to top)

After adding the extension to Chrome/Firefox, it will light-up everytime you load a compatable website.

When a page is loaded, the extension would hide all the images in the page and only show images that have been classified as NOT NSFW.

You can toggle(off/on) the extension from the chrome://extensions page in Chrome and about:debugging#/runtime/this-firefox in Firefox.

Contribute

(Back to top)

Contributors ✨

(Back to top)

Thanks goes to these wonderful people (emoji key):


Yegor <3

💻 🎨 🤔

Navendu Pottekkat

💻 🖋 📖 🎨 🤔

anonacc

🐛

Abhiram V V

💻 🐛 🤔

yxlin118

🐛 🤔

Clay McGinnis

👀

Brady Dowling

🤔

Mike Crittenden

📖

garfieldbanks

🐛

Titus Roby K

🐛

Haitam

🐛

lizhendong128

🐛

Woctor-Dho

🤔

miaokun-normal

🐛

This project follows the all-contributors specification. Contributions of any kind welcome!

Please check the Contributing Guidelines before contributing.

Sponsor

(Back to top)

This is a completely Open Source project and it is free for use.

Help us in keeping this project maintained.

You can sponsor on Open Collective or become a Patron.

License

(Back to top)

GNU General Public License version 3

Privacy

(Back to top)

This extension does NOT collect and send any user data. All the operations on the images are done locally on the browser.

nsfw-filter's People

Contributors

pottekkat avatar yzevm avatar allcontributors[bot] avatar anonacc avatar crittermike avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.