Files
MatrixGW/README.md

1.2 KiB

Matrix Gateway

Build Status

Project that expose a simple API to make use of Matrix API. It acts as a Matrix client (like Element for example)

Known limitations:

  • Supports only a limited subset of Matrix API
  • Does not support spaces

Project written in Rust and TypeScript. Releases are published on Docker Hub.

Docker image options

docker run --rm -it docker.io/pierre42100/matrix_gateway --help

Setup dev environment

Dependencies

cd matrixgw_backend
mkdir -p storage/maspostgres storage/synapse
docker compose up

To create default account, in another terminal, run the following command:

docker compose --profile create-accounts up -d

URLs:

Auto-created Matrix accounts:

  • admin1 : admin1
  • user1 : user1

Backend

cd matrixgw_backend
cargo fmt && cargo clippy && cargo run --

Frontend

cd matrixgw_frontend
npm install
npm run dev