Skip to content

feat: add opt-in per-project contribution stats to README - #27

Merged
hdcodedev merged 10 commits into
mainfrom
feat/project-stats
Sep 24, 2026
Merged

hdcodedev merged 10 commits into
mainfrom
feat/project-stats

Conversation

@hdcodedev

@hdcodedev hdcodedev commented Sep 24, 2026 •

Copy link
Copy Markdown
Owner

Adds a counter table at the top of the README showing how many merged contributions a project has, broken down by type — bug fixes, features, chores, and so on — plus a total.

It's opt-in via a new stats_projects list in oss-contributions.json. An entry can be a single repo, or a named group whose repos are summed into one row — handy when a project spans several repos, like Kilo's current and legacy repos. With an empty list the README looks exactly as before. For now it's enabled for Kilo:

"stats_projects": [
  {"name": "Kilo Code", "repos": ["Kilo-Org/kilocode", "kilo-org/kilocode-legacy"]}
]

Only merged PRs are counted, so the numbers reflect work that actually landed; open PRs still appear in the monthly tables as before. The type comes from the PR title's conventional-commit prefix (fix:, feat:, …), with anything else counted as "Other". Private repos are never included.

Also:

  • Reformats oss-contributions.json so it's readable instead of a single line.
  • The README update workflow now marks its commits [skip ci]. Those commits only touch generated files, and without it each one started a Tests run stuck waiting for maintainer approval.

hdcodedev and others added 10 commits September 24, 2026 13:01
Projects listed under stats_projects in the JSON config get a counter
table at the top of the README with totals per contribution type (bug
fixes, features, chores, ...). Enabled for the Kilo projects.

Also pretty-print oss-contributions.json.
A stats_projects entry can now be {"name": ..., "repos": [...]} to sum
those repos into a single row. The Kilo repos are merged as "Kilo Code".
@hdcodedev
hdcodedev merged commit 29bb576 into main Sep 24, 2026
1 check passed
@hdcodedev
hdcodedev deleted the feat/project-stats branch September 24, 2026 11:28
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.

1 participant