Skip to content

Commit f9b2c20

Browse files
committed
docs: restore the star history chart
Dropped by accident in the 3.0.0 README rewrite. Now theme-aware, so it stays readable in both GitHub colour schemes instead of showing a white chart on a dark page.
1 parent fdfd06e commit f9b2c20

2 files changed

Lines changed: 24 additions & 0 deletions

File tree

README.md

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -344,6 +344,18 @@ round-trip are all exercised end to end.
344344

345345
---
346346

347+
## Star history
348+
349+
<a href="https://star-history.com/#doomsday616/opencode-github-sync&Date">
350+
<picture>
351+
<source media="(prefers-color-scheme: dark)" srcset="https://api.star-history.com/svg?repos=doomsday616/opencode-github-sync&type=Date&theme=dark">
352+
<source media="(prefers-color-scheme: light)" srcset="https://api.star-history.com/svg?repos=doomsday616/opencode-github-sync&type=Date">
353+
<img alt="Star history chart" src="https://api.star-history.com/svg?repos=doomsday616/opencode-github-sync&type=Date" width="640">
354+
</picture>
355+
</a>
356+
357+
---
358+
347359
## License
348360

349361
[MIT](./LICENSE)

README.zh-CN.md

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -323,6 +323,18 @@ rebase、stash 以及覆盖机制的往返全都是端到端验证过的。
323323

324324
---
325325

326+
## Star 趋势
327+
328+
<a href="https://star-history.com/#doomsday616/opencode-github-sync&Date">
329+
<picture>
330+
<source media="(prefers-color-scheme: dark)" srcset="https://api.star-history.com/svg?repos=doomsday616/opencode-github-sync&type=Date&theme=dark">
331+
<source media="(prefers-color-scheme: light)" srcset="https://api.star-history.com/svg?repos=doomsday616/opencode-github-sync&type=Date">
332+
<img alt="Star 趋势图" src="https://api.star-history.com/svg?repos=doomsday616/opencode-github-sync&type=Date" width="640">
333+
</picture>
334+
</a>
335+
336+
---
337+
326338
## 许可证
327339

328340
[MIT](./LICENSE)

0 commit comments

Comments
 (0)