A web-based Matrix client. Runs in any modern browser, powers Matron Desktop, and can be self-hosted.
Forked from Element Web. Built on the Matrix JS SDK.
| Project | Description |
|---|---|
| Matron Desktop | Desktop client |
| Matron Web | Web client (this repo) |
| Matron iOS | iOS client |
| Matron Server | Matrix homeserver |
| Dev Boxer | One-command dev environment setup |
Matron Web supports the last two major versions of Chrome, Firefox, Edge, and Safari.
Download a release tarball, extract it, and serve the contents with any web server.
Create a config.json (see config.sample.json) and place it in the root directory.
Security note: Matron Web should be served on its own domain, separate from your homeserver, to prevent XSS attacks from gaining homeserver access. Set appropriate
Content-Security-Policy,X-Content-Type-Options, andX-Frame-Optionsheaders.
pnpm install
cp config.sample.json config.json # edit as needed
pnpm run buildThe built app will be in the webapp/ directory.
pnpm install
pnpm start # starts dev server at http://localhost:8080Copy config.sample.json to config.json and edit. Key options:
{
"default_server_config": {
"m.homeserver": {
"base_url": "https://matrix.org"
}
},
"brand": "Matron"
}See docs/config.md for full configuration reference.
Multi-licensed under AGPL-3.0-only / GPL-3.0-only, at your option. See LICENSE-AGPL-3.0 and LICENSE-GPL-3.0.