Testing the ActivityPub Client API

The toolkit is a web-based development tool for testing and debugging ActivityPub servers that implement the C2S API, built as a Vue 3 single-page application. It speaks to the target server directly over that API. No intermediary service holds the credentials or rewrites the requests, so each request the tool issues is one the server would receive from any other C2S client, which is what makes its results meaningful. Apart from an optional sidecar for diagnosing CORS issues, the application has no backend of its own: the production build is a set of static files that can be served from anywhere.

ActivityPub Client API: A Way Forward

The ActivityPub Client-to-Server (C2S) protocol was envisioned as a cornerstone of the decentralized social web, along with the Server-to-Server (S2S) protocol. Standardized by the W3C in 2018, C2S defines how user-facing applications, such as mobile apps or web clients, and bots should interact with social servers using Activity Streams 2.0 and JSON-LD. In theory, it … Read more

Mastodon