README badge: "Merged into N organisations"

Open
#3,996 8 comments 0 reactions 1 assignee View on GitHub

Maintainers usually reply within 1 day

@SynthReaper is already working on this.

Since Dec 3, 2026.

  • #4027 by @SynthReaper — open

Assessment

This issue has not been assessed yet.

Description

level 2 level:intermediate status:assigned type:feature
Summary

Members can already embed rank, streak and commits badges in their README (src/app/api/badge/*). Add one for open-source contributions, using the data from #3994.

Expected outcome
  • GET /api/badge/opensource?user=<login> returns an SVG in the same pixel style as the other badges (src/lib/gamification/stat-badge.ts / badge-response.ts): e.g. DevTrack | merged into 7 orgs · 1k★+.
  • Same caching, rate limiting and sandboxing headers as the existing badge routes. Members only; guests and hidden sections get the neutral "not on DevTrack" style the other badges use.
  • Add it to the badge picker in Settings (BadgeSection) with its markdown snippet, translated in all four locales.
Acceptance criteria
  • Route tests: member with data, member with none, hidden, guest, rate limited
  • No GitHub calls in the badge route (reads #3994's table only)

Depends on #3994.

Dominant language
TypeScript
Stars
246
Forks
436
Avg merge
9h 33m
Merged PRs (30d)
213

Getting set up

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

More from Priyanshu-byte-coder/devtrack

All issues in Priyanshu-byte-coder/devtrack

Similar issues

More TypeScript issues

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.