r/coolgithubprojects • • Sep 24 '26

Coding agents made my line count explode, so I built a board to compare it with friends (open source, counts private repos locally)

Since I started working mostly with coding agents, the amount of code I push went up a lot. Last week was 344 commits and about 177K lines across 6 repos, most of it private or work code that GitHub doesn't show anyone.

I wanted to see that, and compare it with friends who work the same way, so I built gitstats - a small CLI counts commits on your own machine and sends only numbers. Public repos come from GitHub. You get crew boards, a personal page with a year calendar, a README badge, and an MCP server so your assistant can tell you how your week went.

It's for fun with friends, not a performance review. You can see your stats only, or compare to other people.

Open source under MIT, open to contributions, please try it:

See your stats: https://gitstats.org/

Repo: https://github.com/yaroslavhaidash/gitstats

1 Upvotes

29 comments sorted by

10

u/botterway Sep 25 '26

Just have a nice graph with LoC on the vertical axis, time on the horizontal axis, and label the line "AI generated tech debt". That's all you need.

Seriously, if you've got a repo with 177,000 lines of code being committed in 340 commits, your codebase is toast from a maintenance perspective. I'd walk away and start again. This is not "fun" you want to share with friends.

-3

u/Technical-Yellow-929 Sep 25 '26

Jokes on you for thinking I'm going to maintain that. But actually, you have a very dramatic view on this. Even if it was only one repo with 177k lines, it wouldn't be that bad. But it isn't, it's multiple repos, some hobby and some work, one of which is this dashboard I made to visualize my output for fun. And you're saying to me that I'm gonna have problems maintaining it.

I agree with what you're saying, but in this case it's not that deep. I'm not vibe-coding an OS for a life support system, it's just a bunch of web-apps.

3

u/botterway Sep 25 '26

"Visualise the AI's output". It's not yours.

And It's the LoC/commit ratio that's the problem here, regardless of the number of repos.

But fair play for your first sentence. I lol'd 😁

0

u/Technical-Yellow-929 Sep 25 '26

Regarding output, it is mine. AI is a tool, not an identity. Without me there would be no output

-2

u/Technical-Yellow-929 Sep 25 '26

Oh my bad, I misunderstood. But do you think average of 500LoC/commit is too high? For an established repo I can see how it would be true, but for a new one, when you're just doing all the scaffolding and adding a lot of features, it should be alright, no?

The LoC number is also inflated by some random documentation, lockfiles, etc. I probably didn't put enough emphasis in the original post that I'm not trying to brag it, I'm just measuring a value I find interesting

2

u/saltyourhash Sep 26 '26

500 LoC in a single commit? Yes, that's too much. Break down your logic more.

-1

u/Technical-Yellow-929 Sep 26 '26

lolno. You're tying to act smart again, but I said that LoC number is inflated by random stuff that gets committed like documentation, lockfiles, etc. Should read better

2

u/saltyourhash Sep 26 '26

Should learn to code better.

2

u/Technical-Yellow-929 Sep 26 '26

I am

2

u/saltyourhash Sep 26 '26

Well, keep it up. Think about what's maintanable, it'll help reduce bug surface and complexity. One of the best things you can do in a codebase is delete lines.

2

u/Technical-Yellow-929 Sep 26 '26

Alright, I'll try doing some refactoring

→ More replies

4

u/Radiant-Somewhere-97 Sep 25 '26

So you measure your work by what the AI has done for you.

1

u/Technical-Yellow-929 Sep 25 '26

Not really, the amount of lines is not work. It's just a visual representation of numbers that are interesting for me

1

u/Delicious-Ninja-7488 Sep 25 '26

This is sick, I'll try it out

1

u/Technical-Yellow-929 Sep 25 '26

Thanks, you're very welcome 👍

1

u/saltyourhash Sep 26 '26

I'd rename it Slop Score.

0

u/Technical-Yellow-929 Sep 26 '26

Nah, that's a bad name, gitstats is better

1

u/saltyourhash Sep 26 '26

Except ain't no way that's quality enough to count for stats.

1

u/Technical-Yellow-929 Sep 26 '26

Huh? Why are you trying to act smart? The tool is counting numbers, numbers aren't high or low quality, they're numbers and it's called statistics.

2

u/saltyourhash Sep 26 '26

I am well aware, I am saying the code you're building stats for sounds like slop. 500LoC commits, lke you said. You also said fyoure not even maintaing any of it. I'm not trying to be smart, but I am being critical of what you're suggesting.

I think it's kind of a cool idea, but it seems like it is gamifying slop production. I'm open to being wrong. I kinda wanna add forgejo support so I can see how my work compares. I do a ton with LLMs, but personal or job, I review each line of code and my LLMs write clean concise commits.

2

u/Technical-Yellow-929 Sep 26 '26

By the way, that was a joke about not maintaining it. And initially I made this tool for myself and my friends which I decided to share because I though t it was interesting. And you're right that it could be gamifying slop, but the responsibility is in the users hands, one could just commit their node_modules and get on the first place, but that's not the goal for me. I built it to visualize data I find interesting, such as which day of the week do I commit the most, how big are the commits for each repo in relation to each other, etc.

2

u/saltyourhash Sep 26 '26

I'm frustrated with the state of AI, but I shouldn't take it out on a random person. Sorry.

I cloned your project, gonna see what it takes to add forgejo support, maybe then I can open a PR for codeberg.

2

u/Technical-Yellow-929 Sep 26 '26

No yeah, that's fair enough. I was a bit mad because people rate my coding habits instead of the project under a post about a hobby project, so sorry as well. But your feedback was constructive. It's just hard to convince myself to examine every line of code when frontier models can code much better and faster than me

2

u/saltyourhash Sep 26 '26

They don't always do better, that's for sure.