This app counts how many commits a GitHub user made:
- in one repository
- or across the repositories they own
Public repositories work without a token.
Private repositories need a classic GitHub token pasted into the app.
You can also set a classic token in .env with GITHUB_TOKEN=... so the backend can reuse it automatically.
https://gitcommitcount.vercel.app/
-
Copy
.env.exampleto.env. -
Install dependencies:
npm install
-
Start the app:
npm start
-
Enter the GitHub username.
-
Optional: enter one repository only. Use a GitHub repository URL in HTTPS or SSH format.
-
If you need private repo access, create a classic token:
- Open https://github.com/settings/tokens/new
- Click
Generate new token (classic) - Enter a name and expiration date
- In
Scopes, checkrepo - Click
Generate token - Copy the token and paste it into the app
-
Click
Count commits.
- Repository URL examples:
https://github.com/owner/repoorgit@github.com:owner/repo.git - GitHub must match the commit author to the username you enter
- Organization repositories may still require SSO or organization approval