element-hq / element-web

A glossy Matrix collaboration client for the web.
https://element.io
GNU Affero General Public License v3.0
11.2k stars 2k forks source link

URI scheme for matrix (like "mailto:" or "sms:") #20359

Closed thomiel closed 2 years ago

thomiel commented 2 years ago

Your use case

What would you like to do?

provide a link on a webpage or email signature with my matrix address or a matrix channel.

Why would you like to do it?

clicking ist faster than copy&paste.

How would you like to achieve it?

register the uri schema (to be discussed, for example "matrix:@foo:matrix.example.org") on native platforms, so element is being started in a chatroom with the given matrix address or channel.

see https://en.wikipedia.org/wiki/List_of_URI_schemes for existing uri schemes.

one drawback needs to be mentioned: this will make it easier for spam crawler to collect matrix addresses on the web. but if the matrix protocol is by design much less prone to message spam, it shouldn't make a difference.

Have you considered any alternatives?

no, there is no alternative to a decent uri schema, if it really aims to replace email one day. the https://matrix.to service is not really an alternative to an uri schema. it's only useful for people who do not already have installed a matrix client.

Additional context

No response

aaronraimist commented 2 years ago

The Matrix URL scheme already exists but Element doesn't support opening it yet.

Closing as duplicate of #16875