Skip to content

A free, open source, and privacy-focused browser extension to block “not safe for work” content built using TypeScript and TensorFlow.js.

License

Notifications You must be signed in to change notification settings

nsfw-filter/nsfw-filter

Repository files navigation

NSFW Filter

A free, open source, and privacy-focused browser extension to block "not safe for work" content.

Built using TypeScript, TensorFlow.js, and NSFWJS.

Download now from chrome web store!

Demo of using NSFW Filter

Table of contents

Usage

You can install the extension from the chrome web store or source.

When you load web pages, NSFW Filter will first hide all images and only show those classified as safe.

To customize the extension, click the icon in your extensions tab.

NSFW Filter popup

Development

Install dependencies by running:

npm install

Then build the project:

npm run build

To run the tests:

npm run test

To run a development version with live reload, run:

npm run dev:chrome

Or 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).

Load extension to Chrome in developer mode

Contribute

Please check the Contributing Guidelines before contributing.

Thanks goes to these wonderful people (emoji key):

Yegor <3
Yegor <3

💻 🎨 🤔
Navendu Pottekkat
Navendu Pottekkat

💻 🖋 📖 🎨 🤔
anonacc
anonacc

🐛
Abhiram V V
Abhiram V V

💻 🐛 🤔
yxlin118
yxlin118

🐛 🤔
Clay McGinnis
Clay McGinnis

👀
Brady Dowling
Brady Dowling

🤔
Mike Crittenden
Mike Crittenden

📖
garfieldbanks
garfieldbanks

🐛
Titus Roby K
Titus Roby K

🐛
Haitam
Haitam

🐛
lizhendong128
lizhendong128

🐛
Woctor-Dho
Woctor-Dho

🤔
miaokun-normal
miaokun-normal

🐛
Christopher Bradshaw
Christopher Bradshaw

🐛
wingman-jr-addon
wingman-jr-addon

🤔
Sagar paul
Sagar paul

📖
Rasul
Rasul

🐛 💻
Aldulkadir Beceri
Aldulkadir Beceri

🐛
silloi
silloi

🤔 🐛 💻

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