Skip to content

Commit 0d2f89c

Browse files
committed
chore: 替换 star-history 为自托管 mystarhistory 方案
star-history.com 因 GitHub 2026 API 限制已无法正常渲染, 改用 carsteneu/mystarhistory Action 每周自动生成静态 SVG, 支持明暗主题切换,不再依赖第三方服务。
1 parent 2876ced commit 0d2f89c

2 files changed

Lines changed: 20 additions & 1 deletion

File tree

.github/workflows/star-history.yml

Lines changed: 16 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,16 @@
1+
name: Star History
2+
on:
3+
schedule:
4+
- cron: '0 0 * * 1'
5+
workflow_dispatch:
6+
permissions:
7+
contents: write
8+
jobs:
9+
star-history:
10+
runs-on: ubuntu-latest
11+
steps:
12+
- uses: actions/checkout@v4
13+
- uses: carsteneu/mystarhistory@v1
14+
with:
15+
repos: ${{ github.repository }}
16+
token: ${{ secrets.STAR_HISTORY_TOKEN }}

README.md

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -374,6 +374,9 @@ Safari 保护文档:<https://adguard.com/kb/adguard-for-ios/features/safari-pr
374374
> [!TIP]
375375
> 如果本项目对您的生活 / 工作产生了帮助,或者您关注本项目的未来发展,请给项目 Star,这是我们维护这个开源项目的动力
376376
377-
[![Star History Chart](https://api.star-history.com/svg?repos=88lin/video_vip&type=date&legend=top-left)](https://www.star-history.com/#88lin/video_vip&type=date&legend=top-left)
377+
<picture>
378+
<source media="(prefers-color-scheme: dark)" srcset="https://raw.githubusercontent.com/88lin/video_vip/star-history/assets/my-star-history/star-history-dark.svg">
379+
<img alt="Star History" src="https://raw.githubusercontent.com/88lin/video_vip/star-history/assets/my-star-history/star-history-light.svg">
380+
</picture>
378381

379382
**温馨提示:** 好工具大家共享,请合理使用。请尊重版权,支持正版。本脚本仅供学习和研究使用,请在试用后购买正版会员支持您喜欢的内容创作者。

0 commit comments

Comments
 (0)