Lines of Code History

The lines-of-code history graph
for GitHub repositories

Like star-history, but for code. Add one or more repositories, compare how they grew, and embed the live chart in your README.

Try:
Example chart: lines of code of expressjs/express and pallets/flask over time

Example: expressjs/express compared with pallets/flask. Click it to start from there.

Live, zero setup

Charts come straight from GitHub's statistics and refresh themselves. Paste one line into a README and forget about it.

Your look, your axis

Clean or hand-drawn sketch style, calendar dates or a timeline that starts every repository at its first commit, light or dark.

Any size of repository

GitHub's API stops at 10,000 commits. The GitHub Action and CLI render from a clone instead and can exclude lockfiles or vendored code.

Embed this chart

Paste into your README. Follows the reader's light or dark setting.

Options: type=net|added, axis=date|timeline, style=clean|sketch, theme=auto|light|dark, width (320–2400), height (200–1600). The image is cached for six hours and refreshes itself after that.

Preview of the embedded chart