Weft.Server
1.0.1
Prefix Reserved
dotnet add package Weft.Server --version 1.0.1
NuGet\Install-Package Weft.Server -Version 1.0.1
<PackageReference Include="Weft.Server" Version="1.0.1" />
<PackageVersion Include="Weft.Server" Version="1.0.1" />
<PackageReference Include="Weft.Server" />
paket add Weft.Server --version 1.0.1
#r "nuget: Weft.Server, 1.0.1"
#:package Weft.Server@1.0.1
#addin nuget:?package=Weft.Server&version=1.0.1
#tool nuget:?package=Weft.Server&version=1.0.1
Weft.Server
A y-sync WebSocket relay for ASP.NET Core: it speaks the standard Yjs y-sync protocol, so existing
editor clients (Tiptap + y-prosemirror, y-websocket) connect with no adaptation.
Part of Weft — real-time CRDT collaboration and content-addressed document versioning for .NET.
Install
dotnet add package Weft.Server
What it provides
- DI wiring —
AddWeftServer(...)+MapWeft("/path")→path/{docId}. IWeftAuthorizer— the consumer's access hook (Deny/ReadOnly/ReadWrite); Weft never implements identity itself.IDocumentStore— durable persistence of opaque blobs;InMemory/FileSystemincluded, EF Core and Redis adapters in separate packages.- Ephemeral awareness/presence, incremental reconnect (state vectors), and per-connection backpressure.
builder.Services.AddWeftServer();
builder.Services.AddSingleton<IWeftAuthorizer, MyAuthorizer>();
app.MapWeft("/collab"); // ws://host/collab/{docId}
Links
- Repository & docs: https://github.com/StrangeDaysTech/weft
- Architecture: https://github.com/StrangeDaysTech/weft/blob/main/docs/architecture.md
Licensed under Apache-2.0.
| 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
- Weft.Core (>= 1.0.1)
- Weft.Versioning (>= 1.0.1)
NuGet packages (2)
Showing the top 2 NuGet packages that depend on Weft.Server:
| Package | Downloads |
|---|---|
|
Weft.Server.Persistence.Redis
Weft — IDocumentStore adapter over Redis (StackExchange.Redis): snapshot as a string + updates as a list, with atomic compaction via a transaction. Compatible with Redis-wire servers (Redis, Valkey). |
|
|
Weft.Server.Persistence.EFCore
Weft — IDocumentStore adapter over Entity Framework Core (opaque per-document blob persistence: snapshot + updates with transactional compaction). Provider-agnostic: the consumer configures the provider (SQLite, PostgreSQL, SQL Server, …) via DbContextOptions. |
GitHub repositories
This package is not used by any popular GitHub repositories.