From 359e406e51fe5806e7c0f6f606ef2e9f19eb6608 Mon Sep 17 00:00:00 2001 From: Huang Xin Date: Tue, 16 Jun 2026 13:20:03 +0800 Subject: [PATCH] docs(readme): make license badge static and modernize release badge (#4603) The license, release, and last-commit badges all query GitHub's API through shields.io's shared instance, which intermittently fails with "Unable to select next GitHub token from pool" when shields.io's own token pool is rate-limited. A README author can't supply a token to the hosted badges. - License is fixed at AGPL-3.0, so use a static badge that makes no GitHub API call and can never hit the token-pool error. - Switch the release badge from the deprecated `github/release` endpoint (which 301-redirects) to `github/v/release`. Co-authored-by: Claude Opus 4.8 (1M context) --- README.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/README.md b/README.md index 94394024..f7dd9fd7 100644 --- a/README.md +++ b/README.md @@ -333,8 +333,8 @@ We would also like to thank the [Web Chinese Fonts Plan](https://chinese-font.ne [badge-website]: https://img.shields.io/badge/website-readest.com-orange [badge-web-app]: https://img.shields.io/badge/read%20online-web.readest.com-orange -[badge-license]: https://img.shields.io/github/license/readest/readest?color=teal -[badge-release]: https://img.shields.io/github/release/readest/readest?color=green +[badge-license]: https://img.shields.io/badge/license-AGPL--3.0-teal +[badge-release]: https://img.shields.io/github/v/release/readest/readest?color=green [badge-platforms]: https://img.shields.io/badge/platforms-macOS%2C%20Windows%2C%20Linux%2C%20Android%2C%20iOS%2C%20Web%2C%20PWA-green [badge-last-commit]: https://img.shields.io/github/last-commit/readest/readest?color=blue [badge-commit-activity]: https://img.shields.io/github/commit-activity/m/readest/readest?color=blue