Skip to content

docs: add star history chart#51

Merged
wavekat-eason merged 1 commit into
mainfrom
worktree-stars-embed
May 15, 2026
Merged

docs: add star history chart#51
wavekat-eason merged 1 commit into
mainfrom
worktree-stars-embed

Conversation

@wavekat-eason

Copy link
Copy Markdown
Contributor

Summary

  • Adds a Star History section to the README using the new stars.wavekat.com embed
  • Placed just before the License section

Preview:

wavekat/wavekat-vad stars

If this looks good, we'll roll the same embed out to the rest of the public WaveKat repos.

Test plan

  • Confirm the chart renders correctly on GitHub (dark theme)
  • Confirm the link target opens the public stars page

🤖 Generated with Claude Code

Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
@wavekat-eason
wavekat-eason force-pushed the worktree-stars-embed branch from 09fb143 to 374dad1 Compare May 15, 2026 23:24
wavekat-eason added a commit to wavekat/wavekat.com that referenced this pull request May 15, 2026
## Summary
- Adds a third embed snippet on each star-tracker page: **Auto theme**,
a `<picture>` element that uses `prefers-color-scheme` to serve the dark
variant to dark-mode viewers and light to light-mode viewers.
- Updates the JS so the snippet stays in sync with the split / style /
range controls; the theme toggle is intentionally ignored since
`<picture>` handles both variants.
- Refines the params hint to mention the auto-theme behavior.

Why: GitHub camo-proxies SVGs, so `prefers-color-scheme` inside the SVG
itself is stripped. The only way to get a chart that matches a reader's
GitHub theme is `<picture>` on the README side. This makes that the
copy-paste default for users embedding the chart.

Validated on `wavekat/wavekat-vad`
(wavekat/wavekat-vad#51) — the snippet renders
correctly in both modes.

## Test plan
- [ ] Open a tenant page on stars.wavekat.com, copy the **Auto theme**
snippet, paste into a README on GitHub, confirm it swaps with the
reader's theme
- [ ] Toggle split / curve / range controls; confirm the **Auto theme**
snippet's two URLs both update
- [ ] Toggle the theme control; confirm Markdown / HTML snippets change
but **Auto theme** does not (by design)

🤖 Generated with [Claude Code](https://claude.com/claude-code)

---------

Co-authored-by: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
@wavekat-eason
wavekat-eason merged commit 30e90bd into main May 15, 2026
9 checks passed
@wavekat-eason
wavekat-eason deleted the worktree-stars-embed branch May 15, 2026 23:37
@github-actions github-actions Bot mentioned this pull request May 15, 2026
wavekat-eason pushed a commit that referenced this pull request May 16, 2026
## 🤖 New release

* `wavekat-vad`: 0.1.14 -> 0.1.15 (✓ API compatible changes)

<details><summary><i><b>Changelog</b></i></summary><p>

<blockquote>

##
[0.1.15](v0.1.14...v0.1.15)
- 2026-05-15

### Other

- add star history chart
([#51](#51))
</blockquote>


</p></details>

---
This PR was generated with
[release-plz](https://github.com/release-plz/release-plz/).

---------

Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
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