ForgeFed explained: federation for code forges

Updated

ForgeFed is an extension of ActivityPub that lets code forges on different servers talk to each other, so you could star, follow, file an issue on, or send a merge request to a repository elsewhere without creating an account there. The specification is detailed but still marked “under construction”. As of December 2026, the only piece that works in a mainstream forge is federated stars in Forgejo, behind an experimental switch that is off by default.

At a glance

Item Status (checked 2026-12-02)
Spec Branch snapshot dated 18 June 2025, “still under construction”
Built on ActivityPub and Activity Streams, plus a ForgeFed JSON-LD vocabulary
Reference server Vervis (Haskell): pre-alpha, not for production
Forgejo Experimental, off by default: federated stars since v8.0; following remote users since v16.0, without a follow UI
Gitea A [federation] config section for NodeInfo and HTTP signatures; no forge features such as stars or issues documented
GitLab An experiment behind two feature flags: a Releases actor with no inbox; not on GitLab.com
Pagure ForgeFed plugin listed as unmaintained

This page sticks to the protocol. For the bigger question of why you still end up with one account per forge, and what to do about it meanwhile, see federated code hosting. For forge choices in general, start at the Git hosting hub.

What the spec defines

ForgeFed describes itself as “a federation protocol for software project hosting and collaboration platforms and components of such platforms”. It covers three layers.

Actors. In ActivityPub, an actor is anything with an inbox and an outbox. ForgeFed makes the parts of a forge into actors, not just the people:

  • Person, created by registering an account
  • Factory, which creates the other resource actors on a server
  • Repository, which publishes its own Push activities when commits land
  • TicketTracker (issues) and PatchTracker (merge requests); a repository points to the tracker that receives its merge requests
  • Project, Team and Organization for grouping people and components
  • newer additions: Workflow, Roadmap and ReleaseTracker

Objects. The vocabulary adds Ticket (used for both issues and merge requests), Patch, Commit, Branch, Milestone, Release, Review with review threads and code suggestions, and SshPublicKey.

Activities. ForgeFed defines only a handful of new verbs: Push, Grant, Revoke, Apply (merge a merge request), Assign, Resolve and Edit. Everything else reuses standard Activity Streams verbs. Starring a repository is a Like, removing the star is an Undo, and opening an issue is an Offer whose object is a Ticket addressed to the remote TicketTracker. A merge request is also an Offer, sent to a PatchTracker, carrying the patches or naming the source branch.

Access control. Permissions use object capabilities. A resource sends you a Grant; when you later act on it, you include the ID of that Grant in the activity’s capability field, and the resource checks it is still valid. Grants can be passed on down a delegation chain, narrowed at each step, and cancelled with Revoke.

How it builds on ActivityPub

ForgeFed does not replace ActivityPub; it is a vocabulary and a set of behaviors layered on top. Servers still deliver JSON activities to each other’s inboxes, sign requests with HTTP signatures, and discover each other the usual fediverse ways. A ForgeFed object simply declares both vocabularies in its JSON-LD context, as the spec shows:

"@context": [
  "https://www.w3.org/ns/activitystreams",
  "https://forgefed.org/ns"
]

That design is why Forgejo’s user-following feature can already exchange notes with Mastodon and GoToSocial: the social plumbing is shared, and only the forge-specific types are new. If ActivityPub itself is unfamiliar, read ActivityPub: well, it’s not that bad first.

Which forges implement what

Vervis is the reference implementation, developed under the ForgeFed project as a test bed for new spec features. It supports Git and Darcs repositories, issues, merge requests and federation with other ForgeFed software, and a 2022 project demo showed federated merge requests between Vervis servers. Its README says it is “still in pre-alpha phase and not ready for production use”. A January 2025 project post describes a new NLnet grant then about to be signed, covering user research and, most likely first, a possibly simplified implementation of the capability system.

Forgejo names ForgeFed federation as one of its primary goals, and its release notes show steady, small steps:

  • v8.0: federated stars. A repository can list the repositories it follows, such as the origin of a fork or mirror; starring the fork also sends a star to the origin. Federated unstar is still listed as in progress on the roadmap.
  • v13.0: Forgejo can send a user’s activities to remote federated servers, the first part of federated user following.
  • v16.0 (16 July 2026): Forgejo users can follow remote users and see their federated notes, and admins get views for federation hosts and users. The release notes warn there is no moderation support, no UI for following federated users, and that federation works only with Forgejo, Mastodon and GoToSocial.
  • v17.0 (15 October 2026): only internal federation fixes, including SSRF protection and restricted HTTP redirects.

