Linux 软件免费装

Axismundi S2S Bridge for ActivityPub

开发者 kimjiwoon
更新时间 2026年12月1日 16:38
PHP版本: 8.1 及以上
WordPress版本: 7.1
版权: GPL-3.0-or-later
版权网址: 版权信息

标签

activitypub compatibility adapter federation

下载

0.1.6 0.2.0

详情介绍:

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.

安装:

ActivityPub federation requires pretty permalinks. Inbox signature verification does not support plain ?rest_route= URLs.
  1. Install and activate the ActivityPub plugin, then Axismundi Actors, Axismundi Object Projections and Axismundi Activities.
  2. Upload this plugin folder to /wp-content/plugins/, or install it through Plugins > Add New, then activate it.
  3. Give your Actor a public status in Users > Actor Profile. An Actor whose signing key cannot yet be published advertises no inbox and sends nothing, deliberately: a remote server that fetched it during that window would cache a keyless document and reject every signature afterwards.
  4. The transport queue is readable, read-only, from this plugin's administration screen.
Activation creates this plugin's own delivery table. Nothing is contacted on the internet during installation. If you installed a prerelease under the previous folder name, deactivate that copy before activating this one. The new folder is a separate plugin entry in WordPress; it uses the same settings and delivery table. Do not activate both copies together.

更新日志:

0.2.0 0.1.6 0.1.5 0.1.4