badgen.net icon indicating copy to clipboard operation
badgen.net copied to clipboard

CodeClimate is now Qlty

Open GMartigny opened this issue 6 months ago • 3 comments

CodeClimate has now been deprecated in favour of Qlty (read announcement post).

As a result, all CodeClimate Badgen are broken.

GMartigny avatar Aug 19 '25 16:08 GMartigny

The Qlty api requires token https://docs.qlty.sh/api-reference/api-overview/introduction Maybe we gonna have to deprecate codeclimate badges

amio avatar Aug 20 '25 01:08 amio

I don't know if a given token can request the API for any projects. Maybe, you can try to create a new token and request this to test:

curl -H "Authorization: Bearer <TOKEN>" https://api.qlty.sh/gh/gmartigny/projects/whiskers.js/metrics | jq

Otherwise, it might be possible to scrap the Qlty badges:

  • https://qlty.sh/gh/GMartigny/projects/Whiskers.js/maintainability.svg
  • https://qlty.sh/gh/GMartigny/projects/Whiskers.js/coverage.svg

Problem is that the value is not text, but a path.

GMartigny avatar Aug 20 '25 09:08 GMartigny

For APIs that need tokens, a personal token will hit rate limitation some day, unless not many people use it.

I kept thinking is there a way to enable user provided token, but not a clear answer yet. Maybe something like https://badgen.net/memo to let user post token for a specific badge? Or a better ux with the badge builder. Both seems a bit tricky.

amio avatar Aug 25 '25 08:08 amio