Greasy Fork is available in English.
Show star counts after every GitHub repo link on all webpages
A Tampermonkey userscript that automatically shows ⭐ star counts next to every GitHub repository link on any webpage you visit.

MutationObserver to pick up
links added after the initial page load (Reddit, Twitter/X, Hacker News, etc.).➕ Install github-show-stars.user.js
Tampermonkey will open an installation dialog – click Install.
The unauthenticated GitHub API allows only 60 requests per hour per IP address. If you visit pages with many GitHub links you may hit this limit quickly.
To raise the limit to 5,000 requests/hour, create a fine-grained (or classic) Personal Access Token with no extra scopes (read-only public data is sufficient), then store it using one of the methods below.
// Run this in the browser DevTools console on any page where the script is active
GM_setValue('github_token', 'ghp_yourTokenHere');
The token is stored securely in Tampermonkey's own storage and is never exposed to the visited page.
<a> tags whose href contains
github.com.github.com/<owner>/<repo> a small
badge is inserted immediately after the link.⭐ … while the request is in-flight, then updates to the
real star count (e.g. ⭐ 4.2k).⭐ ? with a tooltip describing the error.MutationObserver watches the page for newly added links and processes
them on the fly.The script is a single self-contained file (github-show-stars.user.js). No
build step is required.
To iterate locally:
github-show-stars.user.js in your editor.file:///path/to/github-show-stars.user.js).MIT