Skip to content

KristofferStrube/ActivityStreams

Repository files navigation

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

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.

About

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

Topics

Resources

License

Stars

Watchers

Forks

Languages