Built and signed on GitHub ActionsBuilt and signed on GitHub Actions
An ActivityPub/fediverse server framework
The federated server framework.
A message queue that processes messages in the same process.Do not use this in production as it does not persist messages.
A key-value store that stores values in memory.Do not use this in production as it does not persist values.
An error thrown by the Router.
Builds Collection-Synchronization
header content.
Creates an exponential backoff retry policy. The delay between retriesstarts at the initialDelay
and is multiplied by the factor
for eachsubsequent retry, up to the maxDelay
. The policy will give up aftermaxAttempts
attempts. The actual delay is randomized to avoidsynchronization (jitter).
Create a new Federation instance.
Calculates the partial follower collection digest.
Responds with the given object in JSON-LD format.
Responds with the given object in JSON-LD format if the request acceptsJSON-LD.
Additional settings for the actor dispatcher.
A pair of a public key and a private key in various formats.
Additional settings for a collection dispatcher.
A context.
Options for createExponentialBackoffPolicy function.
Options for createFederation function.
An object that registers federation-related business logic and dispatchesrequests to the appropriate handlers.
Parameters of Federation.fetch method.
Prefixes for namespacing keys in the Deno KV store.
Registry for inbox listeners for different activity types.
An abstract interface for a key-value store.
Additional options for setting a value in a key-value store.
An abstract interface for a message queue.
Additional options for enqueuing a message in a queue.
Additional settings for an object dispatcher.
A page of items.
A context for a request.
Options for the respondWithObject andrespondWithObjectIfAcceptable functions.
The context passed to a RetryPolicy callback.
Options for the Router.
Options for Context.sendActivity method andFederation.sendActivity method.
A key pair for an actor who sends an activity.
A callback that dispatches an Actor object.
A callback that dispatches key pairs for an actor.
A callback that counts the number of items in a collection.
A callback that returns a cursor for a collection.
A callback that dispatches a collection.
A callback that handles errors in an inbox.
A callback that listens for activities in an inbox.
A key for a key-value store. An array of one or more strings.
A callback that dispatches a NodeInfo object.
A callback that dispatches an object.
A callback that handles errors during outbox processing.
A result of parsing an URI.
A policy that determines the delay before the next retry.
Add Package
deno add jsr:@fedify/fedify
Import symbol
import * as mod from "@fedify/fedify/federation";
---- OR ----
Import directly with a jsr specifier
import * as mod from "jsr:@fedify/fedify/federation";
Add Package
npx jsr add @fedify/fedify
Import symbol
import * as mod from "@fedify/fedify/federation";
Add Package
yarn dlx jsr add @fedify/fedify
Import symbol
import * as mod from "@fedify/fedify/federation";
Add Package
pnpm dlx jsr add @fedify/fedify
Import symbol
import * as mod from "@fedify/fedify/federation";
Add Package
bunx jsr add @fedify/fedify
Import symbol
import * as mod from "@fedify/fedify/federation";