Sign inSign up

ananace/matrix_sse

By ananace

•Updated about 6 years ago

Middleware testbed for MSC2108 using Ruby+Sinatra

Image
0

2.5K

ananace/matrix_sse repository overview

⁠Matrix SSE

A small testbed server for trying out MSC2108⁠ for the Matrix protocol⁠

⁠Installation

Check out this repo, install the bundle, instantiate the config, and run rackup to launch the server. Also available on DockerHub⁠ as ananace/matrix_sse.

An example configuration is provided as;

{
    "homeserver": "https://matrix.org",
    "default_heartbeat": 5
}

⁠Usage

When the server is running, any requests to /_matrix/client/r0/sync/sse will launch an SSE stream, taking the same parameters as the upstream sync request⁠. Except for interval and since as mentioned in the MSC⁠.

⁠Contributing

Bug reports and pull requests are welcome on GitHub at https://github.com/ananace/ruby-sinatra-matrix_sse⁠

⁠License

The gem is available as open source under the terms of the MIT License⁠.

Tag summary

Content type

Image

Digest

Size

330.8 MB

Last updated

about 6 years ago

docker pull ananace/matrix_sse