Skip to content

A simple Matrix room alias proxy that will return a random room

License

Notifications You must be signed in to change notification settings

fd1f/mauliasproxy

 
 

Repository files navigation

Not The Maunium Matrix room alias proxy

This is a simple room alias proxy that can respond to the federation alias query endpoint. I don't know the purpose anymore.

Setup

You can either build the Go program yourself (just git clone + go build), or building it in Docker by yourself.

After that, copy example-config.yaml to config.yaml and fill out the details you want. If using Docker, mount the directory with config.yaml at /data.

Finally set up your reverse proxy to proxy /_matrix/federation/v1/query/directory on the alias domains to mauliasproxy.

Optionally, you may also proxy:

  • /.well-known/matrix/server to have mauliasproxy handle delegation to 443.
  • /_matrix/federation/v1/version and /_matrix/key/v2/server to make the federation tester pass.
    • To enable the key server endpoint, fill the server_keys section in the config.
  • /_matrix/federation/* to respond with a proper M_NOT_FOUND code to make old Synapses work.

About

A simple Matrix room alias proxy that will return a random room

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Go 96.0%
  • Dockerfile 4.0%