Menu

Experiment: what share of the links in your GitHub READMEs still work? Measure every repo you own in 15 minutes
📰

Experiment: what share of the links in your GitHub READMEs still work? Measure every repo you own in 15 minutes

DEV Community: github·linkbruno.com·7 days ago
#2mhE4NDt
#devtogithub#technology#devto#dev#links
Reading 0:00
15s threshold

A README gets written once, usually the week a project is created, and then it sits there. The project evolves; the README's links don't. Badges point at retired CI services. "See the docs" links go to a docs site that moved. The demo link is a free hosting app that was deleted years ago.

I don't know what share of your README links are broken, and I'm not going to guess. Instead, here's an experiment that measures it for every public repo you own, in about fifteen minutes. You'll end up with a per-repo table, and probably a few surprises.

What you need

The GitHub CLI ( gh ), logged in to your account

Python 3.10+ with requests ( pip install requests )

A cup of coffee while it runs

Step 1: list your repos and fetch their READMEs

The GitHub CLI can list repos and call the API.…

Continue reading — create a free account

Join HashtagPLUS to read full articles, follow hashtags, vote, and join the conversation.