devtools.cihat.dev

GitHub repository analyzer

Paste a repository link or owner/repo. You get its figures, its language mix and how recently it was worked on, straight from GitHub’s API.

Try:

GitHub API: 60 requests an hour per network without signing in.

How to use it

  1. Paste a github.com link or type owner/repo, for example withastro/astro.
  2. Press Analyze. Two requests go to GitHub’s public API: one for the repository, one for its languages.
  3. Read the figures, or press Copy as Markdown to paste them into an issue, a note or a comparison.

What each figure means

Every number comes from the GitHub REST API at the moment you ask. Nothing is estimated.

FigureWhere it comes from
StarsPeople who starred the repository. It measures attention, not use.
ForksCopies made under other accounts, usually to contribute or to build on it.
WatchersPeople subscribed to notifications. Often the best sign of who follows the work closely.
Open issues and PRsGitHub’s own field, which counts open pull requests together with open issues.
SizeThe compressed Git data GitHub stores, including history. A clone is usually larger on disk.
LanguagesBytes of code per language as detected by GitHub’s Linguist, vendored and generated files left out.

Reading a repository in thirty seconds

Look at the last push before the star count. A repository with many stars and no push in a year may be finished, or abandoned; its open issues tell you which. A young repository with steady pushes and few stars can be the better choice for a new project.

Check the license before you copy code. If it says None found, the code is not open source by default, however public it is. The license checker explains what a given license allows.

Limits of the free GitHub API

Without signing in, GitHub allows 60 API requests an hour per network address. The line under the field shows how many you have left and when the allowance renews. Answers are kept in this tab for ten minutes, so asking about the same repository again costs nothing.

Private repositories cannot be read: the tool never asks for a token.

Questions people ask

How do I check the size of a GitHub repository?

Paste it above and read the Size figure. It is the compressed Git data GitHub stores, history included. A fresh clone with a checked-out working tree takes more space on disk.

Why is the open issues number higher than on the Issues tab?

GitHub’s API counts open pull requests in the same field. The Issues tab shows issues only.

Is my data sent anywhere?

The repository name goes to api.github.com, which answers the request. This site does not store it or see it.

Can it analyze private repositories?

No. It uses the public API without a token, so only public repositories can be read.

What happens when I run out of requests?

The tool says so and shows the time GitHub renews the allowance, usually within the hour. Results already on the page stay.