Middleware testbed for MSC2108 using Ruby+Sinatra
2.5K
A small testbed server for trying out MSC2108 for the Matrix protocol
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
}
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.
Bug reports and pull requests are welcome on GitHub at https://github.com/ananace/ruby-sinatra-matrix_sse
The gem is available as open source under the terms of the MIT License.
Content type
Image
Digest
Size
330.8 MB
Last updated
about 6 years ago
docker pull ananace/matrix_sse