Skip to content

docs: migrate README badges from badgen to shields.io#264

Merged
arb merged 2 commits into
masterfrom
chore/badges-to-shields
May 1, 2026
Merged

docs: migrate README badges from badgen to shields.io#264
arb merged 2 commits into
masterfrom
chore/badges-to-shields

Conversation

@arb

@arb arb commented Apr 30, 2026

Copy link
Copy Markdown
Owner

What

Move all five README badges from badgen.net to img.shields.io, all using style=flat.

Why

The build-status badge had been showing 500 because badgen.net's github/checks endpoint is currently returning HTTP 500. That endpoint depends on an authenticated GitHub API token that badgen has to maintain server-side, and it's been intermittently broken for a while. badgen.net itself is also effectively unmaintained at this point.

The other badgen badges (npm/v, codecov/c, npm/dt) still work fine because they hit public unauthenticated APIs, but rather than leave a mixed setup where one provider is partially broken, this PR moves the whole row to a single, actively-maintained provider so they fail or succeed together.

How

Each badge image URL is swapped for its shields.io equivalent. Link targets are unchanged except for the build badge, which now correctly points at the Actions workflow runs page instead of the repo root. Colors (ff80ff, cyan) and icons (github, codecov) are preserved. All five badges share style=flat so the row is visually consistent.

shields.io's flat and badgen's flat aren't pixel-identical, but they're very close, and having all five badges from the same provider with the same style parameter is the bigger consistency win.

badgen.net's `github/checks` endpoint has been returning HTTP 500,
breaking the build status badge. Rather than fix that one badge in
isolation, move all five badges to shields.io for a consistent provider
and visual style. shields.io is actively maintained (Badges Foundation)
and has a much larger pool of GitHub API tokens than badgen, which makes
it considerably more reliable for the Actions-status badge in
particular.

All badges use `style=flat` to match badgen's previous look. Colors
(`ff80ff`, `cyan`) and icons (`github`, `codecov`) are preserved. The
build badge link target is also corrected to point at the workflow runs
page rather than the repo root.

Made-with: Cursor
@codecov-commenter

codecov-commenter commented Apr 30, 2026

Copy link
Copy Markdown

⚠️ Please install the 'codecov app svg image' to ensure uploads and comments are reliably processed by Codecov.

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 100.00%. Comparing base (260283f) to head (c03157f).
❗ Your organization needs to install the Codecov GitHub app to enable full functionality.

Additional details and impacted files
@@            Coverage Diff            @@
##            master      #264   +/-   ##
=========================================
  Coverage   100.00%   100.00%           
=========================================
  Files            4         4           
  Lines          100       100           
  Branches        14        14           
=========================================
  Hits           100       100           

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.
  • 📦 JS Bundle Analysis: Save yourself from yourself by tracking and limiting bundle sizes in JS merges.

- Replace `npm/dt` (an undocumented badgen-compat redirect on shields.io)
  with `npm/d18m`, which is the canonical documented endpoint for
  recent-window downloads. Functionally identical -- shields was
  already 301'ing dt -> d18m -- but the URL is now self-documenting.
- Update the badge alt text to "18mo Downloads" so it accurately
  reflects the 18-month window (the previous "Total Downloads" was
  carried over from badgen's all-time semantics, which shields doesn't
  expose).
- Switch all five badges to `style=for-the-badge` for a more visually
  prominent treatment, applied uniformly across the row.

Made-with: Cursor
@arb arb force-pushed the chore/badges-to-shields branch from bd9819f to c03157f Compare April 30, 2026 21:44
@arb arb added this to the 16.0.0 milestone Apr 30, 2026
@arb arb merged commit b36068f into master May 1, 2026
9 checks passed
@arb arb deleted the chore/badges-to-shields branch May 1, 2026 13:25
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.

2 participants