Skip to content

Add live GitHub star count to the site - #46

Merged
offyotto merged 1 commit into
mainfrom
site/github-star-count
Aug 7, 2026
Merged

Add live GitHub star count to the site#46
offyotto merged 1 commit into
mainfrom
site/github-star-count

Conversation

@offyotto

@offyotto offyotto commented Aug 7, 2026

Copy link
Copy Markdown
Owner

The repository star count now appears in the header and in the closing call to action. The number is rendered into the markup at build time, so it is correct with JavaScript disabled and the button never changes width after load; script.js only refreshes it from api.github.com and caches the answer for six hours. Any failure leaves the shipped number in place.

Also in this pass:

  • cooling-v16.png was the one image on the page with no intrinsic size in either the markup or the stylesheet, so it was shifting layout as it loaded. It now carries width and height.
  • Headings balance their last line and the main body copy uses text-wrap: pretty, so single words stop stranding.
  • connect-src in the CSP is widened to api.github.com and nothing else.

Change

Describe the problem and the change.

Verification

List the checks you ran.

  • Tests cover the changed behavior.
  • User-facing changes are documented.
  • Security-sensitive changes were reviewed for privilege, XPC, signing, and SMC impact.

The repository star count now appears in the header and in the closing
call to action. The number is rendered into the markup at build time, so
it is correct with JavaScript disabled and the button never changes width
after load; script.js only refreshes it from api.github.com and caches
the answer for six hours. Any failure leaves the shipped number in place.

Also in this pass:
- cooling-v16.png was the one image on the page with no intrinsic size in
  either the markup or the stylesheet, so it was shifting layout as it
  loaded. It now carries width and height.
- Headings balance their last line and the main body copy uses text-wrap:
  pretty, so single words stop stranding.
- connect-src in the CSP is widened to api.github.com and nothing else.
@chatgpt-codex-connector

Copy link
Copy Markdown

You have reached your Codex usage limits for code reviews. You can see your limits in the Codex usage dashboard.
To continue using code reviews, you can upgrade your account or add credits to your account and enable them for code reviews in your settings.

@offyotto
offyotto merged commit 947b576 into main Aug 7, 2026
3 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant