38 lines
1.6 KiB
Markdown
38 lines
1.6 KiB
Markdown
# co-op/matrix-server
|
|
|
|
Config mirror for the co-op's Matrix homeserver
|
|
([matrix.inference.coop](https://matrix.inference.coop)) — the Cloudron app
|
|
`org.matrix.synapse` (app id `aa6f4597-6206-4509-b32e-c89750b2c1d8`).
|
|
|
|
## `index.html` — the landing page
|
|
|
|
The member-facing page served at `https://matrix.inference.coop/`
|
|
(the Cloudron Synapse package serves `/app/data/index.html` at
|
|
`/_matrix/static/`; `/` redirects there).
|
|
|
|
**This file must stay byte-identical with the deployed copy** — same rule as
|
|
every other deployed config. To deploy an edit:
|
|
|
|
```sh
|
|
B64=$(base64 -w0 index.html)
|
|
cloudron --server my.inference.coop --token "$CLOUDRON_TOKEN" exec \
|
|
--app aa6f4597-6206-4509-b32e-c89750b2c1d8 \
|
|
-- bash -c "echo $B64 | base64 -d > /app/data/index.html"
|
|
```
|
|
|
|
Then verify by md5 (`cloudron exec … md5sum /app/data/index.html` vs local)
|
|
and by fetching `https://matrix.inference.coop/_matrix/static/`.
|
|
|
|
**Content contract** (kept in sync with `co-op/docs/getting-started.md` —
|
|
same homeserver URL, same client-access wording):
|
|
|
|
- What the server is (the homeserver behind the chat, not a chat app).
|
|
- How to connect: any Matrix client, co-op SSO, custom homeserver
|
|
`https://matrix.inference.coop`; Matrix ID `@username:inference.coop`.
|
|
- The **Element X caveat** (legacy SSO — use classic Element / FluffyChat).
|
|
- How to use an **existing Matrix account on another server**: member
|
|
dashboard → Matrix chat card → Use external account. One identity at a
|
|
time.
|
|
- The space: automatic invite; **#general** is the main room; explore the
|
|
space and join what's interesting.
|