r/github • u/adityazero • 5d ago
Question How can i see lines of code across all repo?
For one project github shows total LOC (+/-) but i wanted to know across all repo.
0
Upvotes
r/github • u/adityazero • 5d ago
For one project github shows total LOC (+/-) but i wanted to know across all repo.
3
u/petros211 5d ago
https://github.com/subamanis/mezura
It even supports remote repos and test code detection
3
u/nekokattt 5d ago
clone them all and use a tool like cloc
2
u/Atmosck 5d ago
If you use vscode you can use the vscode counter extension. You'll also need the language support extensions for whatever languages the repo has.
2
u/UhLittleLessDum 4d ago
Look up tokei, it's a rust library and cli that does exactly this. It's pretty fast and gives some really good outputs. You can even configure what it ignores.
3
u/aieidotch 5d ago
run tokei across all repo
3
u/Lumethys 5d ago
give Bill Gate a call
2
u/OptimusCrimee 5d ago
Not possible, as far as I know. You will have to write a script or something for this.