summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--APPSERVICES.md48
-rw-r--r--DEPLOY.md2
-rw-r--r--README.md4
3 files changed, 54 insertions, 0 deletions
diff --git a/APPSERVICES.md b/APPSERVICES.md
new file mode 100644
index 0000000..a84f1d2
--- /dev/null
+++ b/APPSERVICES.md
@@ -0,0 +1,48 @@
+# Setting up Appservices
+
+## Getting help
+
+If you run into any problems while setting up an Appservice, write an email to `timo@koesters.xyz`, ask us in `#conduit:matrix.org` or [open an issue on GitLab](https://gitlab.com/famedly/conduit/-/issues/new).
+
+## Tested appservices
+
+Here are some appservices we tested and that work with Conduit:
+- matrix-appservice-discord
+- mautrix-hangouts
+- mautrix-telegram
+
+## Set up the appservice
+
+Follow whatever instructions are given by the appservice. This usually includes
+downloading, changing its config (setting domain, homeserver url, port etc.)
+and later starting it.
+
+At some point the appservice guide should ask you to add a registration yaml
+file to the homeserver. In Synapse you would do this by adding the path to the
+homeserver.yaml, but in Conduit you can do this from within Matrix:
+
+First, go into the #admins room of your homeserver. The first person that
+registered on the homeserver automatically joins it. Then send a message into
+the room like this:
+
+ @conduit:your.server.name: register_appservice
+ ```
+ paste
+ the
+ contents
+ of
+ the
+ yaml
+ registration
+ here
+ ```
+
+You can confirm it worked by sending a message like this:
+`@conduit:your.server.name: list_appservices`
+
+The @conduit bot should answer with `Appservices (1): your-bridge`
+
+Then you are done. Conduit will send messages to the appservices and the
+appservice can send requests to the homeserver. You don't need to restart
+Conduit, but if it doesn't work, restarting while the appservice is running
+could help.
diff --git a/DEPLOY.md b/DEPLOY.md
index 8dedad2..02073ff 100644
--- a/DEPLOY.md
+++ b/DEPLOY.md
@@ -209,3 +209,5 @@ Set it to start automatically when your system boots with:
```bash
$ sudo systemctl enable conduit
```
+
+If you want to set up an appservice, take a look at the [Appservice Guide](APPSERVICES.md).
diff --git a/README.md b/README.md
index ace30eb..591313f 100644
--- a/README.md
+++ b/README.md
@@ -52,6 +52,10 @@ Check out the [Conduit 1.0 Release Milestone](https://gitlab.com/famedly/conduit
Download or compile a Conduit binary, set up the config and call it from somewhere like a systemd script. [Read
more](DEPLOY.md)
+If you want to connect an Appservice to Conduit, take a look at the [Appservice Guide](APPSERVICES.md).
+
+If you want to cross compile Conduit to another architecture, read the [Cross-Compile Guide](CROSS_COMPILE.md).
+
##### Deloy using a Debian package
You need to have the `deb` helper command installed that creates Debian packages from Cargo projects (see [cargo-deb](https://github.com/mmstick/cargo-deb/) for more info):