ForgeFed and federated code forges: Difference between revisions

No edit summary
Tighten wikitext layout (no content changes)
 
Line 3: Line 3:
== Why federation matters for code ==
== Why federation matters for code ==
On 23 October 2020 the Recording Industry Association of America sent GitHub a takedown notice under the Digital Millennium Copyright Act targeting youtube-dl, a popular video download tool, and GitHub disabled the repository.<ref name="riaa" /> GitHub reinstated it on 16 November 2020 after receiving new information, and among its policy changes it promised that owners of disabled repositories would be able to export their issues and pull requests where legally possible.<ref name="ghblog" />
On 23 October 2020 the Recording Industry Association of America sent GitHub a takedown notice under the Digital Millennium Copyright Act targeting youtube-dl, a popular video download tool, and GitHub disabled the repository.<ref name="riaa" /> GitHub reinstated it on 16 November 2020 after receiving new information, and among its policy changes it promised that owners of disabled repositories would be able to export their issues and pull requests where legally possible.<ref name="ghblog" />
That promise points to a structural fact. Git is distributed, so every clone of youtube-dl still held the full code history. The issues, reviews and discussion around that code, however, lived only on the platform. Codeberg makes a similar argument in its mission statement: millions of volunteers produce free software that ends up hosted on closed commercial platforms, and it cites the fate of SourceForge as a warning.<ref name="codeberg" />
<!-- Last checked: November 2026 -->
<!-- Last checked: November 2026 -->
That promise points to a structural fact. Git is distributed, so every clone of youtube-dl still held the full code history. The issues, reviews and discussion around that code, however, lived only on the platform. Codeberg makes a similar argument in its mission statement: millions of volunteers produce free software that ends up hosted on closed commercial platforms, and it cites the fate of SourceForge as a warning.<ref name="codeberg" />
== How ForgeFed works ==
== How ForgeFed works ==
ForgeFed is an extension of ActivityPub, the protocol that the World Wide Web Consortium published as a Recommendation on 23 January 2018 and that underlies the fediverse.<ref name="ap" /> In ActivityPub every actor has an inbox for receiving messages and an outbox for sending them. ForgeFed extends that idea so that repositories and issue trackers have inboxes too. The project compares it to email, except that the messages are structured JSON objects instead of free text.<ref name="ffhome" />
ForgeFed is an extension of ActivityPub, the protocol that the World Wide Web Consortium published as a Recommendation on 23 January 2018 and that underlies the fediverse.<ref name="ap" /> In ActivityPub every actor has an inbox for receiving messages and an outbox for sending them. ForgeFed extends that idea so that repositories and issue trackers have inboxes too. The project compares it to email, except that the messages are structured JSON objects instead of free text.<ref name="ffhome" />
Line 12: Line 12:


Vervis is the reference implementation, used as a demonstration platform for testing the protocol. The ForgeFed site lists Forgejo as implementing federation and notes that a ForgeFed plugin for the Pagure forge is unmaintained.<ref name="ffhome" />
Vervis is the reference implementation, used as a demonstration platform for testing the protocol. The ForgeFed site lists Forgejo as implementing federation and notes that a ForgeFed plugin for the Pagure forge is unmaintained.<ref name="ffhome" />
== Where Forgejo stands ==
== Where Forgejo stands ==
Codeberg e.V. is a registered nonprofit association in Berlin whose members elect its board. Its site runs Forgejo, a hard fork of Gitea that Codeberg has backed as an umbrella organization since 2022.<ref name="codeberg" />
Codeberg e.V. is a registered nonprofit association in Berlin whose members elect its board. Its site runs Forgejo, a hard fork of Gitea that Codeberg has backed as an umbrella organization since 2022.<ref name="codeberg" />
Line 19: Line 18:


Federation is disabled by default. In September 2026 a security report described how Forgejo's inbox handlers accepted the actor named in a message body without checking that it matched the key that signed the request, which allowed forged stars and follows on instances with federation turned on. In the discussion that followed, stricter signature checks were proposed as a mitigation.<ref name="sec" />
Federation is disabled by default. In September 2026 a security report described how Forgejo's inbox handlers accepted the actor named in a message body without checking that it matched the key that signed the request, which allowed forged stars and follows on instances with federation turned on. In the discussion that followed, stricter signature checks were proposed as a mitigation.<ref name="sec" />
== What federation does not solve ==
== What federation does not solve ==
Federation moves messages between servers, but it does not replicate or preserve them. Under ForgeFed an actor hosts its own child objects, so a project's issues still live on its home instance.<ref name="ffspec" /> If that instance shuts down without a mirror, its history goes with it, and every instance remains a server that someone must fund and maintain.
Federation moves messages between servers, but it does not replicate or preserve them. Under ForgeFed an actor hosts its own child objects, so a project's issues still live on its home instance.<ref name="ffspec" /> If that instance shuts down without a mirror, its history goes with it, and every instance remains a server that someone must fund and maintain.
Line 26: Line 24:


