git404hub

what is nsfw_data_scraper fr?

alex000kim/nsfw_data_scraper — explained in plain English

Analysis updated 2026-06-24

12,558ShellAudience · researcherComplexity · 3/5Setup · moderate

tl;dr

A Docker-based toolkit of shell scripts for collecting a labeled image dataset and training a content moderation classifier that distinguishes explicit from safe-for-work images across five categories.

vibe map

mindmap
  root((repo))
    What It Does
      Image dataset collection
      Content classification
      Moderation model training
    Data Pipeline
      URL collection scripts
      Docker image downloader
      Train and test split
    Categories
      Safe-for-work images
      Explicit content types
      Drawing and hentai
    Training
      fastai CNN model
      Jupyter notebook
      91 percent accuracy

Code map

Detail Auto

An interactive map of this repo's files and how they connect — its source is parsed live in your browser. Click Visualize to build it.

filefunction / class

what do people make with this?

VIBE 1

Download and organize a pre-labeled image dataset split into training and test sets for content moderation research.

VIBE 2

Train a convolutional neural network classifier with ~91% accuracy on explicit vs. safe-for-work content using the included notebook.

VIBE 3

Build a custom content filter by adding new image sources to the URL collection step and rerunning the pipeline.

what's the stack?

ShellDockerPythonfastaiJupyter

how it stacks up fr

alex000kim/nsfw_data_scraperskywind3000/awesome-cheatsheetsp8952/bocker
Stars12,55812,47912,649
LanguageShellShellShell
Setup difficultymoderateeasyhard
Complexity3/51/54/5
Audienceresearcherdeveloperdeveloper

Figures from each repo's GitHub metadata at analysis time.

how do i run it?

Difficulty · moderate time til it works · 1h+

Download can take several hours, Docker handles tool installation so no manual Python environment setup is needed.

in plain english

This repository contains a set of shell scripts for collecting a large image dataset to train an image classifier that distinguishes between explicit and non-explicit content. The classifier is designed around five categories: pornography, hentai-style drawings, sexually explicit but non-pornographic images, neutral everyday images, and safe-for-work drawings. The scripts are numbered and meant to be run in order. The first script collects URLs of images from various sources, primarily Reddit, using a tool called Ripme that can scrape image galleries from supported websites. A pre-collected set of URLs is already included in the repository, so you can skip that step unless you want to change the sources. Subsequent scripts download the actual images from those URLs, optionally pull in additional safe-for-work image datasets from existing public collections, and then split everything into training and test folders organized by category. The whole collection process runs inside Docker, which handles the required tools so you do not need to install them manually. The README warns that the download can take several hours and suggests leaving it running overnight. Once the data is collected, a Jupyter notebook is included for training a convolutional neural network on the images using the fastai library. The author reports reaching 91% accuracy with this approach. The README also notes that the dataset is noisy, meaning some images may be miscategorized, and that certain categories (drawings versus hentai, and pornography versus sexy) are more likely to be confused with each other. This is a data collection and training toolkit for researchers or developers building content moderation systems.

prompts (copy fr)

prompt 1
Run the nsfw_data_scraper pipeline from alex000kim/nsfw_data_scraper using the pre-collected URLs to download and split the image dataset without re-scraping.
prompt 2
Train the fastai content moderation model from nsfw_data_scraper on the downloaded dataset and report accuracy per category.
prompt 3
How do I add a new safe-for-work image source to the nsfw_data_scraper URL collection script?
prompt 4
Set up Docker for alex000kim/nsfw_data_scraper and run the full image download pipeline, then verify the folder structure before training.

Frequently asked questions

what is nsfw_data_scraper fr?

A Docker-based toolkit of shell scripts for collecting a labeled image dataset and training a content moderation classifier that distinguishes explicit from safe-for-work images across five categories.

What language is nsfw_data_scraper written in?

Mainly Shell. The stack also includes Shell, Docker, Python.

How hard is nsfw_data_scraper to set up?

Setup difficulty is rated moderate, with roughly 1h+ to a first successful run.

Who is nsfw_data_scraper for?

Mainly researcher.

peek the repo → explain another one

This repo across BitVibe Labs

double-check against the repo, no cap.