matrix-org / dendrite

Dendrite is a second-generation Matrix homeserver written in Go!
https://matrix-org.github.io/dendrite/
Apache License 2.0
5.67k stars 664 forks source link

how to setup and run p2p version #1175

Closed bitcard closed 4 years ago

bitcard commented 4 years ago

does the p2p version based on libp2p? is there a guide to setup and run p2p version? thanks.

kegsay commented 4 years ago

https://github.com/matrix-org/dendrite/blob/master/build/docker/DendriteJS.Dockerfile

It hasn't been tested recently so it may require additional database configuration options.

bitcard commented 4 years ago

https://github.com/matrix-org/dendrite/blob/master/build/docker/DendriteJS.Dockerfile

It hasn't been tested recently so it may require additional database configuration options.

thanks for your reply.

this solution seem to run dendrite in browser.

because of there are many kind of client, like mobile, IoT etc, I think some of client is difficult to run dendrite, so I hope dendrite run with p2p mode, all kind of client connect to p2p dendrite homeserver.

kegsay commented 4 years ago

We're not there yet. The closest will be Neil's work on a Yggdrasil demo which will then hopefully work on both mobile and web. All of these things are experiments though, rather than an official maintained thing. It will be a long time before we actually settle on a p2p approach we want to use for Matrix.

bitcard commented 4 years ago

Yggdrasil demo

thank you, I will try the Yggdrasil demo.

kegsay commented 4 years ago

FYI that demo is still in active development, but I think @neilalexander has got it mostly there.

maverick74 commented 3 years ago

@Kegsay sorry for bringing this bug back from the dead but i didn't wanted to open a new one:

is there a (meta) bug (or something else) somewhere where we can follow the developments of a p2p matrix? I ask this because i don't find as much info as i would like to on the matrix blog...

Tks