Full Implementation of a Matrix protocol server , E2EE , using postgres as a backend.
  • Rust 94.9%
  • Python 3.9%
  • Nix 0.7%
  • Shell 0.4%
  • Dockerfile 0.1%
Find a file
Uriel Fanelli d4a7e6690d
All checks were successful
continuous-integration/drone/push Build is passing
Separate Forgejo and Docker Hub publishing
2026-07-23 17:48:57 +02:00
.cargo Complete environment-only Docker smoke coverage 2026-07-17 09:11:11 +02:00
.vscode Rebrand Conduit as Tensor 2026-07-17 06:57:43 +02:00
bin Rebrand Conduit as Tensor 2026-07-17 06:57:43 +02:00
complement Rebrand Conduit as Tensor 2026-07-17 06:57:43 +02:00
debian Release PostgreSQL-only RC2 2026-07-17 18:41:34 +02:00
docs Document public Tensor Docker image 2026-07-23 17:47:04 +02:00
nix Release PostgreSQL-only RC2 2026-07-17 18:41:34 +02:00
smoketest release: prepare 1.0.0 2026-07-18 17:40:55 +02:00
src release: prepare 1.0.0 2026-07-18 17:40:55 +02:00
tests Fork Conduit as Tensor 2026-07-15 08:52:32 +02:00
vendor release: prepare 1.0.0-RC6 2026-07-17 23:15:59 +02:00
.dockerignore Complete environment-only Docker smoke coverage 2026-07-17 09:11:11 +02:00
.drone.yml Separate Forgejo and Docker Hub publishing 2026-07-23 17:48:57 +02:00
.editorconfig Fork Conduit as Tensor 2026-07-15 08:52:32 +02:00
.envrc Fork Conduit as Tensor 2026-07-15 08:52:32 +02:00
.gitignore Complete environment-only Docker smoke coverage 2026-07-17 09:11:11 +02:00
.gitlab-ci.yml Rebrand Conduit as Tensor 2026-07-17 06:57:43 +02:00
book.toml Rebrand Conduit as Tensor 2026-07-17 06:57:43 +02:00
Cargo.lock release: prepare 1.0.0 2026-07-18 17:40:55 +02:00
Cargo.toml release: prepare 1.0.0 2026-07-18 17:40:55 +02:00
default.nix Fork Conduit as Tensor 2026-07-15 08:52:32 +02:00
docker-compose.nfs.yml.example release: prepare 1.0.0-RC7 2026-07-17 23:53:25 +02:00
docker-compose.yml.example Publish Tensor container to Docker Hub 2026-07-23 17:44:02 +02:00
Dockerfile Complete environment-only Docker smoke coverage 2026-07-17 09:11:11 +02:00
engage.toml Fork Conduit as Tensor 2026-07-15 08:52:32 +02:00
flake.lock Fork Conduit as Tensor 2026-07-15 08:52:32 +02:00
flake.nix Release PostgreSQL-only RC2 2026-07-17 18:41:34 +02:00
INSTALL.md Publish Tensor container to Docker Hub 2026-07-23 17:44:02 +02:00
LICENSE Fork Conduit as Tensor 2026-07-15 08:52:32 +02:00
LICENSE-APACHE Fork Conduit as Tensor 2026-07-15 08:52:32 +02:00
NOTICE Fork Conduit as Tensor 2026-07-15 08:52:32 +02:00
README.md Publish Tensor container to Docker Hub 2026-07-23 17:44:02 +02:00
rust-toolchain.toml Fork Conduit as Tensor 2026-07-15 08:52:32 +02:00
rustfmt.toml Fork Conduit as Tensor 2026-07-15 08:52:32 +02:00
S2S_SUPPORT.md Release E2EE and backfill RC4 2026-07-17 20:41:44 +02:00
smoketest.py Complete environment-only Docker smoke coverage 2026-07-17 09:11:11 +02:00
taplo.toml Fork Conduit as Tensor 2026-07-15 08:52:32 +02:00
tensor-example.toml Release PostgreSQL-only RC2 2026-07-17 18:41:34 +02:00
TODO.md release: prepare 1.0.0 2026-07-18 17:40:55 +02:00
typos.toml Fork Conduit as Tensor 2026-07-15 08:52:32 +02:00

Tensor

A Matrix homeserver written in Rust, with PostgreSQL as its database backend

Tensor is a fork of Conduit, the Matrix homeserver written in Rust. Its primary goal is to add a PostgreSQL backend, so that deployments can use PostgreSQL rather than relying on filesystem-backed database storage (including storage mounted over NFS).

The initial codebase was imported from Conduits next branch at commit ea02329046c048927c9f45270010d4bceac91689. Upstream history and attribution are preserved in Git; the upstream remote is named upstream.

What is Matrix?

Matrix is an open network for secure and decentralized communication. Users from every Matrix homeserver can chat with users from all other Matrix servers. You can even use bridges (also called Matrix appservices) to communicate with users outside of Matrix, like a community on Discord.

What is the goal?

An efficient Matrix homeserver that's easy to set up and just works. You can install it on a mini-computer like the Raspberry Pi to host Matrix for your family, friends or company.

Tensor 1.0 targets PostgreSQL 17 deployments, standard Matrix clients, E2EE, media and normal federation. Operational setup is documented in INSTALL.md; deployments using NFS for PostgreSQL must follow the PostgreSQL runbook. GET /healthz reports process liveness and GET /readyz reports whether Tensor can use its database.

The public container image is loweel/tensor:latest on Docker Hub.

License

Tensor and its Tensor-specific changes are distributed under the European Union Public Licence v1.2 (EUPL-1.2). The imported Conduit code remains subject to its original Apache-2.0 notices and terms, which are retained in LICENSE-APACHE. See NOTICE for provenance and attribution.

Upstream

For the original implementation, documentation, and prior contributors, see Famedly/Conduit.