Wiki source code of Matrix

Last modified by Stefan Schwalb on 2023/08/28 20:39

Hide last authors
Yorick Holla 433.1 1 {{toc/}}
wikibot 1.1 2
3
Jonas Jelten 438.1 4 = What is Matrix? =
wikibot 1.1 5
6
Yorick Holla 433.1 7 [[image:matrix-element-uidemo.png||alt="Matrix user interface demo" height="641" width="892"]]
wikibot 1.1 8
9
Jonas Jelten 438.1 10 [[Matrix>>https://matrix.org/]] is a chat system very similar to E-Mail, but instantaneous and secure.
wikibot 1.1 11
Jonas Jelten 438.1 12 * You need to register an account at a provider (e.g. tum.de, or lmu.de)
13 * Whatever your provider is, you can talk to people using other providers
Yorick Holla 433.1 14 ** (((
Jonas Jelten 438.1 15 For example {{code language="none"}}@someprofessor:tum.de{{/code}} can communicate with {{code language="none"}}@someresearcher:lmu.de{{/code}}!
Aysegül Omus 245.1 16 )))
Yorick Holla 433.1 17 * (((
Jonas Jelten 438.1 18 In the same way you can use Outlook or Thunderbird with the same email account, you can use different Matrix apps for the same Matrix account!
19 Several apps exist, but we're going to go with "[[Element>>https://element.io/]]" for the sake of simplicity, as it's among the most fully-featured Matrix apps on the market.
Aysegül Omus 257.1 20 )))
wikibot 1.1 21
Jonas Jelten 438.1 22 So people have their **account on one server** but can write messages **to anyone on other servers**.
Yorick Holla 433.1 23
wikibot 1.1 24
Jonas Jelten 438.1 25 **Personal or group chats** are[[ end-to-end encrypted>>https://en.wikipedia.org/wiki/End-to-end_encryption]] and **not dependent on a central authority** like most other tools (MS Teams, WhatsApp, Zoom, ...) - anyone can host a Matrix server.
26 All your messages are **synced** between all your devices - web clients, desktop clients, smartphone apps.
27 For additional security, encryption keys of contacts can be verified and then stored as trusted.
wikibot 1.1 28
Yorick Holla 433.1 29 == Home Server ==
wikibot 1.1 30
Jonas Jelten 438.1 31 Messages are stored and synced between home servers.
wikibot 1.1 32
Jonas Jelten 438.1 33 A user typically has **one account** on one homeserver.
34 You can use any homeserver of your choice - however **for TUM**, [[ITO>>doc:CIT.ITO.WebHome]] offers two homeservers:
wikibot 1.1 35
Jonas Jelten 438.1 36 * **matrix.cit.tum.de** for CIT accounts: @username:cit.tum.de
37 * **matrix.tum.de** for TUM accounts: @username:tum.de
wikibot 1.1 38
Jonas Jelten 438.1 39 You only need to use one account and can communicate with any other homeserver of the world.
wikibot 1.1 40
Jonas Jelten 438.1 41 If you don't have a CIT or TUM account, you can use a **public** homeserver instead:
wikibot 1.1 42
Yorick Holla 433.1 43 * matrix.org: [[https:~~/~~/app.element.io/#/register>>https://app.element.io/#/register]]
Jonas Jelten 438.1 44 * or any other homeserver [[https:~~/~~/joinmatrix.org/servers/>>https://joinmatrix.org/servers/]]
45 * or, [[host your own homeserver>>https://matrix-org.github.io/synapse/latest/]] 🤩
wikibot 1.1 46
Jonas Jelten 438.1 47 To use your home server, you have to **use a client** that communicates with your homeserver.
wikibot 1.1 48
Yorick Holla 433.1 49 == Clients ==
wikibot 1.1 50
Jonas Jelten 438.1 51 [[Element>>https://element.io/]] is our client of choice.
wikibot 1.1 52
Jonas Jelten 438.1 53 * [[Desktop Client>>https://element.io/download]] (easily provided in [[your Linux distribution of choice>>https://repology.org/project/element-desktop]])
54 * In your web browser:
Yorick Holla 433.1 55 ** [[matrix.cit.tum.de>>https://matrix.cit.tum.de]]
56 ** [[matrix.tum.de>>https://matrix.tum.de]]
Jonas Jelten 438.1 57 * [[On your smartphone>>https://element.io/download]]
wikibot 1.1 58
Yorick Holla 433.1 59 (% class="wikigeneratedid" %)
Jonas Jelten 438.1 60 Make sure the **home server is set correctly** to your provider!
wikibot 1.1 61
Yorick Holla 433.1 62 (% class="box infomessage" %)
Aysegül Omus 245.1 63 (((
Jonas Jelten 438.1 64 **CIT: Homeserver**: matrix.cit.tum.de **Username**: CIT-ID (without @cit.tum.de)  **Password**: CIT Password
Aysegül Omus 245.1 65 )))
wikibot 1.1 66
Aysegül Omus 259.1 67 (% class="box infomessage" %)
68 (((
Jonas Jelten 438.1 69 **TUM: Homeserver**: matrix.tum.de **Username**: LRZ-ID (without @mytum.de or @tum.de)  **Password**: LRZ/TUM Password
Aysegül Omus 259.1 70 )))
wikibot 1.1 71
72
Jonas Jelten 438.1 73 == Using Element for Matrix ==
wikibot 1.1 74
75
Jonas Jelten 438.1 76 Follow [[the official guide>>https://matrix.org/docs/chat_basics/]] how to chat with Element 😎
wikibot 1.1 77
Jonas Jelten 438.1 78 You can create **personal chats**, **group chats**, and **spaces** for bundling multiple chatrooms to communicate with any other Matrix user in the world.
wikibot 1.1 79
80
Jonas Jelten 438.1 81 = Invitation of TUM Users =
wikibot 1.1 82
Jonas Jelten 438.1 83 When inviting TUM or CIT users to a chat, just enter the following Matrix IDs:
wikibot 1.1 84
Jonas Jelten 438.1 85 **For CIT Accounts**:
wikibot 1.1 86
Yorick Holla 433.1 87 (% class="box infomessage" %)
Aysegül Omus 245.1 88 (((
Jonas Jelten 438.1 89 @CIT-ID:cit.tum.de     (e.g. @cooluser:cit.tum.de)
Aysegül Omus 245.1 90 )))
wikibot 1.1 91
Jonas Jelten 438.1 92 **For TUM Accounts:**
wikibot 1.1 93
Aysegül Omus 245.1 94 (% class="box infomessage" %)
95 (((
Jonas Jelten 438.1 96 @LRZ-ID:tum.de     (e.g. @ga42lol:tum.de)
Aysegül Omus 245.1 97 )))
wikibot 1.1 98
Jonas Jelten 438.1 99 **For other Accounts: ** e.g. @musterma:matrix.org
wikibot 1.1 100
Aysegül Omus 245.1 101 (% class="box infomessage" %)
102 (((
Jonas Jelten 438.1 103 @username:domain
Aysegül Omus 245.1 104 )))
wikibot 1.1 105
Jonas Jelten 438.1 106 The invitation will then appear in the Matrix client of the just-added user and must be accepted.
wikibot 1.1 107
Jonas Jelten 438.1 108 **Search for User Names**
wikibot 1.1 109
Jonas Jelten 438.1 110 To add a user to the user directory, he must become a member of a public chat room on the server, e.g. [[https:~~/~~/matrix.to/#/#announcements:tum.de>>https://matrix.to/#/#announcements:tum.de]] on matrix.tum.de, or share a private chat. Only after that his name will be displayed in the search field for persons.
Yorick Holla 434.1 111
Jonas Jelten 438.1 112 = Secure Backup =
wikibot 1.1 113
Jonas Jelten 438.1 114 Since end-to-end encryption stores decryption **keys only on clients** (the "end"), logging out of the last client would mean loosing all messages.
wikibot 1.1 115
Jonas Jelten 438.1 116 Matrix allows to create a encrypted backup of the decryption keys on your homeserver - with a separate passphrase.
wikibot 1.1 117
Jonas Jelten 438.1 118 Matrix will ask you to set up your secure backup, and will request the password for the backup keys if needed.
119
120 More information is in the [[official documentation about private chats>>https://matrix.org/docs/chat_basics/private-group-chat/]] 🤓