NewsCrawler.org

Tangled, a federated code forge on the AT Protocol, ships a major release

Tangled, a federated code forge on the AT Protocol, ships a major release
Image: tangled.org

Tangled, a code forge built on the AT Protocol[1], has shipped a major release that the team describes as the first truly federated code forge: developers can host code on their own servers and still collaborate with everyone else on the network. Self-hosting can cover just parts, such as Git hosting or CI runners, or the whole stack including the API server and UI, and users can also build extensions, run custom knot[2] servers or host the ultralight API server to assemble their own forge.

Until now the web UI and backend were one Go monolith, the appview, which handled AT Protocol indexing, caching, off-protocol data and UI rendering on a single SQLite database on a medium-sized server in Sweden, a setup that worked well mainly for users within about 50–100 ms of Sweden. The new architecture pairs a standalone Svelte frontend deployed at the edge with bobbin, a diskless, fully in-memory indexer service written in Rust and running in 11+ regions. The knot server has been rewritten in Rust as knot2, bundling a custom Git server and an SSH server in a single binary. Issues, pull requests, comments, reactions and labels now live on the knot next to the code as collaborative objects (COBs)[3], chains of Git objects inside the repository itself, which the team says makes projects maximally portable.

All records move to a new set of lexicons under org.tangled.*, replacing the old sh.tangled.* records. Every record created or edited on a knot also produces an org.tangled.graph.attestation record in the user's own PDS[4], pointing at that exact version, so both sides can verify each other; self-hosters must upgrade their knots to v1.20.0. Organization accounts are now real AT Protocol accounts with their own handle in the form <name>.tngl.sh, hosted on a Tranquil PDS instance, and the overhauled PR flow brings stacked PRs to everyone, with interdiffs between versions for Git users and between individual changes for Jujutsu users. Private repos, a CLI, SDKs for different languages and skills for agents follow over the next few weeks.

Read the original tangled.orgDiscussion

Discussion

Commenters largely welcomed the release, and a Tangled co-founder answered questions in the thread. One asked about SHA256 support, saying they have SHA256 repositories and do not want to rewrite history, especially as Git 3 is moving to SHA256; another asked whether private repos are possible when self-hosted. One developer described plans to move a side project from self-hosted Gitea to Tangled while keeping a GitHub mirror for discoverability and backups.

Sources

Published: First seen: Читать по-русски

Open as a page