Axismundi S2S Bridge for ActivityPub
v0.1.6Jiwoon Kim · 2026年11月24日 上架
Connects Axismundi's actors, objects, and activities to the ActivityPub plugin for server-to-server federation.
- 正在使用
- 10 以下
- 评分
- 暂无
- 累计下载
- 69
- 最近更新
- 2026年11月24日
贡献者
This is the seam, and the only one. Axismundi Actors, Object Projections and Activities each
work without it and none of them talks to another server; this package is what puts them on
the network, by composing with the official ActivityPub plugin rather than by
reimplementing what that plugin already does well.
The division is worth stating precisely, because “which plugin sends it” and “which plugin
signs it” have different answers.
Receiving
Each local Actor advertises its own UUID-addressed Inbox route. POST uses the installed
official plugin’s request schema and HTTP Signature verifier on the original request;
it does not redirect a signed request. The verifier’s configured deferral policy still applies.
Existing official per-user and shared routes remain compatibility receivers and hand their
verified deliveries to the same Axismundi ledger. Official domain handlers remain dormant.
Actor Inbox GET requires the authenticated local user’s Account access relationship.
It returns private, non-cacheable receipt pages and removes blind recipient metadata.
Remote-principal authorization and mailbox read-state are not implemented.
An Activity that arrives twice is acknowledged twice and recorded once. The ledger is keyed by
the Activity’s own URI. Per-Actor receipt membership is stored separately and atomically.
Historical backfill is explicit and bounded, and cannot reconstruct recipients that were
never recorded in addressing or route metadata.
Sending
Here it is the other way round. This plugin opens the connection. When Axismundi
Activities commits an outbound Activity, one row is written to a transport queue owned by this
plugin, and a background worker POSTs the JSON-LD to each recipient inbox. The official
plugin signs it: the signing key reference and the key itself go out with the request, and
that plugin’s request-signing filter turns them into an HTTP Signature header.
The keys are the official plugin’s too. Nothing here generates, stores or copies private key
material; it is read from that plugin’s key store into memory for the length of one request,
and the queue holds the payload and the recipients and never a key.
Recipients come from the Activity itself: the actors it is addressed to, the actor a Follow or
Block is about, and — only when it addresses the public collection or the sender’s own
followers — that sender’s accepted followers. Each address is resolved to the inbox of an
Actor this site has already cached, and duplicates collapse, so one Activity reaches one inbox
once.
What is not guaranteed
Sending a Delete or an Undo tells other servers what happened. It cannot make them act on
it. A server holding your post may keep it, may have passed it on already, and may be
unreachable when the Delete goes out. Delivery is attempted on a bounded retry schedule and
then given up on. Federation is a request made to other people’s computers, not control over
them.
What this is not
Not a client, not an inbox implementation, and not a signature implementation — those belong
to the official plugin. Not the ledger either: Axismundi Activities stays authoritative, and a
delivery succeeding or failing changes the queue row rather than the record of what happened.
External services
This plugin sends your site’s public content to other servers on the Fediverse. That is what it
is for, so it is worth being exact about what leaves and when.
- What is sent. The ActivityStreams JSON-LD of an Activity your site produced — publishing,
editing, deleting, following, liking, announcing, replying — as an HTTPPOSTto each
recipient’s inbox, signed with your Actor’s key so the receiving server can tell it really
came from you. As with any HTTP request, the receiving server also learns your site’s IP
address. - Who receives it. The servers of the actors the Activity is addressed to, and, for a public
post, the servers of your accepted followers. Nobody else is contacted. A non-public Activity
is kept out of delivery by the ledger’s own public projection rules. - When. On a background task shortly after the Activity is recorded, never while somebody is
waiting for a page. Failures are retried on a bounded, widening schedule and then left in a
dead-letter state an administrator can inspect and retry once. - What is stored here. The queue row keeps the payload that was sent, the inboxes still to
try, the attempt count, and a short sanitized description of the last failure. It never keeps
key material.
There is no Axismundi service. Nothing is sent to this plugin’s author and no central server
is involved. Every server your site talks to is somebody else’s, reached because somebody there
follows you or because you addressed them, and each is run under its own terms of service and
privacy policy. What they do with what you send — how long they keep it, who they show it to,
whether they honour a later Delete — is theirs to decide, not yours and not this plugin’s.
Receiving is described above: the official ActivityPub plugin owns the inbox and the signature
check, and this plugin only handles what that plugin has already verified.