Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Option to filter NSFW content including PFPs and links #73

Open
bebopkid opened this issue Dec 20, 2022 · 4 comments
Open

Option to filter NSFW content including PFPs and links #73

bebopkid opened this issue Dec 20, 2022 · 4 comments
Labels

Comments

@bebopkid
Copy link
Collaborator

The ability to filter out NSFW posts, comments, and PFPs will help with mass adoption. Most social sites have this on by default like imgur, etc.

@bebopkid bebopkid added the enhancement Improvement label Dec 22, 2022
@alltheseas
Copy link
Collaborator

User Story

As a Damus user, I would like the option to set a NSFW image filter, so that I can customize according to my preferences.

Acceptance Criteria

  1. Damus app sets up a NSFW filter that screens all incoming images from all relays for NSFW content, and
  2. Damus app sets up a NSFW filter that screens all profile pictures for NSFW content, and
  3. Damus user will have option to hide, or display NSFW images, and
  4. Damus will default to hide NSFW images.

@alltheseas
Copy link
Collaborator

alltheseas commented Feb 2, 2023

@realprogrammersusevim

See above user story.

From your comments below, it seems you are adding a couple criteria:
5. Don’t load profile pics from users who I do not follow
6. Allow the user to configure the global feed to only show posts from a certain follow distance away

Damus global feed needs to be majorly reworked..

- Definitely don’t load profile pics from people who aren’t friends
- Maybe allow the user to configure the global feed to only show posts from a certain follow distance away
- Once I can get the NSFW filter to work definitely don’t load any images from people you don’t follow

Not loading profile pics from people who aren’t follow should be easy. Just do exactly what we’ve done with images to the profile pics.

https://damus.io/note18fgg473qhsudlr30kfe3thvccufhct2t2palwluwzl3uvwl3gtsslfeera

image
https://damus.io/note1ahk5gr5c908n29mlkq0hxj3wm5333qgdt93ugk0a78pnfz9mhzzsxna5c8

@realprogrammersusevim
Copy link
Contributor

Looks great! For now at least the pfp pull request just treats pfps like images and has a dumb filter based on following. Once I can get the NSFW ML model filter working I can work on adding all the necessary config options. It might be a while since I have absolutely no experience with using CoreML models, I've only used models in Python.

@alltheseas
Copy link
Collaborator

Looks great! For now at least the pfp pull request just treats pfps like images and has a dumb filter based on following. Once I can get the NSFW ML model filter working I can work on adding all the necessary config options. It might be a while since I have absolutely no experience with using CoreML models, I've only used models in Python.

Ok! I can mark off the criteria one by one, as you and the other devs knock them out.

PFP PR: Blur profile pics if not following with some exceptions #492

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

3 participants