dendrite/README_I2P.md
2023-11-28 13:00:12 -05:00

1,015 B

How to build a Dendrite Homeserver modified to run over I2P

  1. First, clone the matrix-org/dendrite implementation of dendrite into your GOPATH and change directory to the main checkout.
git clone https://github.com/matrix-org/dendrite $HOME/go/src/github.com/matrix-org/dendrite
cd $HOME/go/src/github.com/matrix-org/dendrite
  1. Second, add my fork eyedeekay/dendrite as a remote and check out the i2p-demo branch. This is required because pseudonymous contributions to dendrite are not allowed, so I am not allowed to submit my changes to them.
git remote add idk https://github.com/eyedeekay/dendrite
git pull idk i2p-demo
git checkout i2p-demo
  1. Third, build the binary:
go build -o bin/dendrite-demo-i2p ./cmd/dendrite-demo-i2p

Or, do it automatically using just a curlpipe

curl 'https://eyedeekay.github.io/dendrite/update-branch.sh' | bash -