Skip to main content
This release is 9 versions behind 1.3.0 — the latest version of @fedify/fedify. Jump to latest

Built and signed on GitHub Actions

An ActivityPub/fediverse server framework

This package works with Node.js, Deno, Bun
This package works with Node.js
This package works with Deno
This package works with Bun
JSR Score
100%
Published
a month ago (1.2.0)

default

Fedify: a fediverse server framework

c
Accept

Indicates that the actor accepts the object. The target property can be used in certain circumstances to indicate the context into which the object has been accepted.

c
Activity

An Activity is a subtype of Object that describes some form of action that may happen, is currently happening, or has already happened. The Activity type itself serves as an abstract base type for all types of activities. It is important to note that the Activity type itself does not carry any specific semantics about the kind of action being taken.

T
Actor

Actor types are Object types that are capable of performing activities.

I
ActorCallbackSetters

Additional settings for the actor dispatcher.

T
ActorDispatcher

A callback that dispatches an Actor object.

T
ActorHandleMapper

A callback that maps a WebFinger username to the corresponding actor's internal identifier, or null if the username is not found.

I
ActorKeyPair

A pair of a public key and a private key in various formats.

T
ActorKeyPairsDispatcher

A callback that dispatches key pairs for an actor.

T
ActorTypeName

A string representation of an actor type name.

c
Add

Indicates that the actor has added the object to the target. If the target property is not explicitly specified, the target would need to be determined implicitly by context. The origin can be used to identify the context from which the object originated.

c
Announce

Indicates that the actor is calling the target's attention the object.

c
Arrive

An IntransitiveActivity that indicates that the actor has arrived at the location. The origin can be used to identify the context from which the actor originated. The target typically has no defined meaning.

c
Article

Represents any kind of multi-paragraph written work.

f
attachSignature

Attaches a LD signature to the given JSON-LD document.

c
T
AuthenticatedDocumentLoaderFactory

A factory function that creates an authenticated DocumentLoader for a given identity. This is used for fetching documents that require authentication.

T
AuthorizePredicate

A callback that determines if a request is authorized or not.

c
Block

Indicates that the actor is blocking the object. Blocking is a stronger form of Ignore. The typical use is to support social systems that allow one user to block activities or content of other users. The target and origin typically have no defined meaning.

c
ChatMessage

ChatMessages are the messages sent in 1-on-1 chats. They are similar to Notes, but the addressing is done by having a single AP actor in the to field. Addressing multiple actors is not allowed. These messages are always private, there is no public version of them. They are created with a Create activity.

I
CollectionCallbackSetters

Additional settings for a collection dispatcher.

T
CollectionCounter

A callback that counts the number of items in a collection.

T
CollectionCursor

A callback that returns a cursor for a collection.

T
CollectionDispatcher

A callback that dispatches a collection.

c
CollectionPage

Used to represent distinct subsets of items from a Collection. Refer to the Activity Streams 2.0 Core for a complete description of the CollectionPage object.

c
Create

Indicates that the actor has created the object.

f
createExponentialBackoffPolicy

Creates an exponential backoff retry policy. The delay between retries starts at the initialDelay and is multiplied by the factor for each subsequent retry, up to the maxDelay. The policy will give up after maxAttempts attempts. The actual delay is randomized to avoid synchronization (jitter).

I
CreateExponentialBackoffPolicyOptions

Options for createExponentialBackoffPolicy function.

f
createFederation

Create a new Federation instance.

f
createProof

Creates a proof for the given object.

f
createSignature

Creates a LD signature for the given JSON-LD document.

I
CreateSignatureOptions

Options for creating Linked Data Signatures.

c
DataIntegrityProof

A proof that can be added to any activity or object, allowing recipients to verify the identity of the actor and the integrity of the data.

c
Delete

Indicates that the actor has deleted the object. If specified, the origin indicates the context from which the object was deleted.

f
detachSignature

Detaches Linked Data Signatures from the given JSON-LD document.

c
DidService

Means of communicating or interacting with the DID subject or associated entities via one or more service endpoints. Examples include discovery services, agent services, social networking services, file storage services, and verifiable credential repository services.

c
Dislike

Indicates that the actor dislikes the object.

T
DocumentLoader

