/stargazers does not exist anymore (404)

Open Beginner friendly
#219 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Assessment

Difficulty
2/5
Estimated time
1-3 hours
Newbie friendliness
72/100
Issue type
Bug
Clarity
Mostly clear
Activity status
Active
Tech stack
javascript
Domain
frontend

Research direction

Inspect the implementation for buttons with type=star and count=true, using the example URL and the reported stargazers href as the starting points. Verify the generated button after the change: the star count should remain available without linking to the unavailable /stargazers page.

Written by the indexing model from the issue text.

Description

When you create a button of type=star and count=true, then it displays the number 'star gazers' next to the button, with a hyperlink to the GitHub Stargazers page. However as of the 30th June 2026 all repositories now return a 404 for /stargazers.

Example:
https://ghbtns.com/github-btn.html?user=twbs&repo=bootstrap&type=star&count=true

Href:
https://github.com/twbs/bootstrap/stargazers

There is a blog post about this change here:
https://github.blog/changelog/2026-06-30-upcoming-access-restrictions-to-public-api-endpoints-and-ui-views/

I suspect the fix is just to remove the href.

Dominant language
JavaScript
Stars
2.9k
Forks
263
PR merge metrics
No merged PRs in 30d

Contributor guide

No contributing guide indexed for this repository

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

More from mdo/github-buttons

All issues in mdo/github-buttons

Similar issues

More JavaScript issues

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.