I built a CLI to see my real GitHub language stats – does something like this already exist?
Source: Dev.to
Problem
I recently created a new online CV and wanted to show all of my contributions—including those from private repositories. My GitHub profile looked nearly empty, even though I’d been coding professionally for years, most of it in private repos.
GitHub’s profile only shows total contributions and does not break down activity by language. Private repositories are invisible, so professional work that lives there isn’t reflected at all.
Solution
I built github‑lang‑stats, a CLI tool that scans every commit you’ve personally authored on GitHub (including private repos) and calculates how many lines you’ve changed per programming language. The result is an honest, verifiable snapshot of your actual work.
Usage
npx github-lang-stats --token=
- No installation required.
- Requires a GitHub Personal Access Token with appropriate scopes.
Features
- Counts lines changed per language across all your commits.
- Includes both public and private repositories.
- Generates JSON output that can be visualized (e.g., in a CV).
Feedback
I’d love to hear your thoughts:
- Did you know of a similar tool? (I couldn’t find one.)
- Would you use this for your portfolio or resume?
- What features would you like to see?
All feedback, issues, and pull requests are welcome on GitHub.