Skip to main content

Matrix

Chat & messaging
Private, encrypted chat on your own server, connected to the whole Matrix network.

Matrix is a chat network. This app runs a Matrix server (Tuwunel) with the Element web app at its hostname.

Settings​

SettingMeaning
HostnameThe server's address, and its name on the Matrix network: user IDs are @name:<hostname>
Sign in with FreepodWhether people sign in with their Freepod account. On by default, and chosen once: it can't be changed after deploying.
Registration tokenOnly without Sign in with Freepod: required to create an account on the server. Share it only with people you want to invite.
FederationLets users talk to people and join rooms on other Matrix servers. On by default.

The registration token can be changed with Settings; the new token applies to new registrations.

warning

Do not change the hostname after the server is in use. User IDs and rooms are tied to it, and other Matrix servers do not recognize the server under a new hostname. See Hostname.

Do not reuse the hostname of a deleted server either. People on other Matrix servers who chatted with the old server's users keep its encryption keys, so their encrypted messages to the accounts on a new server under the same hostname can't be read. Give a new server a new hostname.

Signing in​

With Sign in with Freepod, everyone signs in with their Freepod account, and nobody has a separate password for the server. Select Open on the app's row: Element takes you to Freepod to sign in, and the server creates your account, @<your handle>:<hostname>.

The first account on the server becomes its administrator. Sign in yourself before you add anyone under Access, so that the first account is yours.

Each time you sign in on a new device or browser, the server asks you to approve the app, naming it and the address it hands the sign-in back to. Approve only if you just started signing in to that app yourself.

Without it, select Open, create an account and enter the registration token when asked. Each person who should have an account on the server creates one the same way, with the token.

Adding people​

With Sign in with Freepod, you decide who can use your server from the Freepod dashboard:

  1. Select Access on the app's row.
  2. Enter the person's email address under Add someone by email and select Add.

Freepod emails them a link to your server. They sign in with a Freepod account that uses that address, creating one if they don't have one yet, and the server creates their Matrix account the first time they sign in. Their Matrix address can't be changed later. It is made from, in order:

  1. their Freepod handle, if they have chosen one;
  2. otherwise the part of their email address before the @;
  3. random letters and digits, when that name is already taken on your server or can't be used as a Matrix name.

To stop someone signing in, remove them from the list in Access. They stay signed in on devices where they already are, so also deactivate their account in Element's admin room (!admin users deactivate @<name>:<hostname>).

Element shows a warning in the server's admin room that the room isn't encrypted. That is expected: the server reads the !admin commands typed there, which it can't do in an encrypted room. Don't turn on encryption there, as it can't be turned off again and the commands would stop working.

People with an account on another Matrix server don't need access: invite them to a room by their Matrix address, with federation on.

Apps​

Element and Element X are available for desktop and mobile from element.io/download. Sign in with https://<hostname> as the homeserver; with Sign in with Freepod, the app opens Freepod's sign-in page. On a phone, opening the hostname in a browser leads to the Element X app.

Voice and video calls are not available.

File access​

Matrix does not offer file access.

Email​

Matrix does not send email.

Documentation​

Tuwunel documentation