ActivityPub developer resources
To build ActivityPub software you need five specs (ActivityPub, Activity Streams 2.0 with its Vocabulary, WebFinger, HTTP Signatures and NodeInfo), the Fediverse Enhancement Proposals that fill the gaps, a library in your language, and a way to test against real servers. This page lists each one with its official link, and for every library it states the last activity on its repository as of 2 December 2026. If you want the concepts first, read how ActivityPub works.
At a glance
| Need | Start here |
|---|---|
| Core protocol | ActivityPub (W3C Recommendation, January 2018) |
| Data format and vocabulary | Activity Streams 2.0 and Activity Vocabulary (W3C, May 2017) |
| Handle to actor lookup | WebFinger, RFC 7033 |
| Request signing | draft-cavage HTTP Signatures, plus RFC 9421 |
| Server metadata | NodeInfo |
| Extensions and conventions | FEPs on Codeberg |
| TypeScript library | Fedify |
| Rust library | activitypub-federation (Lemmy) |
| Go library | go-ap, or GoToSocial’s go-fed fork |
| Quick debugging | Fedify CLI, BrowserPub |
| Conformance tests | activitypub-testing, FediTest |
| Discussion | SocialHub, W3C Social Web groups, FEP repository |
The specifications
| Spec | Status | Why you need it |
|---|---|---|
| ActivityPub | W3C Recommendation, 23 January 2018 | Actors, inboxes, outboxes, delivery, side effects |
| Activity Streams 2.0 | W3C Recommendation, 23 May 2017 | The JSON(-LD) data model every message uses |
| Activity Vocabulary | W3C Recommendation, 23 May 2017 | The types: Note, Person, Follow, Like, Announce and the rest |
| WebFinger, RFC 7033 | IETF Standards Track, September 2013 | Turning alice@example.org into an actor URL |
| draft-cavage HTTP Signatures | Expired draft, last revision 12 (October 2019) | The signing scheme most servers still send |
| RFC 9421, HTTP Message Signatures | IETF Standards Track, February 2024 | The standardized successor to the draft |
| NodeInfo | Community protocol, schema 1.0 to 2.1 | Software name, version and usage numbers for a server |
Some practical notes on reading them:
- ActivityPub has two halves. The server-to-server federation protocol is what the fediverse runs on. The client-to-server half is rarely implemented, and the spec lets an implementation support just one. Errata and editing happen in the w3c/activitypub repository on GitHub, whose issue tracker had more than 240 open issues on 2 December 2026.
- The W3C is maintaining these again. A new Social Web Working Group was chartered from 15 January 2026 to 31 January 2028 to maintain ActivityPub, Activity Streams and the Vocabulary, with revised Recommendations targeted for Q3 2026. As of 2 December 2026, the group’s publications page still lists the 2017 and 2018 versions as current.
- WebFinger and HTTP Signatures are not in ActivityPub, but you cannot interoperate with Mastodon without them. Mastodon’s
FEDERATION.mdlists both as required extensions. - Plan for both signature schemes. Mastodon’s security documentation says 4.4.0 added opt-in verification of RFC 9421 signatures and 4.5.0 turned it on by default. The same page says draft-cavage remains necessary for compatibility, and it recommends implementers add RFC 9421, starting with verification.
- NodeInfo discovery starts at
/.well-known/nodeinfo, which returns links whoserelnames the schema version. A client follows the highest version it supports. FEP-f1d5, which became FINAL in June 2023, recommends that fediverse software implement it.
Fediverse Enhancement Proposals
The FEP repository on Codeberg is where the fediverse writes down conventions the W3C specs do not cover. Each proposal has a status of DRAFT, FINAL or WITHDRAWN, and the README table lists every one with its dates. The repository had commits on 1 December 2026, and it links to a static site that lists the proposals.
FEPs worth reading early:
- FEP-67ff (FEDERATION.md): asks every project to publish a file stating what it implements. Reading other projects’
FEDERATION.mdfiles is the fastest way to learn what they expect. - FEP-f1d5 (NodeInfo): why and how to publish NodeInfo.
- FEP-8fcf (followers collection synchronization) and FEP-521a (actor public keys): both appear in Mastodon’s
FEDERATION.md. Mastodon implements the first and, since 4.7, accepts keys published the second way without publishing its own keys that way. - FEP-8b32 (Object Integrity Proofs): a DRAFT for signing objects themselves, so a signature survives forwarding. Since 4.7, Mastodon verifies these proofs but does not generate them.
- FEP-044f (quote posts): Mastodon’s ActivityPub page says its remote quote handling follows this proposal, and its
FEDERATION.mdlists it as supported.
Libraries and frameworks by language
Every row below comes from the project’s own repository, opened on 2 December 2026. “Last activity” means the most recent commit or release visible there.
| Library | Language | Licence | Last activity (checked 2026-12-02) |
|---|---|---|---|
| Fedify | TypeScript | MIT | Commit 2 December 2026; release 2.4.6, 17 November 2026 |
| activitypub-federation | Rust | AGPL-3.0 | Commit 21 November 2026; release 0.7.0-beta.14, 27 October 2026 |
| go-ap/activitypub | Go | MIT | Commit 2 December 2026 |
| superseriousbusiness/activity | Go | BSD-3-Clause | Commit 29 January 2026 |
| bovine | Python | MIT | Commit 24 September 2025 (milestone 0.5.19) |
| ActivityPhp | PHP | MIT | Commit 17 October 2025 |
| WordPress ActivityPub plugin | PHP (WordPress) | MIT | Commit 2 December 2026; release 9.5.0, 30 November 2026 |
What each one is good for:
- Fedify describes itself as an “ActivityPub server framework in TypeScript”. It runs on Node.js, Bun and Deno, and lists integrations for frameworks including Express, Fastify, Hono, Next.js, Nuxt, SvelteKit, Astro and NestJS. If your project is already in JavaScript or TypeScript, it is the obvious place to start.
- activitypub-federation is a “high-level framework for ActivityPub federation in Rust” from the Lemmy organization. Lemmy’s own
Cargo.tomldepends on version 0.7.0-beta.14 with theactix-webfeature. It is AGPL-3.0, which matters if you plan to ship a closed-source service. - go-ap/activitypub provides Go types for the Activity Vocabulary and the ActivityPub extensions. Its discussion and patch mailing lists live on SourceHut.
- superseriousbusiness/activity is GoToSocial’s fork of go-fed/activity. Its README says it was forked because go-fed “is no longer maintained”. Pick it if you want go-fed’s code-generated vocabulary with someone still fixing it.
- bovine is a Python library “for building Fediverse applications”. Its last commit was more than a year before this check, so test it against current servers before you rely on it.
- ActivityPhp is an ActivityPub library for PHP 8.0 and later. Its most recent commits (October 2025) added PHP 8.4 support.
- WordPress ActivityPub plugin adds ActivityPub federation to a WordPress site. It is published by Automattic, and wordpress.org lists it with more than 6,000 active installations.
Mastodon is not a library, but its ActivityPub documentation is the reference most implementers read. It documents the activities Mastodon accepts, its toot: extension terms and its known quirks, such as a wrong schema: namespace URI. For curated lists that go beyond this page, see delightful fediverse development on Codeberg (last commit 23 July 2026) and the Fediverse.Party developer tools directory.
Dormant projects you will still see linked
Older tutorials point to these. Their repositories are not archived, but nobody has committed to them in a long time:
- go-fed/activity (Go, BSD-3-Clause): last commit 19 January 2022. Use the GoToSocial fork above instead.
- ActivityPub-Express (apex) (Node.js, MIT): last commit 12 February 2024, for version 4.4.2.
- Vocata (Python, a vocabulary-agnostic ActivityPub server): last commit 14 September 2023.
Dormant does not mean broken, but you would be on your own when Mastodon changes something, such as the move to RFC 9421 signatures.
Testing and debugging tools
There is no current official conformance suite. The 2026 Working Group charter lists “a test suite and implementation report” as a planned non-normative document. The activitypub.rocks home page now points developers to community tools instead.
Fedify CLI
The Fedify command-line tool is useful whatever language your server is written in. Install it with npm, as the Fedify CLI documentation shows (Homebrew, Scoop, mise and Deno installs are also listed there):
npm install -g @fedify/cli
Then look up actors, objects, WebFinger and NodeInfo as a remote server would see them:
fedify lookup @alice@example.org
fedify lookup --authorized-fetch @alice@example.org
fedify webfinger @alice@example.org
fedify nodeinfo example.org
--authorized-fetch signs the request, which you need for servers running Mastodon’s secure mode. fedify inbox starts a temporary inbox with a one-time actor and logs every activity delivered to it, so you can see exactly what your server sends:
fedify inbox
By default fedify inbox exposes that throwaway inbox through a short-lived public HTTPS tunnel. Use --no-tunnel to keep it local, and stop it when you are done.
Conformance and interoperability
- activitypub-testing from socialweb.coop runs test cases against an actor. Its README says you can run it with npx without installing it, and tests an actor with
activitypub-testing test actorfollowed by the actor’s URL. It is AGPL-3.0, and its last commit was 9 October 2024, so the test cases may lag current practice. - FediTest tests WebFinger, ActivityPub and HTTP Signatures between real implementations. Its site lists version 0.5, released 19 December 2024, and warns not to expect perfection. The last commit on its GitHub
developbranch was 29 December 2024. - BrowserPub is a web browser for ActivityPub objects with a JSON debug view. It describes itself as in early development.
Lookups and network data
- FediDB lists ActivityPub software by server count and links to a NodeInfo explorer and a developer API. It is handy for finding which servers run the software you need to test against.
- WebFinger.net collects the WebFinger spec, code links and link relations.
- The handbook’s handle lookup tool shows how a handle resolves to an actor, and the guide to checking a fediverse instance covers NodeInfo and server health from the operator side.
A test server of your own
Sooner or later you will want a real instance of the software you federate with, on a real domain with valid TLS, because RFC 7033 requires WebFinger queries to use HTTPS. Treat it like any internet-facing server: keep it updated, back it up, and keep admin panels behind a VPN, SSH tunnel or IP allowlist. The fediverse apps directory lists what you can install, and choosing between a VPS, a home server and managed hosting helps you decide where to put it.
Where discussion happens
- SocialHub: a Discourse forum where ActivityPub developers coordinate. FEP discussion threads normally live in its ActivityPub category.
- FEP repository: you propose a FEP as a pull request after opening a SocialHub topic. The issue tracker is for the FEP process itself.
- W3C Social Web Working Group: formal maintenance of the specs. Its charter says technical work happens on the public-socialweb mailing list and in GitHub issues, and its meetings are not open to the public, though minutes are published.
- W3C Social Web Incubator Community Group: open to anyone. It incubates new work, such as a groups task force and the LOLA account-portability draft. It posted on 13 November 2026.
- Fediverse Developer Network: a community site with project, practice and reference pages plus a Matrix space. It says it is not a standards body, and its last listed meeting was in June 2024.
- Project trackers: the issue trackers of Mastodon, Lemmy, Fedify and the other projects above are where interoperability bugs actually get fixed.
A sensible order to work in
- Read the ActivityPub spec’s server-to-server sections and Mastodon’s ActivityPub page side by side.
- Implement WebFinger and an actor document, then check both with
fedify lookup. - Add draft-cavage signing and verification, then RFC 9421 verification.
- Deliver a Follow to
fedify inboxand to a test account on a real server. - Publish NodeInfo and a
FEDERATION.mdfile, so others know what you support.
For the rest of the handbook’s fediverse guides, start at the fediverse hub.
Frequently asked questions
- Which ActivityPub library should I start with?
- Use the one written in the language your project already uses. As of 2 December 2026, Fedify (TypeScript), activitypub-federation (Rust, used by Lemmy) and go-ap (Go) all had commits within the past month. In PHP, the WordPress ActivityPub plugin is the most active option if your project runs on WordPress.
- Is go-fed/activity still maintained?
- No. Its GitHub repository has had no commits since 19 January 2022. GoToSocial's developers maintain a fork on Codeberg, superseriousbusiness/activity, which describes go-fed as no longer maintained.
- Is there an official ActivityPub test suite?
- Not a current one. The 2026 Social Web Working Group charter lists a test suite and implementation report among its planned documents. Until then, activitypub.rocks points to community tools such as activitypub-testing, FediTest and BrowserPub.
- Do I need RFC 9421 or the older HTTP Signatures draft?
- Both, for now. Mastodon's documentation says the draft-cavage scheme is still needed for compatibility with older versions and other software, and asks implementers to add RFC 9421 support, starting with verification.
- Where do I propose a fediverse extension?
- Write a Fediverse Enhancement Proposal. You open a discussion topic on SocialHub, then submit the proposal as a pull request to the FEP repository on Codeberg.
Sources, checked December 2, 2026
- ActivityPub, W3C Recommendation
- Activity Streams 2.0, W3C Recommendation
- Activity Vocabulary, W3C Recommendation
- RFC 7033: WebFinger
- draft-cavage-http-signatures (expired Internet-Draft)
- RFC 9421: HTTP Message Signatures
- NodeInfo protocol
- FEP-f1d5: NodeInfo in Fediverse Software
- FEP-8b32: Object Integrity Proofs
- Fediverse Enhancement Proposals repository (Codeberg)
- W3C Social Web Working Group
- W3C Social Web Working Group charter
- W3C Social Web Working Group publications
- w3c/activitypub repository
- W3C Social Web Incubator Community Group
- Mastodon documentation: ActivityPub
- Mastodon documentation: security (HTTP Signatures)
- Mastodon FEDERATION.md
- Fedify repository
- Fedify releases
- Fedify CLI documentation
- activitypub-federation-rust repository
- activitypub-federation-rust commits
- Lemmy Cargo.toml
- go-ap/activitypub repository
- go-ap/activitypub commits
- superseriousbusiness/activity (go-fed fork, Codeberg)
- go-fed/activity commits
- bovine repository (Codeberg)
- Vocata repository (Codeberg)
- landrok/activitypub (ActivityPhp) commits
- activitypub-express commits
- WordPress ActivityPub plugin
- WordPress ActivityPub plugin 9.5.0 release
- activitypub.rocks
- activitypub-testing (socialweb.coop)
- FediTest
- FediTest repository commits
- BrowserPub
- FediDB software list
- WebFinger.net
- SocialHub forum
- Fediverse Developer Network
- delightful fediverse development (Codeberg)
- Fediverse.Party developer tools