KristofferStrube.ActivityStreams
0.2.3
Prefix Reserved
dotnet add package KristofferStrube.ActivityStreams --version 0.2.3
NuGet\Install-Package KristofferStrube.ActivityStreams -Version 0.2.3
<PackageReference Include="KristofferStrube.ActivityStreams" Version="0.2.3" />
paket add KristofferStrube.ActivityStreams --version 0.2.3
#r "nuget: KristofferStrube.ActivityStreams, 0.2.3"
// Install KristofferStrube.ActivityStreams as a Cake Addin #addin nuget:?package=KristofferStrube.ActivityStreams&version=0.2.3 // Install KristofferStrube.ActivityStreams as a Cake Tool #tool nuget:?package=KristofferStrube.ActivityStreams&version=0.2.3
ActivityStreams
A .NET implementation of the Activity Streams vocabulary in the form of classes that can be serialized/deserialized using System.Text.Json
The specifications can be seen here: https://www.w3.org/TR/activitystreams-vocabulary/
These types are famously used in the ActivityPub specification which is used in the Fediverse including Mastodon.
We have chosen that it should also implement the properties that are specific to ActivityPub as these don't change any of the existing properties and because they are very few.
Features
- Classes for Core Types.
- Class for Object
- Class for Link
- Class for Activity
- Class for IntransitiveActivity
- Class for Collection
- Class for OrderedCollection
- Class for CollectionPage
- Class for OrderedCollectionPage
- Extended classes for Activity Types.
- Extended classes for Actor Types.
- Extended classes for Object and Link Types.
- Properties specific to ActivityPub
- Support for retrieving @context JSON-LD defintions.
- Support for serializing
Related repositories
This is used in the following repositories.
- KristofferStrube/ActivityPubBotDotNet: An implementation of a ActivityPub bot that can communicate with Mastodon servers.
- Blazor.FileSystem Search Mastodon Sample: A sample of using the ActivityStreams classes in Blazor to Deserialize the responses from an API.
Product | Versions Compatible and additional computed target framework versions. |
---|---|
.NET | net7.0 is compatible. net7.0-android was computed. net7.0-ios was computed. net7.0-maccatalyst was computed. net7.0-macos was computed. net7.0-tvos was computed. net7.0-windows was computed. net8.0 was computed. net8.0-android was computed. net8.0-browser was computed. net8.0-ios was computed. net8.0-maccatalyst was computed. net8.0-macos was computed. net8.0-tvos was computed. net8.0-windows was computed. |
-
net7.0
- No dependencies.
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.2.3 | 263 | 4/22/2024 |
0.2.2 | 111 | 4/8/2024 |
0.2.1 | 578 | 8/13/2023 |
0.2.0 | 192 | 5/1/2023 |
0.1.0 | 450 | 1/10/2023 |
0.1.0-alpha.6 | 102 | 1/7/2023 |
0.1.0-alpha.5 | 144 | 11/30/2022 |
0.1.0-alpha.4 | 101 | 11/30/2022 |
0.1.0-alpha.3 | 98 | 11/30/2022 |
0.1.0-alpha.2 | 99 | 11/29/2022 |
0.1.0-alpha.1 | 98 | 11/28/2022 |
0.1.0-alpha.0 | 93 | 11/28/2022 |