From 3738594fbcf37ec3bc7da86cf2a1d1196a083609 Mon Sep 17 00:00:00 2001 From: Bruno Windels Date: Fri, 11 Jun 2021 08:15:17 +0000 Subject: [PATCH] Update README.md --- README.md | 23 +++++++++++++++++++++++ 1 file changed, 23 insertions(+) diff --git a/README.md b/README.md index 5437948..08e9b29 100644 --- a/README.md +++ b/README.md @@ -5,6 +5,27 @@ which lets users share links to matrix entities without being tied to a specific app. Stylistically it serves as a landing page for rooms and communities. +## How can I put a badge on my website linking to my matrix room? + +You can use the badge image we've put up at https://matrix.to/img/matrix-badge.svg, and use it in a link like this: + +[![Chat on Matrix](https://matrix.to/img/matrix-badge.svg)](https://matrix.to/#/#matrix.to:matrix.org) + +You can use this Markdown: +```md +[![Chat on Matrix](https://matrix.to/img/matrix-badge.svg)](https://matrix.to/#/#matrix.to:matrix.org) +``` + +Or this HTML: + +```html +Chat on Matrix +``` + +to show the badge. + +## How does matrix.to work? + Matrix.to preserves user privacy by not sharing any information about the links being followed with the Matrix.to server - the redirection is calculated entirely clientside using JavaScript, and the link details is hidden behind a @@ -21,6 +42,8 @@ point at an alternative deployment of the service. The Matrix.to service could also be hosted in an immutable/signed environment such as IPFS to further increase its availability and avoid tampering. +## URL Scheme + The matrix.to URL scheme is | Entity type: | Example URL |