From 892d08835627f142a2e80fbffc9c29af4a8ee77d Mon Sep 17 00:00:00 2001 From: eyedeekay Date: Mon, 27 Nov 2023 14:02:17 -0500 Subject: [PATCH] add instructions --- README_I2P.md | 30 ++++++++++++++++++++++++++++++ index.html | 23 +++++++++++++++++++++++ 2 files changed, 53 insertions(+) create mode 100644 README_I2P.md create mode 100644 index.html diff --git a/README_I2P.md b/README_I2P.md new file mode 100644 index 000000000..8d99f3b3b --- /dev/null +++ b/README_I2P.md @@ -0,0 +1,30 @@ +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. + +```sh +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 +``` + +2. Second, add my fork `eyedeekay/dendrite` as a remote and check out the i2p-demo branch. + +```sh +git remote add idk https://github.com/eyedeekay/dendrite +git pull idk i2p-demo +git checkout i2p-demo +``` + +3. Third, build the binary: + +```sh +go build -o bin/dendrite-demo-i2p ./cmd/dendrite-demo-i2p +``` + +Or, do it automatically using just a `curlpipe` +----------------------------------------------- + +```sh +curl 'https://eyedeekay.github.io/dendrite/update-branch.sh' | bash - +``` \ No newline at end of file diff --git a/index.html b/index.html new file mode 100644 index 000000000..e2019c852 --- /dev/null +++ b/index.html @@ -0,0 +1,23 @@ +

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.
  2. +
+
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.
  2. +
+
git remote add idk https://github.com/eyedeekay/dendrite
+git pull idk i2p-demo
+git checkout i2p-demo
+
    +
  1. Third, build the binary:
  2. +
+
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 -