Skip to content
This repository was archived by the owner on Aug 8, 2026. It is now read-only.
MatronhqPublic archive

About

Legacy Matrix-era stack — Matron's Tuwunel-tracking homeserver distribution, superseded by matron-journal

Resources

Code of conduct

Contributing

Stars

0 stars

Watchers

0 watching

Forks

 
 

Latest commit

 

History

6,464 Commits

Folders and files

NameName
Last commit message
Last commit date
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Matron Server

Status: legacy. Matron's current stack uses matron-journal as its sync server; the Matrix transport this homeserver served has been retired (matron-bridge is journal-only, and dev-boxer no longer installs a homeserver — see its "Upgrading from a Matrix-era install" section for migration). This repo is kept as a mirror of upstream Tuwunel for existing Matrix-era deployments.

Matron Server is a fork of Tuwunel, a Matrix homeserver written in Rust.

It was the homeserver behind Matron's Matrix transport: clients connected to it over the Matrix protocol, and matron-bridge relayed messages between Matrix rooms and Claude Code sessions. That transport has been retired; this repository stays close to upstream so existing Matrix-era deployments can keep pulling a current server image.

Versions

This tree tracks Tuwunel 1.6.0; upstream is at 1.8.x (latest release v1.8.3). The ghcr.io/matronhq/matron-server:latest image is a weekly re-tag of ghcr.io/matrix-construct/tuwunel:latest (see .github/workflows/sync-image.yml) and does not correspond to the source in this repo.

Naming

The fork keeps Tuwunel's native names throughout: the crate and binary are tuwunel, the default database path uses /var/lib/tuwunel, and configuration uses TUWUNEL_ environment variables (CONDUWUIT_ and CONDUIT_ prefixes are also accepted for compatibility with upstream history). Follow Tuwunel's upstream configuration docs unless a Matron-specific deployment wrapper says otherwise.

Part of the Matron ecosystem

Project Description
Matron Desktop Desktop client
Matron Web Web client
Matron Apple iPhone and Mac client
Matron Android Android client
Matron Server Matrix homeserver (this repo — legacy)
Matron Journal Sync server — the current Matron backbone
matron-bridge Ran Claude Code sessions and bridged them to Matrix (now journal-only)
Dev Boxer One-command dev environment setup

Container image

The ghcr.io/matronhq/matron-server:latest image is mirrored weekly from ghcr.io/matrix-construct/tuwunel:latest — it is upstream's current build, not a build of this tree (see Versions).

Use Tuwunel's native environment variables when configuring the container. The server listens on port 8008 by default; this example moves it to 6167 to match docs/deploying/docker-compose.yml:

docker run -d \
  --name matron-server \
  -p 6167:6167 \
  -v matron_server_data:/var/lib/tuwunel \
  -e TUWUNEL_SERVER_NAME="matrix.example.com" \
  -e TUWUNEL_PORT="6167" \
  -e TUWUNEL_DATABASE_PATH="/var/lib/tuwunel" \
  -e TUWUNEL_ALLOW_REGISTRATION="false" \
  ghcr.io/matronhq/matron-server:latest

Build from source

The crate and binary are named tuwunel (see Naming):

cargo build --release

The resulting binary is at target/release/tuwunel. For toolchain details, feature flags, and deeper build documentation, see the upstream Tuwunel docs.

Configuration

Most operators should follow the upstream Tuwunel configuration docs. At minimum, set server_name and database_path:

[global]
server_name = "matrix.example.com"
database_path = "/var/lib/tuwunel"

Configuration can also be supplied through environment variables with the TUWUNEL_ prefix.

Development

CI in this repository runs metadata and hygiene checks only (cargo metadata, whitespace, workflow YAML validation, string scans) — it does not build or test the server source. For project layout and build documentation, see development.md and the mdBook under docs/. Substantive changes to server behavior belong upstream — see CONTRIBUTING.md.

Links

  • CONTRIBUTING.md — how and where to contribute
  • RELEASE.md — Tuwunel 1.6.0 release notes (the version this tree tracks)
  • docs/ — mdBook documentation source
  • Tuwunel — upstream project

License

Apache-2.0. See LICENSE.

About

Legacy Matrix-era stack — Matron's Tuwunel-tracking homeserver distribution, superseded by matron-journal

Resources

Code of conduct

Contributing

Stars

0 stars

Watchers

0 watching

Forks

Releases

Packages

Contributors

Languages