Uniform.Matrix.Server
0.1.13
dotnet add package Uniform.Matrix.Server --version 0.1.13
NuGet\Install-Package Uniform.Matrix.Server -Version 0.1.13
<PackageReference Include="Uniform.Matrix.Server" Version="0.1.13" />
<PackageVersion Include="Uniform.Matrix.Server" Version="0.1.13" />
<PackageReference Include="Uniform.Matrix.Server" />
paket add Uniform.Matrix.Server --version 0.1.13
#r "nuget: Uniform.Matrix.Server, 0.1.13"
#:package Uniform.Matrix.Server@0.1.13
#addin nuget:?package=Uniform.Matrix.Server&version=0.1.13
#tool nuget:?package=Uniform.Matrix.Server&version=0.1.13
Uniform.Matrix.Server
A Matrix homeserver engine on ASP.NET Core and SQLite: accounts and devices, rooms, sync, profiles, typing and receipts, the room directory, media with thumbnails, and the end-to-end encryption relay with cross-signing and key backup. Federation with other servers is not there yet.
dotnet add package Uniform.Matrix.Server
Host it
using Uniform.Matrix.Hosting;
using Uniform.Matrix.Server;
WebApplicationBuilder builder = WebApplication.CreateBuilder(args);
builder.AddSettings();
builder.AddMatrixServer();
WebApplication app = builder.Build();
app.MapMatrixServer();
await app.RunAsync();
AddMatrixServer registers the options, the database and the services; MapMatrixServer adds the Matrix error handling and CORS, and maps the Client-Server API endpoints. The database is created and migrated at start.
Settings
| Option | Default | Meaning |
|---|---|---|
Server:ServerName |
localhost |
The name in user IDs and room aliases; choose it before creating accounts |
Server:PublicBaseUrl |
not set | Address announced at /.well-known/matrix/client |
Server:Registration |
Disabled |
Disabled, Open or Token |
Server:RegistrationTokens |
not set | Comma-separated tokens for Token registration |
Storage:DataDirectory |
the app's data directory | Database, signing key, media and logs |
Media:MaxUploadSize |
50 MiB | Largest upload |
AdminService creates accounts, resets passwords and manages the room directory without an access token, for an operator's own tools.
The server speaks plain HTTP; put a reverse proxy in front of it for HTTPS. The Uniform.Matrix server is a ready application with a terminal dashboard, built on this package.
More in the developer guide.
About
Part of Uniform.Matrix, a pure .NET implementation of the Matrix specification. Version 0.1 is an early pre-release: APIs may still change.
| Product | Versions Compatible and additional computed target framework versions. |
|---|---|
| .NET | net10.0 is compatible. net10.0-android was computed. net10.0-browser was computed. net10.0-ios was computed. net10.0-maccatalyst was computed. net10.0-macos was computed. net10.0-tvos was computed. net10.0-windows was computed. |
-
net10.0
- AngleSharp (>= 1.8.3)
- Microsoft.EntityFrameworkCore.Sqlite (>= 10.0.12)
- StbImageSharp (>= 2.30.16)
- StbImageWriteSharp (>= 1.16.7)
- Uniform.Matrix.Hosting (>= 0.1.13)
- Uniform.Matrix.Protocol.Server (>= 0.1.13)
NuGet packages (1)
Showing the top 1 NuGet packages that depend on Uniform.Matrix.Server:
| Package | Downloads |
|---|---|
|
Uniform
Package aggregation for server packages: one reference brings in the Uniform.Matrix homeserver engine and its hosting, and the packages that join them later. |
GitHub repositories
This package is not used by any popular GitHub repositories.
| Version | Downloads | Last Updated |
|---|---|---|
| 0.1.13 | 0 | 10/30/2026 |
| 0.1.13-rc5 | 0 | 10/30/2026 |
| 0.1.13-rc4 | 0 | 10/30/2026 |
| 0.1.12-rc4 | 34 | 10/29/2026 |
| 0.1.12-rc1 | 32 | 10/29/2026 |
| 0.1.11 | 37 | 10/29/2026 |
| 0.1.10 | 34 | 10/29/2026 |
| 0.1.8 | 38 | 10/29/2026 |
| 0.1.8-rc4 | 34 | 10/29/2026 |
| 0.1.8-rc3 | 41 | 10/29/2026 |
| 0.1.6 | 49 | 10/28/2026 |
| 0.1.5-rc1 | 44 | 10/27/2026 |
| 0.1.2 | 48 | 10/27/2026 |
| 0.1.0 | 55 | 10/26/2026 |
| 0.1.0-alpha.1 | 48 | 10/26/2026 |