A JSON-LD document loader that fetches documents from the Web.

f
doesActorOwnKey

Checks if the actor of the given activity owns the specified key.

I
f
exportJwk

Exports a key in JWK format.

f
exportMultibaseKey

Exports a public key in Multibase format.

f
exportSpki

Exports a public key in PEM-SPKI format.

I
FederationKvPrefixes

Prefixes for namespacing keys in the Deno KV store.

I
FederationStartQueueOptions

Options for Federation.startQueue method.

f
fetchDocumentLoader

A JSON-LD document loader that utilizes the browser's fetch API.

c
FetchError

Error thrown when fetching a JSON-LD document failed.

c
Flag

Indicates that the actor is "flagging" the object. Flagging is defined in the sense common to many social platforms as reporting content as being inappropriate for any number of reasons.

c
Follow

Indicates that the actor is "following" the object. Following is defined in the sense typically used within Social systems in which the actor is interested in any activity performed by or on the object. The target and origin typically have no defined meaning.

I
ForwardActivityOptions

Options for InboxContext.forwardActivity method.

f
generateCryptoKeyPair

Generates a key pair which is appropriate for Fedify.

f
getActorClassByTypeName

Gets the actor class by the given type name.

f
getActorHandle

Gets the actor handle, of the form @username@domain, from the given actor or an actor URI.

f
getActorTypeName

Gets the type name of the given actor.

f
getAuthenticatedDocumentLoader

Gets an authenticated DocumentLoader for the given identity. Note that an authenticated document loader intentionally does not cache the fetched documents.

f
getKeyOwner

Gets the actor that owns the specified key. Returns null if the key has no known owner.

f
getNodeInfo

Fetches a NodeInfo document from the given URL.

I
GetNodeInfoOptions

Options for getNodeInfo function.

c
Hashtag

A specialized Link that represents an #hashtag.

c
Ignore

Indicates that the actor is ignoring the object. The target and origin typically have no defined meaning.

f
importJwk

Imports a key from JWK format.

f
importMultibaseKey

Imports a Multibase-encoded public key.

f
importSpki

Imports a PEM-SPKI formatted public key.

T
InboundService

The third party sites this server can retrieve messages from for combined display with regular traffic.

I
InboxContext

A context for inbox listeners.

T
InboxErrorHandler

A callback that handles errors in an inbox.

T
InboxListener

A callback that listens for activities in an inbox.

I
InboxListenerSetters

Registry for inbox listeners for different activity types.

c
InProcessMessageQueue

A message queue that processes messages in the same process. Do not use this in production as it does neither persist messages nor distribute them across multiple processes.

I
InProcessMessageQueueOptions

Additional options for InProcessMessageQueue.

c
IntransitiveActivity

Instances of IntransitiveActivity are a subtype of Activity representing intransitive actions. The object property is therefore inappropriate for these activities.

c
Invite

A specialization of Offer in which the actor is extending an invitation for the object to the target.

f
isActor

Checks if the given object is an Actor.

c
Join

Indicates that the actor has joined the object. The target and origin typically have no defined meaning.

T
JsonValue

The type of the result of parsing JSON.

I
KeyCache

A cache for storing cryptographic keys.

f
kvCache

Decorates a DocumentLoader with a cache backed by a Deno.Kv.

I
KvCacheParameters

The parameters for kvCache function.

T
KvKey

A key for a key-value store. An array of one or more strings.

I
KvStore

An abstract interface for a key-value store.

I
KvStoreSetOptions

Additional options for setting a value in a key-value store.

c
LanguageString

A language-tagged string which corresponds to the rdf:langString type.

c
Leave

Indicates that the actor has left the object. The target and origin typically have no meaning.

c
Like

Indicates that the actor likes, recommends or endorses the object. The target and origin typically have no defined meaning.

c
Listen

Indicates that the actor has listened to the object.

f
lookupObject

Looks up an ActivityStreams object by its URI (including acct: URIs) or a fediverse handle (e.g., @user@server or user@server).

I
LookupObjectOptions

Options for the lookupObject function.

f
lookupWebFinger

Looks up a WebFinger resource.

c
MemoryKvStore

A key-value store that stores values in memory. Do not use this in production as it does not persist values.

