Hacky python scripts to plot the lines of code in a remote repository.
Find a file
dependabot[bot] 5a22d7dd7c Bump fonttools from 4.46.0 to 4.61.0 in the pip group across 1 directory
Bumps the pip group with 1 update in the / directory: [fonttools](https://github.com/fonttools/fonttools).


Updates `fonttools` from 4.46.0 to 4.61.0
- [Release notes](https://github.com/fonttools/fonttools/releases)
- [Changelog](https://github.com/fonttools/fonttools/blob/main/NEWS.rst)
- [Commits](https://github.com/fonttools/fonttools/compare/4.46.0...4.61.0)

---
updated-dependencies:
- dependency-name: fonttools
  dependency-version: 4.61.0
  dependency-type: direct:production
  dependency-group: pip
...

Signed-off-by: dependabot[bot] <[email protected]>
2025-12-17 13:42:42 +01:00
.github Create dependabot.yml 2025-03-13 11:37:53 +01:00
.gitignore add gitignore 2024-01-21 15:41:06 +01:00
LICENSE Create LICENSE 2024-01-21 15:41:59 +01:00
main.py initial commit 2024-01-21 15:26:51 +01:00
README.md Update sample image in README 2025-04-08 22:40:49 +02:00
requirements.txt Bump fonttools from 4.46.0 to 4.61.0 in the pip group across 1 directory 2025-12-17 13:42:42 +01:00

Git code analyzer

Analyze the code from remote git repositories and show how they grew over time.

Sample

I used this to create this chart of my blood pressure monitor project: lines of bp-monitor project

Usage

To run this for the sample repo install the requirements pip install -r requirements.txt and run the project.

To configure it, change the main method at the bottom of the file. You can:

  • change the repo_url or the file_extension in the call to analyze to try other repositories
  • remove the data = analyze... and serialize_to_file... lines and comment out the data = deserialize... line in case you already have your data and are only modifying plot generation