Forgejo’s roadmap lists federated repository search, mentions, comments and finally pull requests as future work, with moderation and access control as the main blockers.

Gitea, the project Forgejo forked from, has a [federation] section in its configuration covering NodeInfo statistics and HTTP signatures, off by default. Its configuration docs describe no stars, issues or merge requests over federation. See Gitea vs Forgejo for how the two have diverged.

GitLab has an ActivityPub experiment, added in GitLab 16.5 behind the activity_pub and activity_pub_project flags. Its docs list a Releases actor whose outbox can be read, with no inbox yet. It is not available on GitLab.com or GitLab Dedicated and is marked not ready for production. The docs do not mention ForgeFed.

Pagure had a ForgeFed plugin, which the ForgeFed site now lists as unmaintained.

What works for you today, and what does not

Works, if both servers run Forgejo with federation enabled:

  • a star on your fork or mirror is passed to the upstream repository
  • following users across Forgejo, Mastodon and GoToSocial, in a rough form without a proper follow button

Works for experimenters: the Vervis demo instances listed in its README, where you can try the fuller protocol.

Does not work anywhere in a production forge:

  • opening issues or commenting on a repository hosted elsewhere
  • sending merge requests across servers
  • federated mentions and notifications
  • signing in once and contributing everywhere
  • anything involving GitHub

For real cross-project contribution today, you still need an account on each forge, or a mailing-list workflow with patches.

Trying federation on your own Forgejo

Federation is one setting in app.ini, documented in Forgejo’s configuration cheat sheet:

[federation]
ENABLED = true

Read the warning next to it first. Forgejo says enabling federation “will forever make the domain Forgejo is running on unavailable for federation with other software”, and its FAQ reserves the right to make breaking changes without notice. Use a spare subdomain, never the one that hosts your real work.

A federating server faces the internet by definition, so cover the basics:

  • serve it over TLS from a reverse proxy
  • update promptly; v16.0 and v17.0 both fixed security issues in the federation code
  • leave SIGNATURE_ENFORCED at its default of true so unsigned requests are refused
  • back up the database and repositories before every upgrade
  • keep the /admin area behind a VPN or an IP allowlist on the proxy

If you have not picked where to run it, what self-hosting involves covers the trade-offs.

Frequently asked questions

Is ForgeFed a finished standard?
No. The published spec is a branch snapshot dated 18 June 2025 and says it is still under construction. It is a community specification, not a W3C Recommendation like ActivityPub itself.
Can I open an issue or merge request on another Forgejo server with my own account?
Not yet. The ForgeFed spec describes both, and the Vervis reference server has demonstrated federated merge requests, but Forgejo's federation roadmap still lists federated comments and pull requests as future work.
Does federation work with GitHub?
No. GitHub is not among the implementations the ForgeFed project lists, so nothing in this article reaches github.com.
Should I turn on federation on my main Forgejo instance?
Probably not. Forgejo marks federation as experimental and warns that breaking changes could make the domain unusable for ActivityPub federation later. Test on a separate subdomain you can afford to lose.

Sources, checked December 2, 2026

  1. ForgeFed project homepage
  2. ForgeFed specification (branch snapshot, 18 June 2025)
  3. ForgeFed blog: Networked Actors
  4. ForgeFed blog: Vervis Demo 4, Federated Merge Requests (2022-09-29)
  5. Vervis repository and README (Codeberg)
  6. Forgejo FAQ: What about forge federation?
  7. Forgejo configuration cheat sheet: Federation section
  8. Forgejo federation roadmap
  9. Forgejo monthly report, June 2024 (federated stars merged)
  10. Forgejo release notes up to v9.0, including v8.0.0
  11. Forgejo v13.0.0 release notes
  12. Forgejo v13.0 release announcement
  13. Forgejo v16.0.0 release notes
  14. Forgejo v17.0 release announcement
  15. Forgejo v17.0.0 release notes
  16. Gitea configuration cheat sheet
  17. GitLab docs: Implement an ActivityPub actor

More in Git hosting