c
Mention

A specialized Link that represents an @mention.

I
MessageQueue

An abstract interface for a message queue.

I
MessageQueueEnqueueOptions

Additional options for enqueuing a message in a queue.

I
MessageQueueListenOptions

Additional options for listening to a message queue.

c
Move

Indicates that the actor has moved object from origin to target. If the origin or target are not specified, either can be determined by context.

I
NodeInfo

A NodeInfo object as defined in the NodeInfo 2.1 schema.

T
NodeInfoDispatcher

A callback that dispatches a NodeInfo object.

f
nodeInfoToJson

Converts a NodeInfo object to a JSON value.

f
normalizeActorHandle

Normalizes the given actor handle.

I
NormalizeActorHandleOptions

Options for normalizeActorHandle.

c
Note

Represents a short written work typically less than a single paragraph in length.

T
ObjectAuthorizePredicate

A callback that determines if a request is authorized or not.

I
ObjectCallbackSetters

Additional settings for an object dispatcher.

T
ObjectDispatcher

A callback that dispatches an object.

c
Offer

Indicates that the actor is offering the object. If specified, the target indicates the entity to which the object is being offered.

c
OrderedCollection

A subtype of Collection in which members of the logical collection are assumed to always be strictly ordered.

c
OrderedCollectionPage

Used to represent ordered subsets of items from an OrderedCollection. Refer to the Activity Streams 2.0 Core for a complete description of the OrderedCollectionPage object.

T
OutboundService

The third party sites this server can publish messages to on the behalf of a user.

T
OutboxErrorHandler

A callback that handles errors during outbox processing.

c
ParallelMessageQueue

A message queue that processes messages in parallel. It takes another MessageQueue, and processes messages in parallel up to a certain number of workers.

f
parseNodeInfo

Parses a NodeInfo document.

I
ParseNodeInfoOptions

Options for parseNodeInfo function.

T
ParseUriResult

A result of parsing an URI.

c
Profile

A Profile is a content object that describes another Object, typically used to describe Actor Type objects. The Profile.describes property is used to reference the object being described by the profile.

T
Protocol

The protocols supported on this server.

v
PUBLIC_COLLECTION

The special public collection for public addressing. Do not mutate this object.

c
Question

Represents a question being asked. Question objects are an extension of IntransitiveActivity. That is, the Question object is an Activity, but the direct object is the question itself and therefore it would not contain an object property.

c
Read

Indicates that the actor has read the object.

I
Recipient

The object that can be a recipient of an activity.

c
Reject

Indicates that the actor is rejecting the object. The target and origin typically have no defined meaning.

c
Relationship

Describes a relationship between two individuals. The Relationship.subject and Relationship.object properties are used to identify the connected individuals.

I
RemoteDocument

A remote JSON-LD document and its context fetched by a DocumentLoader.

c
Remove

Indicates that the actor is removing the object. If specified, the origin indicates the context from which the object is being removed.

f
respondWithObject

Responds with the given object in JSON-LD format.

f
respondWithObjectIfAcceptable

Responds with the given object in JSON-LD format if the request accepts JSON-LD.

I
RespondWithObjectOptions

Options for the respondWithObject and respondWithObjectIfAcceptable functions.

I
RetryContext

The context passed to a RetryPolicy callback.

T
RetryPolicy

A policy that determines the delay before the next retry.

c
Router

URL router and constructor based on URI Template (RFC 6570).

c
RouterError

An error thrown by the Router.

I
RouterOptions

Options for the Router.

I
SendActivityOptions

Options for Context.sendActivity method.

I
SenderKeyPair

A key pair for an actor who sends an activity.

I
Services

The third party sites this server can connect to via their application API.

T
SharedInboxKeyDispatcher

A callback that dispatches the key pair for the authenticated document loader of the Context passed to the shared inbox listener.

f
signJsonLd

Signs the given JSON-LD document with the private key and returns the signed JSON-LD document.

I
SignJsonLdOptions

Options for signing JSON-LD documents.

f
signObject

Signs the given object with the private key and returns the signed object.

I
SignObjectOptions

Options for signObject.

f
signRequest

Signs a request using the given private key.

I
Software

Metadata about server software in use.

c
TentativeAccept

