stashapp / stash

An organizer for your porn, written in Go. Documentation: https://docs.stashapp.cc
https://stashapp.cc/
GNU Affero General Public License v3.0
9.26k stars 794 forks source link

[Feature] R18 toggle/SFW toggle #2022

Open holly-hacker opened 2 years ago

holly-hacker commented 2 years ago

Is your feature request related to a problem? Please describe. I have both R18 content and SFW content in my Stash instance and would like only SFW content to be shown unless a toggle is enabled.

Describe the solution you'd like The navbar could have a toggle to switch between R18 and a "Safe" mode. When safe mode is enabled, the each page (eg. actors, scenes, images) will either only show SFW content or blur NSFW content. Being SFW is strictly opt-in, meaning that unorganized content will not show up when the safe mode is enabled.

Describe alternatives you've considered Add an allow/block list for tags to the settings. If content has a tag that is in a blocklist, do not show it. If the allow list contains a tag, only show content that has at least one of the tags in this list.

This solution is more generic and useful in more cases (for example hiding kink content), but adding/removing tags to/from a list is more of a chore. Additionally, having a natively supported "SFW" option is cleaner than adding a tag.

Additional context none


I understand that Stash is primarily meant for porn, but I have some content stored in it that is adult-oriented in nature but not inherently explicit. Being able to hide explicit content is would be very useful to me. A safe mode may also be useful for video showcases and screenshots.

holly-hacker commented 2 years ago

No offense taken. I know this is most likely out of scope, it's just how I (want to) use Stash. If a maintainer tells me this would be an anti-feature or bloat, I'll close the issue. Otherwise, I could give implementing it a shot.

kermieisinthehouse commented 2 years ago

This is on the right track for a useful feature, actually, it's just described wrong. Having a tag that's always hidden unless toggled in the settings is broad and could be useful. Whether you use if for sfw content or not is up to the user, and I suspect most people wouldn't use it that way. But having content you don't regularly want to see or even actively hide is pretty applicable

philpw99 commented 2 years ago

I think if we add a button to quickly blur all the images for SFW should be good enough.

DogmaDragon commented 1 year ago

There are custom CSS to censor the content. https://docs.stashapp.cc/user-interface-ui/custom-css-snippets/#blur-nsfw-images-and-unblur-on-mouse-over https://docs.stashapp.cc/user-interface-ui/custom-css-snippets/#blur-nsfw-images