Skip to content

Add Tangled.org support #13

Closed
Closed

Description

@andrew

Tangled is a decentralized code collaboration platform built on AT Protocol. It uses XRPC endpoints rather than REST, and identifies users by DID rather than username. No CLI exists yet, but the API is usable.

API docs: https://docs.tangled.org/
Source: https://tangled.org/tangled.org/core

Service mapping

Forge Service Tangled Support Notes
RepoService Good repo.create, repo.delete, repo.tree, repo.branches, repo.tags, repo.languages
IssueService Good repo.issue record + issue.comment + issue.state records
PullRequestService Partial repo.pull record + pull.comment + pull.status + repo.merge/repo.mergeCheck. Patch-based model.
BranchService Good repo.branches, repo.branch, repo.deleteBranch
SecretService Full repo.addSecret, repo.listSecrets, repo.removeSecret
CIService Partial pipeline records + pipeline.status + pipeline.cancelPipeline
LabelService Partial label.definition + label.op -- different model from other forges
MilestoneService None No equivalent
DeployKeyService None SSH keys are per-user on knot servers, not per-repo
ReleaseService None Has repo.artifact for binary uploads per tag but no release notes/drafts

Challenges

  • Identity: Uses DIDs (did:plc:...) instead of usernames. Need to decide whether to accept DIDs directly as the owner string or add handle resolution (e.g. alice.bsky.social -> DID).
  • No sequential issue/PR numbers: AT Protocol uses TID keys. Our interfaces take number int.
  • XRPC protocol: Need a raw HTTP client against /xrpc/sh.tangled.* endpoints. The Go types in api/tangled/ in their core repo are a good reference but depend on the indigo AT Protocol library.
  • URL parsing: tangled.org/did:plc:xyz/repo -- the colon in DIDs will need special handling in ParseRepoURL.
  • PR model: Patch-based rather than branch-based. Cross-repo PRs are the default.

Detection

Check for /xrpc/sh.tangled.knot.version endpoint or appview response headers.

Activity

  1. added
    enhancement
    on Mar 10, 2026
  2. added
    help wanted
    on May 9, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementhelp wanted

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions