· · Building With AI ·Guides

How to Read My Open Source Dashboard: What the Health Score Means and What to Do About It

How to Read My Open Source Dashboard: What the Health Score Means and What to Do About It
Reading time8 min
Length1,700 words
LevelBeginner

I built a free dashboard that shows all my public GitHub repos on one page, and I am still learning how to read it. Each repo has a score out of 100 and I did not know what a good one was, or what to do about a bad one. This post is what I found when I went through the code and the data to work it out.

You can open the dashboard at todiane.github.io/open-source-dashboard and the code is at github.com/todiane/open-source-dashboard.

Key takeaways
  • The dashboard exists so I can see every public repo, open pull request and unanswered issue without visiting each repo.
  • The health score runs from 0 to 100. 80 and above shows green, 55 to 79 shows amber and below 55 shows red.
  • Most of a score comes from how recently the repo was pushed to, whether it has a LICENSE file and how complete its community files are.
  • A repo with no open pull requests and no open issues gets full marks for both, so a quiet repo can score well.
  • A low score on an old repo you have finished with needs no action. A low score on a repo you care about points to something specific you can fix.
  • Five settings in one config file control which repos appear and how strict the pull request and issue checks are.
  • Claude and Claude Code planned, built and tested it, and nothing in it merges without my confirmation.

Why I asked for it

I have a lot of open source repos. I wanted one place to see whether any had new pull requests, what was ready to merge and how many stars each had, instead of opening every repo in turn. I asked Claude whether a tool like that already existed, and it listed notification inboxes and stats pages for a single repo. Nothing gave an overview across all of them, so I asked for my own version.

How to read the page

Read it from the top down.

Summary tiles. Totals across all repos: repos, stars with the change over 30 days, forks, open pull requests, pull requests ready to merge, open issues, and how many things need me now.

The Needs attention list. This is the only part that tells you to do something. It lists failing builds on a default branch, pull requests ready to merge, pull requests waiting on your review, pull requests with no activity for 14 days, issues with no reply after 7 days, and repos with 10 or more commits since the last release. When there is nothing to do, it says so.

The pull request queue. Each open pull request has a status: ready to merge, needs my review, waiting on the author, CI running, or draft. "Waiting on the author" means the ball is with the other person, so you do nothing.

The repo table. One row per repo: health score, stars with a small history line, forks, open pull requests and issues, build status, last push and latest release, newest push first.

I do not check it every day. In the data I looked at for this post, none of my 14 repos had an open pull request or an open issue, so the Needs attention list had nothing in it. A dashboard like this pays off on a repo that other people send work to. On a quiet set of repos it mostly confirms that nothing is waiting.

What the health score means

The score is a quick check on how looked-after a repo is. Click the number in the table and it shows the six parts that add up to it.

How the health score is worked out
Part Points How it is scored
Activity 25 Last push within 30 days: 25. Within 90 days: 18. Within 180 days: 10. Within a year: 4. Older: 0.
Build status 20 Passing: 20. Running: 12. No build set up: 10. Failing: 0.
LICENSE file 10 Has one: 10. No file: 0.
Community files 15 GitHub's own community profile percentage, scaled to 15. It covers files such as the README and the contributing guide.
Pull requests 15 No open pull requests, or the oldest is under 14 days: 15. Under 28 days: 8. Older: 0.
Issues 15 No unanswered issues, or the oldest is under 7 days: 15. Under 14 days: 8. Older: 0.

The score shows green at 80 and above, amber from 55 to 79, and red below 55.

Here are two real rows from the data I looked at. The project_tracker repo scored 96, because it was recently pushed to, its build was passing and it had its files in place. The pen repo scored 46, and the breakdown shows why: activity 4 of 25, build status 10 of 20, LICENSE file 0 of 10, community files 2 of 15, and full marks for pull requests and issues. That repo has not been pushed to for a long time, has no build set up, has no LICENSE file and little else.

Two things about the score surprised me. A repo with nothing open gets 30 points for pull requests and issues without anyone doing anything, so an abandoned repo is not punished for it beyond the activity points. And a repo with no build set up gets half the build points, not zero.

What to do about a low score

First decide whether you care about the repo. If you have finished with it, a red score is the correct answer and you can leave it alone. Archived repos do not appear on the dashboard at all, so archiving is one way to remove a finished repo from the list. If you do care about it, the breakdown tells you what to fix, in roughly this order of effort.

  • LICENSE file, 10 points. On GitHub, add a new file to the repo, name it LICENSE, and GitHub offers a "Choose a license template" button with a list of licenses to pick from. GitHub's page on adding a license to a repository has the full steps.
  • Community files, up to 15 points. Open the repo's Insights tab and choose Community Standards. GitHub lists which files are missing, such as the contributing guide or a code of conduct.
  • Build status, up to 10 more points. If the repo has tests, set up a GitHub Actions workflow that runs them. If it has no tests, skip this.
  • Activity, up to 25 points. This only goes up when you push to the repo. Do not make changes just to move the number.
  • Pull requests and issues, 15 points each. These drop when something sits unanswered for longer than 14 days (pull requests) or 7 days (issues). Reply, merge or close it.

