restorePhotos icon indicating copy to clipboard operation
restorePhotos copied to clipboard

Add support for disallowing people from NSFW pictures with the help of NSFWJS

Open shivaylamba opened this issue 2 years ago • 5 comments

We can use https://nsfwjs.com/ to enable check for NSFW uploads while uploading any image on the application

shivaylamba avatar Jan 09 '23 17:01 shivaylamba

Good idea, want to submit a PR @shivaylamba?

Nutlope avatar Jan 11 '23 00:01 Nutlope

Yeah sure @Nutlope I will look to implement it

shivaylamba avatar Jan 11 '23 01:01 shivaylamba

HI, @Nutlope before creating the Pull Request, I wanted to get a confirmation, if this implementation looks good: image

I am using the Tailwind Alerts (https://v1.tailwindcss.com/components/alerts) to show an alert, If the user uploads an NSFW image. Let me know if this implementation looks good.

shivaylamba avatar Jan 12 '23 22:01 shivaylamba

@shivaylamba Looks good to me! Let's make it say something like "Detected a NSFW image" please

Nutlope avatar Jan 12 '23 22:01 Nutlope

@shivaylamba Why don't you try something NSFW image Content are against the community guideline , Please try to avoid or else NSFW image are not allowed.

SubhamSubhasisPatra avatar Jan 22 '23 06:01 SubhamSubhasisPatra

Done #24

Nutlope avatar Feb 20 '23 06:02 Nutlope