Show the repository's Trendshift standing, not only its build status - #348
Open
jerelvelarde wants to merge 1 commit into
Open
Show the repository's Trendshift standing, not only its build status#348jerelvelarde wants to merge 1 commit into
jerelvelarde wants to merge 1 commit into
Conversation
The header carried four badges, all of them about the repository's own machinery: two workflow results, a licence and an alpha marker. None of them told a first-time visitor that anybody outside the project had looked at it. OpenBot reached #3 Repository Of The Day on Trendshift on 20 August 2026, and the header said nothing about it. The badge is Trendshift's own endpoint for repository 175080, so the rank it draws stays correct without anybody editing this file again.
jerelvelarde
requested review from
MikeRyanDev,
davidmckayv,
guidovizoso and
tylerslaton
as code owners
September 3, 2026 11:12
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
The problem
The header carries four badges and all four are about the repository's own machinery: two workflow results, a licence, and an alpha marker. They tell a visitor that the build passes and the licence is MIT. They say nothing about whether anybody outside the project has looked at it.
That gap matters most for the reader this README is written for. The page asks a stranger to bring up a Docker Compose stack, supply their own model key, and hand an agent a browser carrying real logins. The only badge on the page that speaks to scale is the one reading
alpha. That badge is honest and it should stay, but it is currently the entire answer to "has anybody else decided this was worth their time".OpenBot reached #3 Repository Of The Day on Trendshift on 20 August 2026, and #2 TypeScript Repository Of The Day the same day. That is third-party evidence, already earned, and the header said nothing about it.
The approach
One line in the centred header block, one blank line below the existing shields.
Below the shields rather than among them. The four existing badges are a status row — things a maintainer keeps green. A ranking is not a status, and at 250x55 it is an order of magnitude larger than the shields beside it. Dropping it into that row would break the row's rhythm and imply the rank is something CI keeps passing. A blank line makes it its own line, which is what an accolade should be.
Trendshift's live endpoint rather than an image committed to
assets/.api/badge/trendshift/repositories/175080/dailydraws the rank from Trendshift, so it stays correct without anybody editing this file again. The cost is worth naming: this puts a third-party image on the README's first screen, so if Trendshift goes down or retires the endpoint, the header shows a broken image. A committed SVG would trade that for a number that goes stale silently and a claim a reader cannot check against a source. The exposure is bounded in one useful way —/dailyreports the best rank the repository has achieved, not today's rank, so the badge can only ever improve.Markdown rather than the
<a><img>snippet Trendshift hands out, matching the four badges already in the block. GitHub strips that snippet'stargetandstyleattributes anyway, and the SVG carries its own width and height.What is not covered
?language=TypeScript; showing both would put two large badges above the fold.Verification
.md—biome.jsonincludes only TS/TSX sources, and there are no lefthook, husky, or active.git/hooksentries. No test files added.curlreturns 200image/svg+xmlat 250x55, with text nodesTRENDSHIFTand#3 Repository Of The Day, andaria-label="Trendshift: number 3 repository of the day".trendshift.io/api/badge/repositories/175080returns 500 and.../repositories/175080/dailyreturns 404. Either would have merged a broken image into the first screen of the README.