Uniform.Matrix.Server
0.1.2
dotnet add package Uniform.Matrix.Server --version 0.1.2
NuGet\Install-Package Uniform.Matrix.Server -Version 0.1.2
<PackageReference Include="Uniform.Matrix.Server" Version="0.1.2" />
<PackageVersion Include="Uniform.Matrix.Server" Version="0.1.2" />
<PackageReference Include="Uniform.Matrix.Server" />
paket add Uniform.Matrix.Server --version 0.1.2
#r "nuget: Uniform.Matrix.Server, 0.1.2"
#:package Uniform.Matrix.Server@0.1.2
#addin nuget:?package=Uniform.Matrix.Server&version=0.1.2
#tool nuget:?package=Uniform.Matrix.Server&version=0.1.2
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 Server.
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
- Microsoft.EntityFrameworkCore.Sqlite (>= 10.0.12)
- StbImageSharp (>= 2.30.16)
- StbImageWriteSharp (>= 1.16.7)
- Uniform.Matrix.Hosting (>= 0.1.2)
- Uniform.Matrix.Protocol.Server (>= 0.1.2)
NuGet packages
This package is not used by any NuGet packages.
GitHub repositories
This package is not used by any popular GitHub repositories.
| Version | Downloads | Last Updated |
|---|---|---|
| 0.1.2 | 0 | 10/27/2026 |
| 0.1.0 | 32 | 10/26/2026 |
| 0.1.0-alpha.1 | 28 | 10/26/2026 |