2021-07-26 10:03:13 +00:00
|
|
|
# Matrix homeserver
|
2021-06-22 12:09:25 +00:00
|
|
|
|
2021-07-26 10:03:13 +00:00
|
|
|
This is my attempt at creating a Matrix homeserver in Elixir.
|
|
|
|
Currently it is in a very early stage.
|
2021-06-22 12:09:25 +00:00
|
|
|
|
2021-07-26 10:03:13 +00:00
|
|
|
Some noteworthy contributions:
|
2021-06-22 12:09:25 +00:00
|
|
|
|
2021-07-26 10:03:13 +00:00
|
|
|
* `lib/matrix_server/state_resolution.ex`: Implementation of version 2 of the Matrix state resolution algorithm.
|
|
|
|
* `lib/matrix_server/room_server.ex`: A GenServer that holds and manages the state of a room.
|
2021-06-22 12:09:25 +00:00
|
|
|
|
2021-07-26 10:03:13 +00:00
|
|
|
To run the server in development mode, run:
|
2021-06-22 12:09:25 +00:00
|
|
|
|
2021-07-26 10:03:13 +00:00
|
|
|
* Install the latest Erlang, Elixir and Postgresql.
|
|
|
|
* Create the database with name `matrix_server_dev` and credentials `matrix_server:matrix_server`.
|
|
|
|
* Fetch Elixir dependencies with `mix deps.get`.
|
|
|
|
* Run the server using `mix phx.server`.
|