Other projects take a different path. Radicle is a peer-to-peer forge in which repositories are replicated across peers, and issues, discussions and patches are stored as signed Git objects instead of being hosted by one server.<ref name="radicle" /> Pairing federation with a permanent archive is another option, explored in [[Permanent wiki and Git forges on AO]].
Other projects take a different path. Radicle is a peer-to-peer forge in which repositories are replicated across peers, and issues, discussions and patches are stored as signed Git objects instead of being hosted by one server.<ref name="radicle" /> Pairing federation with a permanent archive is another option, explored in [[Permanent wiki and Git forges on AO]].
== Practical steps today ==
== Practical steps today ==
Projects that want less platform risk can act now. They can host on Codeberg or another Forgejo instance, keep mirrors on more than one forge, export issues on a schedule, and keep federation for test instances until it matures. Developers interested in the protocol can read the ForgeFed specification and try Vervis, and the Forgejo federation repository publishes its architecture and threat analysis openly for review.
Projects that want less platform risk can act now. They can host on Codeberg or another Forgejo instance, keep mirrors on more than one forge, export issues on a schedule, and keep federation for test instances until it matures. Developers interested in the protocol can read the ForgeFed specification and try Vervis, and the Forgejo federation repository publishes its architecture and threat analysis openly for review.
== Discussion questions, essay ideas, and learning related AI prompt ideas ==
== Discussion questions, essay ideas, and learning related AI prompt ideas ==
* Why did the youtube-dl code survive its takedown more easily than its issues and discussions?
* Why did the youtube-dl code survive its takedown more easily than its issues and discussions?
Line 39: Line 35:
* Design a backup routine that would let a small open source project survive the loss of its forge.
* Design a backup routine that would let a small open source project survive the loss of its forge.
* How could federated forges and a permanent storage network divide the work of live collaboration and long-term preservation?
* How could federated forges and a permanent storage network divide the work of live collaboration and long-term preservation?
== Readings from Wikipedia ==
== Readings from Wikipedia ==
* [[Wikipedia:ActivityPub|ActivityPub]]
* [[Wikipedia:ActivityPub|ActivityPub]]
Line 53: Line 48:
* [[Wikipedia:Youtube-dl|Youtube-dl]]
* [[Wikipedia:Youtube-dl|Youtube-dl]]
* [[Wikipedia:Censorship of GitHub|Censorship of GitHub]]
* [[Wikipedia:Censorship of GitHub|Censorship of GitHub]]
== See also ==
== See also ==
{{Col}}
{{Col}}
Line 72: Line 66:
* [[Distributed technology]]
* [[Distributed technology]]
{{colend}}
{{colend}}
== External links ==
== External links ==
* [https://forgefed.org/ ForgeFed project site]
* [https://forgefed.org/ ForgeFed project site]
Line 81: Line 74:
* [https://ideawaza.com/index.php?search=federation&fulltext=Search Search this wiki for federation]
* [https://ideawaza.com/index.php?search=federation&fulltext=Search Search this wiki for federation]
* [https://ideawaza.com/index.php?search=Git+forge&fulltext=Search Search this wiki for Git forge]
* [https://ideawaza.com/index.php?search=Git+forge&fulltext=Search Search this wiki for Git forge]
== References ==
== References ==
<references>
<references>
Line 95: Line 87:
<ref name="radicle">{{cite web |url=https://radicle.xyz/ |title=Radicle: the sovereign forge |publisher=Radicle |access-date=15 November 2026}}</ref>
<ref name="radicle">{{cite web |url=https://radicle.xyz/ |title=Radicle: the sovereign forge |publisher=Radicle |access-date=15 November 2026}}</ref>
</references>
</references>
[[Category:Decentralization]]
[[Category:Decentralization]]
[[Category:Free software]]
[[Category:Free software]]
[[Category:Open source software]]
[[Category:Open source software]]
[[Category:Software]]
[[Category:Software]]