Uniform.Matrix.Server 0.1.2

There is a newer prerelease version of this package available.
See the version list below for details.
dotnet add package Uniform.Matrix.Server --version 0.1.2
                    
NuGet\Install-Package Uniform.Matrix.Server -Version 0.1.2
                    
This command is intended to be used within the Package Manager Console in Visual Studio, as it uses the NuGet module's version of Install-Package.
<PackageReference Include="Uniform.Matrix.Server" Version="0.1.2" />
                    
For projects that support PackageReference, copy this XML node into the project file to reference the package.
<PackageVersion Include="Uniform.Matrix.Server" Version="0.1.2" />
                    
Directory.Packages.props
<PackageReference Include="Uniform.Matrix.Server" />
                    
Project file
For projects that support Central Package Management (CPM), copy this XML node into the solution Directory.Packages.props file to version the package.
paket add Uniform.Matrix.Server --version 0.1.2
                    
#r "nuget: Uniform.Matrix.Server, 0.1.2"
                    
#r directive can be used in F# Interactive and Polyglot Notebooks. Copy this into the interactive tool or source code of the script to reference the package.
#:package Uniform.Matrix.Server@0.1.2
                    
#:package directive can be used in C# file-based apps starting in .NET 10 preview 4. Copy this into a .cs file before any lines of code to reference the package.
#addin nuget:?package=Uniform.Matrix.Server&version=0.1.2
                    
Install as a Cake Addin
#tool nuget:?package=Uniform.Matrix.Server&version=0.1.2
                    
Install as a Cake Tool

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 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. 
Compatible target framework(s)
Included target framework(s) (in package)
Learn more about Target Frameworks and .NET Standard.

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.5-rc1 0 10/27/2026
0.1.2 31 10/27/2026
0.1.0 46 10/26/2026
0.1.0-alpha.1 41 10/26/2026