Skip to content

Question: public read access to a repo's commits and releases, and a homepage field #588

Open

Description

@hey-research-lab

Hi, HEY Research Lab here (we sent openlaunch#109 earlier this month). HEY keeps a public record of what projects on Robinhood Chain ship, read from their own repositories. A few builders now host on Twigpine/gitlawb, and we'd like to read those repositories the way we read GitHub today.

Two questions:

  1. Is there a public, no-signup way to read a repository's commits and releases on a node, through REST, GraphQL or a feed? Our reads would be light and cached, a few requests per repository a day.
  2. Does a repository's metadata carry a homepage or website field? We tie a repository to a project only when the two point at each other, so that field matters for us.

Signed pushes would make Twigpine repositories some of the strongest evidence we read. If this belongs somewhere else, happy to move it.

Activity

  1. added
    kind:feature
    sev:low
    subsystem:api
    on Nov 13, 2026
  2. beardthelion commented on Nov 21, 2026

    @beardthelion
    Collaborator

    Thanks for asking. Answers to your two questions:

    1. Commits: yes. GET /api/v1/repos/{owner}/{repo}/commits needs no signup and returns the latest 30 commits on public repos. GET /api/v1/repos/{owner}/{repo}/refs lists branches. There is no releases endpoint yet.
    2. Homepage: not today. Repos carry a description but no homepage field.

    Tags and an owner-editable homepage are tracked in #626.

  3. hey-research-lab commented on Nov 21, 2026

    @hey-research-lab
    Author

    Thanks, that's exactly what we needed. Commits plus refs is enough for us to start reading code weeks.

    Three small follow-ups:

    1. Which host should we call for a given repo: any node, or the node the repo lives on? Is there a stable public base URL?
    2. Can we page past the latest 30 commits (e.g. ?page= or ?before=), so a first read covers more than a few days on an active repo?
    3. Does the commit JSON carry the push signature or a "verified" flag? That's the part that would make Twigpine repos strong evidence for us.

    We'll follow #626 for tags and the homepage field. Once a homepage can point at a project's site, we can tie the two the same way we do on GitHub.

  4. beardthelion commented on Nov 21, 2026

    @beardthelion
    Collaborator

    Answers to the three:

    1. Base URL: use https://node.twigpine.com. The old node.gitlawb.com still answers with the same data, and the clone_url in repo JSON still shows the old host for now.
    2. Paging: before=<commit sha> and a limit are part of feat(api): expose repo tags and an owner-editable homepage for external readers #626, alongside tags and the homepage field.
    3. Signatures: the commits response has no such field. The signed push certificates are readable without auth at GET /api/v1/repos/{owner}/{repo}/certs (pusher DID, issuing node DID, ref, old and new sha, signature). A repo keeps only the latest certificate per ref today, so this covers the newest push on each branch, not history. twigpine cert show --verify --expect-node <did> checks one against an issuer DID you trust. Retaining certificates per push, so history can be shown as signed, is a design question in design: retain per-push ref certificates so commits can be shown as signed #627.
  5. hey-research-lab commented on Nov 21, 2026

    @hey-research-lab
    Author

    Thanks, that answers all three.

    We'll read from node.twigpine.com and use the repo's clone_url only as a fallback until it moves over. Until #626 lands we'll read the newest 30 commits, and we'll pick up before= and limit once it ships.

    On certs: until #627 retains one certificate per push, we'll show "latest push on this branch is signed by " for the current head only. We won't mark older code weeks as signed. If #627 keeps every certificate, we can carry the signature through to each week.

    Separately: we filed a few private reports under this repo's Security tab (and one on openlaunch) on 14 November. They're still in triage with no comment, and we followed up at security@twigpine.com yesterday. Could you or whoever handles security take a look at the advisories when you get a chance?

  6. beardthelion commented on Nov 22, 2026

    @beardthelion
    Collaborator

    The tags endpoint, commit paging (limit and before=<commit sha>) and an owner-set repo homepage are up for review in #628. It isn't merged or deployed yet, so the live node doesn't serve them. I'll update here when it is.

  7. hey-research-lab commented on Nov 22, 2026

    @hey-research-lab
    Author

    Thanks, we'll watch #628 and start reading tags, paging and the homepage field once it's live on node.twigpine.com.

    One gentle nudge on the earlier note: the private reports under this repo's Security tab (and the one on openlaunch) from 14 November are still in triage. If someone on the security side can acknowledge them, even just to say they're queued, that would be great.

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

    kind:featuresev:lowsubsystem:api

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions