Skip to content

feat: adds tangled.org repos fork count#243

Merged
danielroe merged 1 commit intonpmx-dev:mainfrom
fatfingers23:feat/tangled-fork-count
Jan 28, 2026
Merged

feat: adds tangled.org repos fork count#243
danielroe merged 1 commit intonpmx-dev:mainfrom
fatfingers23:feat/tangled-fork-count

Conversation

@fatfingers23
Copy link
Copy Markdown
Member

Hey,

I saw where the tangled.org repos were not showing the fork count so I thought I would make a PR to add that in.

  • fork counts are now gotten from constellation counting how many other repos reference that repo
  • star counts also come from constellation, or defaults back to the old way on failures. May notice this could be off with what is shown on the tangled repos page. This is because constellation and tangled's app could be counting them differently. I can revert the star count back to the original one to match what is shown on tangled.org for the repo since we still need to call the page and parse out the at://uri from the HTML. I think constellation's count may be more accurate, but I expect this may cause some confusing to have them different.

examples:

image

More details on atproto and how counts are gotten

Since tangled is powered by ATProtocol it's difficult to get the counts to things like 'follows', 'likes', or 'stars'. But thanks to constellation we can query their api to get the counts and other atproto records that link to atproto tangled repo record.

This link shows all the counts for each record type to my PDS MOOver tangled repo https://constellation.microcosm.blue/links/all?target=at%3A%2F%2Fdid%3Aplc%3Arnpkyqnmsw4ipey6eotbdnnf%2Fsh.tangled.repo%2F3lvugwwhskr22

@vercel
Copy link
Copy Markdown

vercel Bot commented Jan 28, 2026

The latest updates on your projects. Learn more about Vercel for GitHub.

Project Deployment Review Updated (UTC)
docs.npmx.dev Ready Ready Preview, Comment Jan 28, 2026 4:15pm
npmx.dev Ready Ready Preview, Comment Jan 28, 2026 4:15pm

Request Review

Copy link
Copy Markdown
Member

@danielroe danielroe left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

🍴

@danielroe danielroe added this pull request to the merge queue Jan 28, 2026
Merged via the queue into npmx-dev:main with commit a3ae197 Jan 28, 2026
10 checks passed
@fatfingers23 fatfingers23 deleted the feat/tangled-fork-count branch February 5, 2026 02:07
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants