libertysoft3 / saidit

The reddit open source fork powering SaidIt
https://saidit.net
Other
228 stars 40 forks source link

Federation #42

Open eaterjolly opened 5 years ago

eaterjolly commented 5 years ago

Whether through ActivityPub or another protocol, federating the platform counts as a major step towards longevity or immutability. Ultimately transference to a serverless model such as integrating with IPFS or blockchain, might very well finalize anti-censorship security.

The syntax for a federated sub should go: /s/ + sub + @ + federated instance's domain.

For posterity I shall link two projects which should serve as examples:

wizzwizz4 commented 5 years ago

This might be a better syntax than /e/+domain+/s/+sub. I'll have to wait a bit before I'm able to make a good judgement, but considering how much I'm liking this not-my-idea already I think I'll probably go with it.

libertysoft3 commented 5 years ago

If anyone wants to hack on this, here's a reddit module template that would be a good starting point. If we only add pylons/python hooks to the main codebase, and everything else lives out in a module, we can keep the house clean while we explore decentralization options. Then we can also experiment with different decentralization mechanisms in parallel more easily and consistently.

There's a bunch of other modules we can reference too: https://github.com/reddit-archive?language=&page=1&q=&type=&utf8=%E2%9C%93

Edit: Also we have to consider the insanity of building a future looking system on top of the deprecated Pylons framework. Porting to a newer framework like Pyramid first/additionally might be a good idea.

wizzwizz4 commented 5 years ago

Maybe we could have it using /fed-beta/s/ so it's easier to separate the code out? But I agree with d3rr; a good chunk of #17 is pretty much a prerequisite.