A specialization of Accept indicating that the acceptance is tentative.

c
TentativeReject

A specialization of Reject in which the rejection is considered tentative.

c
Tombstone

A Tombstone represents a content object that has been deleted. It can be used in Collections to signify that there used to be an object at this position, but it has been deleted.

c
Travel

Indicates that the actor is traveling to target from origin. Travel is an IntransitiveObject whose actor specifies the direct object. If the target or origin are not specified, either can be determined by context.

f
traverseCollection

Traverses a collection, yielding each item in the collection. If the collection is paginated, it will fetch the next page automatically.

I
c
Undo

Indicates that the actor is undoing the object. In most cases, the object will be an Activity describing some previously performed action (for instance, a person may have previously "liked" an article but, for whatever reason, might choose to undo that like at some later point in time).

c
Update

Indicates that the actor has updated the object. Note, however, that this vocabulary does not define a mechanism for describing the actual set of modifications made to object.

I
Usage

Usage statistics for this server.

f
verifyJsonLd

Verify the authenticity of the given JSON-LD document using Linked Data Signatures. If the document is signed, this function verifies the signature and checks if the document is attributed to the owner of the public key. If the document is not signed, this function returns false.

I
VerifyJsonLdOptions

Options for verifying JSON-LD documents.

f
verifyObject

Verifies the given object. It will verify all the proofs in the object, and succeed only if all the proofs are valid and all attributions and actors are authenticated by the proofs.

I
VerifyObjectOptions

Options for verifyObject.

f
verifyProof

Verifies the given proof for the object.

f
verifyRequest

Verifies the signature of a request.

f
verifySignature

Verifies Linked Data Signatures of the given JSON-LD document.

I
VerifySignatureOptions

Options for verifying Linked Data Signatures.

c
View

Indicates that the actor has viewed the object.

federation

The federated server framework.

I
ActorCallbackSetters

Additional settings for the actor dispatcher.

T
ActorDispatcher

A callback that dispatches an Actor object.

T
ActorHandleMapper

A callback that maps a WebFinger username to the corresponding actor's internal identifier, or null if the username is not found.

I
ActorKeyPair

A pair of a public key and a private key in various formats.

T
ActorKeyPairsDispatcher

A callback that dispatches key pairs for an actor.

T
AuthorizePredicate

A callback that determines if a request is authorized or not.

I
CollectionCallbackSetters

Additional settings for a collection dispatcher.

T
CollectionCounter

A callback that counts the number of items in a collection.

T
CollectionCursor

A callback that returns a cursor for a collection.

T
CollectionDispatcher

A callback that dispatches a collection.

f
createExponentialBackoffPolicy

Creates an exponential backoff retry policy. The delay between retries starts at the initialDelay and is multiplied by the factor for each subsequent retry, up to the maxDelay. The policy will give up after maxAttempts attempts. The actual delay is randomized to avoid synchronization (jitter).

I
CreateExponentialBackoffPolicyOptions

Options for createExponentialBackoffPolicy function.

f
createFederation

Create a new Federation instance.

I
FederationKvPrefixes

Prefixes for namespacing keys in the Deno KV store.

I
FederationStartQueueOptions

Options for Federation.startQueue method.

I
ForwardActivityOptions

Options for InboxContext.forwardActivity method.

I
InboxContext

A context for inbox listeners.

T
InboxErrorHandler

A callback that handles errors in an inbox.

T
InboxListener

A callback that listens for activities in an inbox.

I
InboxListenerSetters

Registry for inbox listeners for different activity types.

c
InProcessMessageQueue

A message queue that processes messages in the same process. Do not use this in production as it does neither persist messages nor distribute them across multiple processes.

I
InProcessMessageQueueOptions

Additional options for InProcessMessageQueue.

T
KvKey

A key for a key-value store. An array of one or more strings.

I
KvStore

An abstract interface for a key-value store.

I
KvStoreSetOptions

Additional options for setting a value in a key-value store.

c
MemoryKvStore

A key-value store that stores values in memory. Do not use this in production as it does not persist values.

I
MessageQueue

An abstract interface for a message queue.

I
MessageQueueEnqueueOptions

Additional options for enqueuing a message in a queue.

I
MessageQueueListenOptions

