It’s a little known fact that we actually previously had an NSFW piefed instance for a week or two to do testing. Some of the features that were included to help instances like that were the disclaimer screen that comes up before any content page loads (this site has NSFW content…etc.). Also, I know some code was added to make some common NSFW hosting sites work better (as an example, there is some special code to deal with redgifs embeds).
The last thing that comes to mind is to allow admins to specify countries for which NSFW content is blocked (based on IP address). This was added in response to admins wanting to deal with content restrictions like the UK have and are sadly becoming more common across the globe.
There is an environment variable, ‘CONTENT_WARNING’, which if set, changes quite a few things. For starters, it displays that content warning. But also:
New accounts have ‘show nsfw’ ENABLED rather than disabled.
When browsing anonymously, nsfw content is shown rather than hidden.
When creating a new community the ‘publicize on newcommunities@lemmy.world’ checkbox is NOT ticked (that’s new, sorry about earlier folks)
NSFW communities are listed in the main communities list even when browsing it anonymously.
It’s a little known fact that we actually previously had an NSFW piefed instance for a week or two to do testing. Some of the features that were included to help instances like that were the disclaimer screen that comes up before any content page loads (this site has NSFW content…etc.). Also, I know some code was added to make some common NSFW hosting sites work better (as an example, there is some special code to deal with redgifs embeds).
The last thing that comes to mind is to allow admins to specify countries for which NSFW content is blocked (based on IP address). This was added in response to admins wanting to deal with content restrictions like the UK have and are sadly becoming more common across the globe.
There is an environment variable, ‘CONTENT_WARNING’, which if set, changes quite a few things. For starters, it displays that content warning. But also:
Also when making that I came up with this - https://piefed.social/post/1124924