Lines of code charts

Paste a public Git repository URL to get an embeddable README chart of its lines of code by language, like GitHub's language bar, with Helm charts, Kubernetes manifests, Dockerfiles, GitHub Actions and other tooling broken out.

Image URL parameters

https://loc.codemowers.io/chart.svg?repo=github.com/owner/repo

repo
Repository URL or host/owner/name. Required: image proxies such as GitHub Camo do not forward the README's address.
branch
Branch to analyse; defaults to the repository's default branch.
mode
commits (default) plots the last n first-parent commits evenly spaced; time samples n instants across real time.
n
Number of points: 10 commits or 24 time samples by default.
since
Time mode window such as 90d, 6m, 2y; default all.
theme
light or dark; default follows the viewer's colour scheme.

Counts non-blank lines per language by file extension, name or #! line. YAML is split into Helm chart (under a Chart.yaml directory), Kubernetes manifests (top-level apiVersion and kind), GitHub Actions, GitHub config, GitLab CI, Docker Compose and Skaffold. Vendored directories such as node_modules/, vendor/ and dist/, lockfiles, minified and generated files are skipped. The chart shows the seven largest categories and folds the rest into Other.