If you are not sure what "community files" means, GitHub's checklist looks for a README, a code of conduct, a LICENSE and a contributing guide. Issue templates also count when they are in the .github/ISSUE_TEMPLATE folder. Each item shows as either added or not added yet. See GitHub's page on community profiles for public repositories.

The score is a nudge to look at a repo. It does not say whether the project is any good.

django developer diane corriette open source dashboard github

How it works with no server

  1. A scheduled GitHub Action runs every 6 hours.
  2. It runs a small Node script with no dependencies. The script reads public data from the GitHub API for the accounts listed in a config file.
  3. It saves the results as JSON in the repo. That file also holds the history of daily star counts, which is where the history lines come from.
  4. GitHub Pages serves a plain HTML, CSS and JavaScript page that reads the JSON.

There is nothing to host, no database and no build step, so it costs nothing to run. It has broken once: the Collect data workflow failed to push its results when two runs overlapped, and Claude Code fixed it.

Keeping it private and safe

The repo is public, so I spent as much time on what must never appear as on what should.

  • Only public repos that are not forks and not archived, owned by the accounts in the config file, can appear. Nobody can add someone else's repo, and private repos cannot leak in.
  • There is a public view for everyone and a separate owner mode for me. Owner mode shows live traffic stats (views and clones) and lets me merge pull requests from the dashboard.
  • Owner mode uses a personal access token that I paste into my own browser. It is stored only there, and it is only accepted if it belongs to one of the configured owners.
  • Traffic stats are never saved in the repo, because the repo is public. They are fetched live into my browser.
  • Merging always asks me to confirm, re-checks the pull request on GitHub first and refuses if new commits have landed in the meantime. Nothing merges automatically.
  • Text from GitHub, such as pull request titles, is shown as plain text, so a malicious title cannot run code. I tested this.

I have two GitHub accounts and a token only works for one account. The dashboard is set up to list repos from both, but owner mode works on one account at a time, depending on which token I paste in.

How it was built

I planned it in a conversation with Claude first, asking for suggestions only. I chose a scheduled GitHub Action plus a static site, because it is free, keeps history, and leaves the token out of the page. Claude Code then built it, tested it and pushed it to my repo. The tests were unit tests, an end-to-end test against a mock GitHub API, and a check of the public and owner views in a real browser.

It had small stumbles. Claude Code picked the wrong branch on a new, empty repo, and at one point I was sent to the wrong settings page.

I also considered a button that asks Claude to review each pull request. That needs the Claude Code GitHub Action on every repo, an Anthropic API key stored as a secret, changes to the workflows in my other repos, and paid usage. I decided against it. When I want a review, I ask Claude in a session and decide yes or no myself.

Set up your own

  1. Fork the repo.
  2. Put your GitHub username in config.json.
  3. In your repo's Settings, open Pages and deploy from the main branch and the /docs folder.
  4. In the Actions tab, run the "Collect data" workflow once by hand.

It then updates itself every 6 hours. Owner mode is optional. If you want it, create a fine-grained token with read and write access to pull requests and contents and read access to administration, or a classic token with the public_repo scope, then click Owner mode and paste it in. The token stays in your browser and is sent only to GitHub's API.

Settings you can change

Everything you can adjust is in config.json. The score thresholds above follow the last two settings, so changing them changes what counts as unanswered.

Settings in config.json
Setting What it does Example
owners The GitHub accounts whose public repos are included ["todiane", "djangify"]
exclude Repos to skip, by name or by full name "pipeline" or "todiane/pipeline"
max_age_months Hides repos not pushed to within this many months. 0 shows everything 15
stale_days How old an open pull request can be before it counts against the score 14
unanswered_issue_days How long an issue from someone else can go unanswered before it counts 7

If a repo you expect is missing from the page, check these first. It may be a fork, archived, excluded, owned by an account that is not listed, or older than max_age_months.

Summary
  • The dashboard puts all my public GitHub repos on one page, with a Needs attention list that says when something is waiting.
  • The health score is 0 to 100: green at 80 and above, amber at 55 to 79, red below 55.
  • Activity, the LICENSE file and community files make up most of what you can change, and a quiet repo with nothing open still gets full marks for pull requests and issues.
  • A low score on a finished repo needs no action, and on a repo you care about the breakdown shows which part to fix.
  • It runs on a GitHub Action and GitHub Pages with no server, and only public repos from the configured accounts can appear.
  • Five settings in config.json decide which repos show up and how strict the checks are.
More on building your own tools

Why Building for Yourself Creates Better Software

Why a tool made for one person's own problem often turns out well.

Read more →

Invoice Generator: Open Source Django

Another open source tool I built and shared.

Read more →

Claude Code Mods and Editable Carousels: What I Found Out

What Anthropic's own pages say about mods and working from your phone.

Read more →