Additional options for listening to a message queue.

T
NodeInfoDispatcher

A callback that dispatches a NodeInfo object.

T
ObjectAuthorizePredicate

A callback that determines if a request is authorized or not.

I
ObjectCallbackSetters

Additional settings for an object dispatcher.

T
ObjectDispatcher

A callback that dispatches an object.

T
OutboxErrorHandler

A callback that handles errors during outbox processing.

c
ParallelMessageQueue

A message queue that processes messages in parallel. It takes another MessageQueue, and processes messages in parallel up to a certain number of workers.

T
ParseUriResult

A result of parsing an URI.

f
respondWithObject

Responds with the given object in JSON-LD format.

f
respondWithObjectIfAcceptable

Responds with the given object in JSON-LD format if the request accepts JSON-LD.

I
RespondWithObjectOptions

Options for the respondWithObject and respondWithObjectIfAcceptable functions.

I
RetryContext

The context passed to a RetryPolicy callback.

T
RetryPolicy

A policy that determines the delay before the next retry.

c
Router

URL router and constructor based on URI Template (RFC 6570).

c
RouterError

An error thrown by the Router.

I
RouterOptions

Options for the Router.

I
SendActivityOptions

Options for Context.sendActivity method.

I
SenderKeyPair

A key pair for an actor who sends an activity.

T
SharedInboxKeyDispatcher

A callback that dispatches the key pair for the authenticated document loader of the Context passed to the shared inbox listener.

nodeinfo

This module implements the NodeInfo protocol.

f
getNodeInfo

Fetches a NodeInfo document from the given URL.

I
GetNodeInfoOptions

Options for getNodeInfo function.

T
InboundService

The third party sites this server can retrieve messages from for combined display with regular traffic.

T
JsonValue

The type of the result of parsing JSON.

I
NodeInfo

A NodeInfo object as defined in the NodeInfo 2.1 schema.

f
nodeInfoToJson

Converts a NodeInfo object to a JSON value.

T
OutboundService

The third party sites this server can publish messages to on the behalf of a user.

f
parseNodeInfo

Parses a NodeInfo document.

I
ParseNodeInfoOptions

Options for parseNodeInfo function.

T
Protocol

The protocols supported on this server.

I
Services

The third party sites this server can connect to via their application API.

I
Software

Metadata about server software in use.

I
Usage

Usage statistics for this server.

runtime

This module contains the runtime facilities for working with Activity Vocabulary objects, which are auto-generated from the IDL.

T
AuthenticatedDocumentLoaderFactory

A factory function that creates an authenticated DocumentLoader for a given identity. This is used for fetching documents that require authentication.

T
DocumentLoader

A JSON-LD document loader that fetches documents from the Web.

f
exportMultibaseKey

Exports a public key in Multibase format.

f
exportSpki

Exports a public key in PEM-SPKI format.

f
fetchDocumentLoader

A JSON-LD document loader that utilizes the browser's fetch API.

c
FetchError

Error thrown when fetching a JSON-LD document failed.

f
getAuthenticatedDocumentLoader

Gets an authenticated DocumentLoader for the given identity. Note that an authenticated document loader intentionally does not cache the fetched documents.

f
importMultibaseKey

Imports a Multibase-encoded public key.

f
importSpki

Imports a PEM-SPKI formatted public key.

f
kvCache

Decorates a DocumentLoader with a cache backed by a Deno.Kv.

I
KvCacheParameters

The parameters for kvCache function.

c
LanguageString

A language-tagged string which corresponds to the rdf:langString type.

I
RemoteDocument

A remote JSON-LD document and its context fetched by a DocumentLoader.

sig

HTTP Signatures implementation.

f
attachSignature

Attaches a LD signature to the given JSON-LD document.

f
createProof

Creates a proof for the given object.

f
createSignature

Creates a LD signature for the given JSON-LD document.

I
CreateSignatureOptions

Options for creating Linked Data Signatures.

f
detachSignature

Detaches Linked Data Signatures from the given JSON-LD document.

f
doesActorOwnKey

Checks if the actor of the given activity owns the specified key.

I
f
exportJwk

Exports a key in JWK format.

f
generateCryptoKeyPair

