infinitered/nsfwjs
NSFW detection on the client-side via TensorFlow.js
This tool helps website administrators, content moderators, and online platform managers automatically check images for inappropriate content directly within a user's web browser. It takes an image as input and classifies it into categories like 'Porn', 'Hentai', 'Sexy', 'Drawing', or 'Neutral', providing a judgment on its suitability. This allows for real-time content filtering without sending user data to a server.
8,818 stars. Actively maintained with 1 commit in the last 30 days. Available on npm.
Use this if you need to identify and filter out indecent images on your website or online platform, ensuring a safe content environment for your users, directly in their browser.
Not ideal if you require 100% perfect accuracy for highly sensitive applications, as the tool is not infallible, or if you need server-side image analysis.
Stars
8,818
Forks
589
Language
TypeScript
License
MIT
Category
Last pushed
Feb 23, 2026
Commits (30d)
1
Get this data via API
curl "https://pt-edge.onrender.com/api/v1/quality/ml-frameworks/infinitered/nsfwjs"
Open to everyone — 100 requests/day, no key needed. Get a free key for 1,000/day.
Related frameworks
alex000kim/nsfw_data_scraper
Collection of scripts to aggregate image data for the purposes of training an NSFW Image Classifier
mdietrichstein/tensorflow-open_nsfw
Tensorflow Implementation of Yahoo's Open NSFW Model
GantMan/nsfw_model
Keras model of NSFW detector
infinitered/nsfwjs-mobile
NSFWjs in React Native
TheHamkerCat/NSFW_Detection_API
Rest API Written In Python To Classify NSFW Images.