NicolasConstant / BirdsiteLive

An ethical bridge from Twitter
GNU Affero General Public License v3.0
457 stars 36 forks source link

CW all tweets from account #110

Closed nytpu closed 2 years ago

nytpu commented 2 years ago

There are a few accounts I'm following that consistently post NSFW content which isn't CWed/marked as sensitive, as the entire account is marked as 18+ on twitter.

It'd be nice if there was a way to automatically CW all tweets from an account with some generic message, with the accounts configurable through something similar to the Instance:UnlistedTwitterAccounts variable or somehow detecting it by checking if the account is marked as 18+ on twitter.

nytpu commented 2 years ago

I'm not super familiar with C# but if you could point me in the right direction for how I'd start on this I could take a crack at it.

NicolasConstant commented 2 years ago

Sure, that would be a nice feature! For the settings part, you can test locally very easily with a 1:1 ratio with the docker environment variables and the config file (rename it appsettings.development.json to load it in debug).

The part where those settings are loaded and registered in the DI container is here.

And the part where I currently unlist some accounts is here (I believe you'd like to be close to this other functionality).

I also have a Discord if you want to exchange more dynamically / get some help. 🙂