A Chrome extension that colors GitHub repos 7784 itory headers based on whether the repository is public or private.
| public repository | private repository |
|---|---|
The dark-theme-friendly defaults are public #46705a and private #8a5942. Both meet WCAG 2.2 AA against GitHub's dark foreground color.
Node.js and pnpm are pinned with mise.
mise install
pnpm install --frozen-lockfile
pnpm devBuild the production extension and load .output/chrome-mv3 from chrome://extensions with Load unpacked:
pnpm buildRun the extension against GitHub with headless agent-browser:
pnpm browser:install # Only when Chrome for Testing is not installed
pnpm test:browserRun all required checks or create a distribution ZIP:
pnpm check
pnpm zip- Node.js, pnpm, and direct dependencies use exact versions.
- pnpm revalidates locked packages against the repository policy.
- Packages published less than 24 hours ago and transitive dependencies from external URLs are rejected.
- CI uses the frozen lockfile and pins GitHub Actions to full commit SHAs.
Release Please derives versions from Conventional Commit titles.
Merging a release pull request publishes the checked ZIP, its SHA-256 checksum, and signed build provenance in an immutable GitHub Release.
The first v0.1.0 release is started manually from the Release workflow.
gh release download v0.1.0
gh release verify v0.1.0
gh attestation verify github-public-highlights-0.1.0-chrome.zip \
--repo tomatoaiu/github-public-highlightsThe original project used ChromeExtensionTemplateForDeno as its template.
See THIRD_PARTY_NOTICES.txt for bundled third-party software notices.