conduit/APPSERVICES.md

62 lines
2.1 KiB
Markdown
Raw Normal View History

2021-05-22 14:39:31 +03:00
# Setting up Appservices
## Getting help
2022-02-04 19:57:59 +03:00
If you run into any problems while setting up an Appservice, write an email to `timo@koesters.xyz`, ask us in [#conduit:fachschaften.org](https://matrix.to/#/#conduit:fachschaften.org) or [open an issue on GitLab](https://gitlab.com/famedly/conduit/-/issues/new).
2021-05-22 14:39:31 +03:00
## Set up the appservice - general instructions
2021-05-22 14:39:31 +03:00
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
2021-05-22 14:39:31 +03:00
```
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`
2021-05-22 14:39:31 +03:00
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.
## Appservice-specific instructions
2021-12-20 17:46:36 +03:00
### Remove an appservice
To remove an appservice go to your admin room and execute
2022-02-04 19:57:59 +03:00
`@conduit:your.server.name: unregister-appservice <name>`
2021-12-20 17:46:36 +03:00
where `<name>` one of the output of `list-appservices`.
2021-12-20 17:46:36 +03:00
### Tested appservices
These appservices have been tested and work with Conduit without any extra steps:
- [matrix-appservice-discord](https://github.com/Half-Shot/matrix-appservice-discord)
- [mautrix-hangouts](https://github.com/mautrix/hangouts/)
- [mautrix-telegram](https://github.com/mautrix/telegram/)
- [mautrix-signal](https://github.com/mautrix/signal/) from version `0.2.2` forward.
2022-01-15 20:23:14 +03:00
- [heisenbridge](https://github.com/hifi/heisenbridge/)