Generates a key pair which is appropriate for Fedify.

f
getKeyOwner

Gets the actor that owns the specified key. Returns null if the key has no known owner.

f
importJwk

Imports a key from JWK format.

I
KeyCache

A cache for storing cryptographic keys.

f
signJsonLd

Signs the given JSON-LD document with the private key and returns the signed JSON-LD document.

I
SignJsonLdOptions

Options for signing JSON-LD documents.

f
signObject

Signs the given object with the private key and returns the signed object.

I
SignObjectOptions

Options for signObject.

f
signRequest

Signs a request using the given private key.

f
verifyJsonLd

Verify the authenticity of the given JSON-LD document using Linked Data Signatures. If the document is signed, this function verifies the signature and checks if the document is attributed to the owner of the public key. If the document is not signed, this function returns false.

I
VerifyJsonLdOptions

Options for verifying JSON-LD documents.

f
verifyObject

Verifies the given object. It will verify all the proofs in the object, and succeed only if all the proofs are valid and all attributions and actors are authenticated by the proofs.

I
VerifyObjectOptions

Options for verifyObject.

f
verifyProof

Verifies the given proof for the object.

f
verifyRequest

Verifies the signature of a request.

f
verifySignature

Verifies Linked Data Signatures of the given JSON-LD document.

I
VerifySignatureOptions

Options for verifying Linked Data Signatures.

vocab

A set of type-safe object mappings for the Activity Vocabulary.

c
Accept

Indicates that the actor accepts the object. The target property can be used in certain circumstances to indicate the context into which the object has been accepted.

c
Activity

An Activity is a subtype of Object that describes some form of action that may happen, is currently happening, or has already happened. The Activity type itself serves as an abstract base type for all types of activities. It is important to note that the Activity type itself does not carry any specific semantics about the kind of action being taken.

T
Actor

Actor types are Object types that are capable of performing activities.

T
ActorTypeName

A string representation of an actor type name.

c
Add

Indicates that the actor has added the object to the target. If the target property is not explicitly specified, the target would need to be determined implicitly by context. The origin can be used to identify the context from which the object originated.

c
Announce

Indicates that the actor is calling the target's attention the object.

c
Arrive

An IntransitiveActivity that indicates that the actor has arrived at the location. The origin can be used to identify the context from which the actor originated. The target typically has no defined meaning.

c
Article

Represents any kind of multi-paragraph written work.

c
c
Block

Indicates that the actor is blocking the object. Blocking is a stronger form of Ignore. The typical use is to support social systems that allow one user to block activities or content of other users. The target and origin typically have no defined meaning.

c
ChatMessage

ChatMessages are the messages sent in 1-on-1 chats. They are similar to Notes, but the addressing is done by having a single AP actor in the to field. Addressing multiple actors is not allowed. These messages are always private, there is no public version of them. They are created with a Create activity.

c
CollectionPage

Used to represent distinct subsets of items from a Collection. Refer to the Activity Streams 2.0 Core for a complete description of the CollectionPage object.

c
Create

Indicates that the actor has created the object.

c
DataIntegrityProof

A proof that can be added to any activity or object, allowing recipients to verify the identity of the actor and the integrity of the data.

c
Delete

Indicates that the actor has deleted the object. If specified, the origin indicates the context from which the object was deleted.

c
DidService

Means of communicating or interacting with the DID subject or associated entities via one or more service endpoints. Examples include discovery services, agent services, social networking services, file storage services, and verifiable credential repository services.

c
Dislike

Indicates that the actor dislikes the object.

c
Flag

Indicates that the actor is "flagging" the object. Flagging is defined in the sense common to many social platforms as reporting content as being inappropriate for any number of reasons.

c
Follow

Indicates that the actor is "following" the object. Following is defined in the sense typically used within Social systems in which the actor is interested in any activity performed by or on the object. The target and origin typically have no defined meaning.

f
getActorClassByTypeName

Gets the actor class by the given type name.

f
getActorHandle

Gets the actor handle, of the form @username@domain, from the given actor or an actor URI.

f
getActorTypeName

Gets the type name of the given actor.

c
Hashtag

A specialized Link that represents an #hashtag.

c
Ignore

Indicates that the actor is ignoring the object. The target and origin typically have no defined meaning.

