gab-dissenter-extension icon indicating copy to clipboard operation
gab-dissenter-extension copied to clipboard

Add ActivityPub support

Open mister-monster opened this issue 5 years ago • 4 comments

This might be a big project but would anyone have interest in implementing ActivityPub federation in this project? Since the code is open source, people can run their own servers already, I think it would be great to be able to federate multiple servers to better protect against censorship. Thoughts?

mister-monster avatar May 31 '19 22:05 mister-monster

@mister-monster This is the dissenter extension. I am not sure how you would add any federation to it. Can you elaborate?

MasterOfTheTiger avatar Jun 01 '19 08:06 MasterOfTheTiger

It's possible, but could comments be announced to other dissenter servers?

mkljczk avatar Jun 01 '19 12:06 mkljczk

From what i understand, dissenter functions sort of like a link aggregator but from a user perspective it is just a secondary comments section for any URL. The comments are stored on a server. Since the code is open source, anyone can run their own version of dissenter but their servers can't talk to each other. Adding federation would enable that, and also add a good bit of censorship resistance since no country or ISP can block "the" server.

mister-monster avatar Jun 03 '19 17:06 mister-monster

It's possible, but could comments be announced to other dissenter servers?

I did some thought on this and it does seem to be an obstacle. I have an account on instance A, i comment on some URL, another user from instance B visits the same URL. How does their browser extension know that a comment exists for that URL on instance A?

The trick to federating is some feasible way to query the federation for all comments. I am not too familiar with the Mastodon code base, but since it is already in use for the Gab social network, could the search functionality that it uses be taken and used to solve this issue?

mister-monster avatar Jul 09 '19 09:07 mister-monster