No description
Find a file
2021-08-30 22:53:10 +02:00
config Restructure code base 2021-08-06 23:14:27 +02:00
keys Add function to sign event 2021-08-05 13:30:46 +02:00
lib Change code for idiomatic Elixir 2021-08-30 22:53:10 +02:00
priv/repo Change primary keys for accounts and devices table 2021-08-30 22:36:01 +02:00
test Restructure code base 2021-08-06 23:14:27 +02:00
.dialyzer_ignore.exs Add dialyzer dependency 2021-08-18 23:22:04 +02:00
.formatter.exs Init git repo 2021-06-22 14:09:25 +02:00
.gitignore Add function to sign event 2021-08-05 13:30:46 +02:00
.tool-versions Add function to sign event 2021-08-05 13:30:46 +02:00
LICENSE Create LICENSE 2021-07-23 22:18:25 +00:00
mix.exs Split Identifier struct into seperate types 2021-08-19 16:31:03 +02:00
mix.lock Add dialyzer dependency 2021-08-18 23:22:04 +02:00
psql.sh Add schemas and functions to query signing keys from servers 2021-08-13 00:45:07 +02:00
README.md Update README.md 2021-08-27 16:21:32 +00:00

Matrix homeserver

This is my attempt at creating a Matrix homeserver in Elixir. Currently it is in a very early stage.

Noteworthy contributions

  • lib/matrix_server/state_resolution.ex: Implementation of version 2 of the Matrix state resolution algorithm.
  • lib/matrix_server/state_resolution/authorization.ex: Implementation of authorization rules for the state resolution algorithm.
  • lib/matrix_server/room_server.ex: A GenServer that holds and manages the state of a room.

Dependencies

  • Elixir 1.12.2 compiled for OTP 24
  • Erlang 24.0.3
  • PostgreSQL
  • Libsodium

Generate the server's ed25519 keys by executing ssh-keygen -t ed25519 -f keys/id_ed25519 -N ""

Progress

Here, implemented and some unimplemented features are listed.

TODO: list implemented endpoints

Implemented

Major unimplemented features