c
IntransitiveActivity

Instances of IntransitiveActivity are a subtype of Activity representing intransitive actions. The object property is therefore inappropriate for these activities.

c
Invite

A specialization of Offer in which the actor is extending an invitation for the object to the target.

f
isActor

Checks if the given object is an Actor.

c
Join

Indicates that the actor has joined the object. The target and origin typically have no defined meaning.

c
Leave

Indicates that the actor has left the object. The target and origin typically have no meaning.

c
Like

Indicates that the actor likes, recommends or endorses the object. The target and origin typically have no defined meaning.

c
Listen

Indicates that the actor has listened to the object.

f
lookupObject

Looks up an ActivityStreams object by its URI (including acct: URIs) or a fediverse handle (e.g., @user@server or user@server).

I
LookupObjectOptions

Options for the lookupObject function.

c
Mention

A specialized Link that represents an @mention.

c
Move

Indicates that the actor has moved object from origin to target. If the origin or target are not specified, either can be determined by context.

f
normalizeActorHandle

Normalizes the given actor handle.

I
NormalizeActorHandleOptions

Options for normalizeActorHandle.

c
Note

Represents a short written work typically less than a single paragraph in length.

c
Offer

Indicates that the actor is offering the object. If specified, the target indicates the entity to which the object is being offered.

c
OrderedCollection

A subtype of Collection in which members of the logical collection are assumed to always be strictly ordered.

c
OrderedCollectionPage

Used to represent ordered subsets of items from an OrderedCollection. Refer to the Activity Streams 2.0 Core for a complete description of the OrderedCollectionPage object.

c
Profile

A Profile is a content object that describes another Object, typically used to describe Actor Type objects. The Profile.describes property is used to reference the object being described by the profile.

v
PUBLIC_COLLECTION

The special public collection for public addressing. Do not mutate this object.

c
Question

Represents a question being asked. Question objects are an extension of IntransitiveActivity. That is, the Question object is an Activity, but the direct object is the question itself and therefore it would not contain an object property.

c
Read

Indicates that the actor has read the object.

I
Recipient

The object that can be a recipient of an activity.

c
Reject

Indicates that the actor is rejecting the object. The target and origin typically have no defined meaning.

c
Relationship

Describes a relationship between two individuals. The Relationship.subject and Relationship.object properties are used to identify the connected individuals.

c
Remove

Indicates that the actor is removing the object. If specified, the origin indicates the context from which the object is being removed.

c
TentativeAccept

A specialization of Accept indicating that the acceptance is tentative.

c
TentativeReject

A specialization of Reject in which the rejection is considered tentative.

c
Tombstone

A Tombstone represents a content object that has been deleted. It can be used in Collections to signify that there used to be an object at this position, but it has been deleted.

c
Travel

Indicates that the actor is traveling to target from origin. Travel is an IntransitiveObject whose actor specifies the direct object. If the target or origin are not specified, either can be determined by context.

f
traverseCollection

Traverses a collection, yielding each item in the collection. If the collection is paginated, it will fetch the next page automatically.

I
c
Undo

Indicates that the actor is undoing the object. In most cases, the object will be an Activity describing some previously performed action (for instance, a person may have previously "liked" an article but, for whatever reason, might choose to undo that like at some later point in time).

c
Update

Indicates that the actor has updated the object. Note, however, that this vocabulary does not define a mechanism for describing the actual set of modifications made to object.

c
View

Indicates that the actor has viewed the object.

webfinger

Exports WebFinger-related types and functions.

f
lookupWebFinger

Looks up a WebFinger resource.

x/denokv

KvStore & MessageQueue adapters for Deno's KV store

c
DenoKvMessageQueue

Represents a message queue adapter that uses Deno KV store.

c
DenoKvStore

Represents a key-value store implementation using Deno's KV store.

x/fresh

Fedify with Fresh

f
integrateFetchOptions

Create options for the Federation.fetch method to integrate with Fresh.

f
integrateHandler

Create a Fresh middleware handler to integrate with the Federation object.

x/hono

Fedify with Hono

T
ContextDataFactory

A factory function to create a context data for the Federation object.

f
federation

Create a Hono middleware to integrate with the Federation object.