8000 GitHub - tomatoaiu/github-public-highlights: Highlight public repos on GitHub : chrome extension · GitHub
[go: up one dir, main page]

Skip to content
8000

About

Highlight public repos on GitHub : chrome extension

Topics

Resources

Stars

2 stars

Watchers

1 watching

Forks

Repository files navigation

GitHub Public Highlights

A Chrome extension that colors GitHub repos 7784 itory headers based on whether the repository is public or private.

public repository private repository
public repository image private repository image

The dark-theme-friendly defaults are public #46705a and private #8a5942. Both meet WCAG 2.2 AA against GitHub's dark foreground color.

Development

Node.js and pnpm are pinned with mise.

mise install
pnpm install --frozen-lockfile
pnpm dev

Build the production extension and load .output/chrome-mv3 from chrome://extensions with Load unpacked:

pnpm build

Run the extension against GitHub with headless agent-browser:

pnpm browser:install # Only when Chrome for Testing is not installed
pnpm test:browser

Run all required checks or create a distribution ZIP:

pnpm check
pnpm zip

Dependency safeguards

  • 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.

Releases

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-highlights

Acknowledgment

The original project used ChromeExtensionTemplateForDeno as its template.

License

MIT

See THIRD_PARTY_NOTICES.txt for bundled third-party software notices.

About

Highlight public repos on GitHub : chrome extension

Topics

Resources

Stars

2 stars

Watchers

1 watching

Forks

Releases

Packages

Used by

Contributors

Languages

0