kheina-com / Blue-Blocker

Blocks all Twitter Blue verified users on twitter.com
Mozilla Public License 2.0
352 stars 27 forks source link

Feature Request -- Add exporting of block lists #226

Open itsukarine opened 10 months ago

itsukarine commented 10 months ago

Sorry for the maybe stupid request, but with the rise of AI in art spheres I've been wishing for some way I could make use of my ability to detect plagiarism to help others, but I don't have the ability to program to make something as useful as this. From what I see, Kheina is involved in furry art culture, so this might also be relevant to their world.

I wanted to float the idea adapting the way this add-on detects and acts on the site to function (at least, if it does how I assume it does) similar to a uBlock for Twitter users, or more spiritually a return of blocklists, where people more dedicated to the task can update what are essentially lists that identify the @ usernames (or otherwise more concrete methods) associated with whatever the blocklist is for (in my case, AI plagiarism) and export them or host them somewhere periodically updated. This would hopefully have the accounts blocked as soon as it appears on the persons feed automatically.

Ideally, a way to update this automatically would be ideal (as more and more continue to pop up and hit algorithms), which I assume would be a call to some server to update the list, but even local list importing would still be good starting functionality. I think the automation power this potentially brings would actually create a notable dent in the circulation of AIGen, and help people filter out fraudulent content they shouldn't have to be exposed to if they don't want when the algorithm demands it and takes advantage of their benefit of the doubt.

Much like the effectiveness of Adblockers, this could have a similar effect rather than relying on every individual to be knowledged and experienced in identification and building their own blocklists.

Thanks,

rougetimelord commented 10 months ago

I'm in on this one. The extension already creates a database of all blocked users, it should be pretty easy to implement a feature to export to a CSV/JSON file, basically what the the history page already does. On the import side we would just need to add an import function in the background script that goes through an imported file and pushes usernames to the queue.

The export function I proposed might not be ideal for making curated lists though, because it would only contain users blocked by the extension. I'm not sure if the extension currently captures manual blocks, and it definitely does not have a way to distinguish blocks for different lists.

In terms of following a served list, I think that there might be some privacy concerns? Another idea I have is that the extension could add the list name as the reason for a block so that the users on the list would get unblocked on unsubscription from the list.

cooljeanius commented 10 months ago

I'm in on this one.

Does that mean you'd like to be assigned?

The extension already creates a database of all blocked users, it should be pretty easy to implement a feature to export to a CSV/JSON file, basically what the the history page already does. On the import side we would just need to add an import function in the background script that goes through an imported file and pushes usernames to the queue.

idk if this is one of the features that Elon removed, but at one point Twitter already allowed importing a csv-formatted blocklist natively under user preferences... I'd look into the history of things like BlockTogether and such before proceeding.

The export function I proposed might not be ideal for making curated lists though, because it would only contain users blocked by the extension. I'm not sure if the extension currently captures manual blocks, and it definitely does not have a way to distinguish blocks for different lists.

In terms of following a served list, I think that there might be some privacy concerns? Another idea I have is that the extension could add the list name as the reason for a block so that the users on the list would get unblocked on unsubscription from the list.

rougetimelord commented 10 months ago

Let's not assign me yet ;) but I am very supportive of this feature!

The native blocklist import feature has been "no longer available" for awhile! (I'm pretty sure it was killed pre-Elon even) AFAIK BlockTogether ceased operation due to the API billing changes, which is not a concern here, so there shouldn't be a problem with going ahead.

cooljeanius commented 7 months ago

Has duplicate #273 by @skillou

alanpaone commented 7 months ago

reading through the import/export PR that got closed, am I missing something? is this already possible? the UI looks like its just for the safelist, but I'd love to be able to export my blocklist so other people don't have to obsessively search for checkies to block.

Skillou commented 6 months ago

I'm in on this one. The extension already creates a database of all blocked users, it should be pretty easy to implement a feature to export to a CSV/JSON file, basically what the the history page already does. On the import side we would just need to add an import function in the background script that goes through an imported file and pushes usernames to the queue.

The export function I proposed might not be ideal for making curated lists though, because it would only contain users blocked by the extension. I'm not sure if the extension currently captures manual blocks, and it definitely does not have a way to distinguish blocks for different lists.

In terms of following a served list, I think that there might be some privacy concerns? Another idea I have is that the extension could add the list name as the reason for a block so that the users on the list would get unblocked on unsubscription from the list.

Hello, if you are on it is it possible to know when its finish ?

I really want to block a list of people for my two accounts.

Thanks

rougetimelord commented 6 months ago

Hello, if you are on it is it possible to know when its finish ?

Hi! It's slated for the 0.5.0 release, I'm currently still working on version 0.4.2 but #275 is going to be the last change added to that version. Once 0.4.2 is completed and released I'll start work on everything slated for 0.5.0.

I can't give you an exact timeframe, I expect 0.4.2 to be wrapped within the next week or so. 0.5.0 will most likely be a longer cycle than 0.4.2 due to the number of features and fixes that are going to be added, so I would estimate 6+ weeks of development time and a week or two of review. All together, I would estimate about 8-10 weeks before this feature gets added to the published version of Blue Blocker.

If you want to speed up release, feel free to make a pull request against the 0.4.2 LLB.

rougetimelord commented 6 months ago

reading through the import/export PR that got closed, am I missing something? is this already possible? the UI looks like its just for the safelist, but I'd love to be able to export my blocklist so other people don't have to obsessively search for checkies to block.

Importing block lists is already implemented. If you click on the view link next to the number of accounts that are currently queued you will open the queue page which includes importing functionality.

Exporting a blocklist has not been implemented yet.

Skillou commented 2 months ago

Hello, i will try. Do you have discord for any help please ?

Thanks

rougetimelord commented 2 months ago

Retitling for clarity