Skip to content

A .NET implementation of the Activity Streams vocabulary in the form of classes that can be serialized using System.Text.Json

License

Notifications You must be signed in to change notification settings

aluitink/ActivityStreams

 
 

Repository files navigation

.NET GitHub issues GitHub forks GitHub stars License: MIT NuGet Downloads (official NuGet)

Rayven.ActivityStreams

A custom implementation of KristofferStrube.ActivityStreams for use in a private project.

I've added a .devcontainer, build action, package publishing.

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

KristofferStrube/ActivityStream is used in the following repositories.

About

A .NET implementation of the Activity Streams vocabulary in the form of classes that can be serialized using System.Text.Json

Resources

License

Stars

Watchers

Forks

Packages

 
 
 

Languages

  • C# 100.0%