Skip to main content

Module instance

Module instance 

Source
Expand description

One small ActivityPub instance, used by both roles: its local actors (each with an RSA key), WebFinger and actor documents, followers and an outbox per actor, fetching and caching remote actors, signed delivery, and verifying what arrives at an inbox. What the actors say comes from the model; this is the federation machinery around it.

Structs§

Inbound
An activity that arrived at an inbox with a valid signature.
Instance
LocalActor
Remote

Constants§

AS_CONTEXT
HTTP_TIMEOUT
MAX_DELIVERIES
Inboxes one post is delivered to at most.
MAX_DOCUMENT
A fetched document or an inbox POST is at most this long.
MAX_FOLLOWERS
MAX_OBJECTS
MAX_REMOTE_ACTORS
OUTBOX_KEPT
PUBLIC
SECURITY_CONTEXT

Functions§

escape_html
plain_text
HTML content as the model reads it: tags dropped, the common entities decoded.
summary
What the model is told about an activity.