日本語 | English
GitHub Star Marker is a browser extension that shows whether you have already starred repositories displayed on GitHub user and organization pages.
Starred repositories get a small yellow star next to the repository name. Unstarred, loading, and unavailable states use a quieter marker so the extension stays close to GitHub's native UI.
- Marks starred repositories in GitHub pinned repositories
- Marks starred repositories in organization repository lists
- Uses GitHub GraphQL API
viewerHasStarredfor accurate checks - Stores a GitHub Personal Access Token from the extension options page
- Caches recent results to reduce repeated API calls
- Builds for Chrome and Firefox
https://github.com/<user>https://github.com/<org>https://github.com/<user>?tab=repositorieshttps://github.com/<org>?tab=repositorieshttps://github.com/orgs/<org>/repositories
If GitHub changes its DOM or page layout, the marker placement may need to be updated.
For normal use, you do not need to clone this repository.
- Open Releases.
- Download the Chrome asset named
github-star-marker-<version>-chrome.zipfrom the latest release. - Unzip the downloaded file.
- Open
chrome://extensions/in Chrome. - Enable
Developer mode. - Choose
Load unpackedand select the unzipped folder.
For Firefox testing, download and unzip github-star-marker-<version>-firefox.zip, then open about:debugging, choose Load Temporary Add-on, and select the unzipped manifest.json.
bun install
bun run buildIn Chrome, load dist/chrome-mv3 as an unpacked extension.
To build for Firefox:
bun run build:firefoxThen load the generated Firefox output dist/firefox-mv2 from about:debugging.
Chrome development server:
bun run devFirefox development server:
bun run dev:firefoxType check:
bun run typecheckOpen the extension options page and save a GitHub Personal Access Token.
- Open GitHub's fine-grained personal access token creation page.
- Choose the
Resource ownerthat owns the repositories you want to check. - For
Repository access, choose public repositories if you only want to check public repositories. For private repository checks, select only the private repositories you need. - Under
Account permissions, grantStarring: Read. - For
Repository permissions, the default metadata read access is enough for public repository lookup. For private repositories, grant the minimum read access required for those repositories. - Copy the generated token and save it from the extension options page. The save check also verifies that the token can read
viewer.login.
If you use a classic token, public repositories can usually be checked without additional scopes. For private repositories, the repo scope may be required. Fine-grained tokens are recommended because they can be limited to specific repositories.
The token is stored locally using chrome.storage.local / browser.storage.local equivalent storage. It is only used for GitHub API requests.
- The content script extracts
owner/repovalues from repository links on GitHub pages. - It sends
{ type: "CHECK_STARRED", repos: string[] }to the background script. - The background script batches requests to the GitHub GraphQL API.
- The extension renders a star next to each repository name based on
viewerHasStarred. - Results are cached briefly to avoid excessive duplicate checks during GitHub page transitions and re-renders.
- GitHub Enterprise Server is not currently supported.
- Marker rendering may break if GitHub changes its page structure.
- Firefox builds may show WXT warnings about Firefox manifest requirements.
MIT