#tool, #cli, #serverless
How Many Lines
A Open Source CLI/Server/Workflow/Library to get line count of all GitHub repositories of a specific account
Play It
How Many Lines?
Have you ever thought about how many lines of code you've written in your life? Even the one generated by automated tools, after searching I little I tried to count at least the line count of my GitHub since 95% of my code is here.
How to use
- Authenticate using the OAuth
- Wait for 3~5 minutes and your profile will appear in this
README.md
with the line count
The link that you can use to authenticate is this one
How it works
- The OAuth generates an token that can be used to perform several statistics tasks
- The token is sent to a serverless AWS server
- The server validates the token and triggers
open-issue.yaml
workflow with your token - The
open-issue.yaml
workflow get your token and:- Get line count of each repository and sum everything
- Create a new pool issue, that is useful to store/persist data
- The created issue triggers another workflow
build-readme.yaml
- This one
build-readme.yaml
get all pool issues and build a formatted markdown and update it
Contribute
Software always can be improved, so fill a issue to point where we can do it! Thanks.
Support
If you have ideas to share, bugs to report or need support, you can either open an issue or join our Discord server
Add your GitHub stats
To add your GitHub stats here, just auth your account using the application OAuth screen link:
@Suburbanno
1 9 . 1 9 3
@Suburbanno what's grass?
wrote more than 10K lines of code across all Github repos
@Senpai-10
1 . 2 7 7 . 8 2 6
@Senpai-10 u aren't ok
wrote more than 1M lines of code across all Github repos
@Egor-oop
@Egor-oop joined the game
wrote less than 100 lines of code across all Github repos
@Nerd00F
3 . 6 8 8
@Nerd00F why so dark?
wrote more than 1K lines of code across all Github repos
@donzal
@donzal joined the game
wrote less than 100 lines of code across all Github repos
@BenStigsen
3 1 . 8 3 8
@BenStigsen what's grass?
wrote more than 10K lines of code across all Github repos
@RFLEpicGamer
@RFLEpicGamer joined the game
wrote less than 100 lines of code across all Github repos
@Komfudo
6 8 4
@Komfudo java class
wrote more than 100 lines of code across all Github repos
@oscie57
8 . 6 1 0
@oscie57 why so dark?
wrote more than 1K lines of code across all Github repos
@SketchMaster2001
3 3 1 . 7 5 2
@SketchMaster2001 are u ok?
wrote more than 100K lines of code across all Github repos
@Phate6660
2 5 . 1 5 0
@Phate6660 what's grass?
wrote more than 10K lines of code across all Github repos
@That1M8Head
4 2 5 . 5 2 0
@That1M8Head are u ok?
wrote more than 100K lines of code across all Github repos
@fluteds
5 6 . 9 0 1
@fluteds what's grass?
wrote more than 10K lines of code across all Github repos
@spotlightishere
- 1 . 7 9 2 . 3 6 1
@spotlightishere wtf?
for some reason, this one has negative line count...
@ziad8727
2 . 9 4 5
@ziad8727 why so dark?
wrote more than 1K lines of code across all Github repos
@kotx
4 6 . 2 5 1
@kotx what's grass?
wrote more than 10K lines of code across all Github repos
@DopeDealers
1 8 . 1 4 1
@DopeDealers what's grass?
wrote more than 10K lines of code across all Github repos
@sudojunior
- 9 0 . 2 0 4
@sudojunior wtf?
for some reason, this one has negative line count...
@jacksonrakena
9 4 . 8 9 6
@jacksonrakena what's grass?
wrote more than 10K lines of code across all Github repos
@samualtnorman
- 4 2 1 . 1 3 8
@samualtnorman wtf?
for some reason, this one has negative line count...
@Snazzah
2 7 5 . 3 1 7
@Snazzah are u ok?
wrote more than 100K lines of code across all Github repos
@YoungTrep
- 9 4 3 . 2 3 4
@YoungTrep wtf?
for some reason, this one has negative line count...
@auguwu
1 . 3 8 9 . 6 5 7
@auguwu u aren't ok
wrote more than 1M lines of code across all Github repos
@Dazorn96
1 6 . 4 9 6
@Dazorn96 what's grass?
wrote more than 10K lines of code across all Github repos
@lucatolton
7 . 1 0 7
@lucatolton why so dark?
wrote more than 1K lines of code across all Github repos
@kdev
8 2 . 1 5 9
@kdev what's grass?
wrote more than 10K lines of code across all Github repos
@Tenrys
4 4 0 . 8 9 0
@Tenrys are u ok?
wrote more than 100K lines of code across all Github repos
@rodrigonahid
1 . 4 6 0 . 6 4 7
@rodrigonahid u aren't ok
wrote more than 1M lines of code across all Github repos
@Dishit79
5 0 9 . 0 2 2
@Dishit79 are u ok?
wrote more than 100K lines of code across all Github repos
@mathiaslima
9 6 . 9 6 8
@mathiaslima what's grass?
wrote more than 10K lines of code across all Github repos
@linuxmobile
1 1 . 5 1 6
@linuxmobile what's grass?
wrote more than 10K lines of code across all Github repos
@MCotocel
8 6 . 9 3 0
@MCotocel what's grass?
wrote more than 10K lines of code across all Github repos
@arimariojesus
1 6 6 . 5 5 4
@arimariojesus are u ok?
wrote more than 100K lines of code across all Github repos
@SolomonRosemite
5 2 3 . 2 6 1
@SolomonRosemite are u ok?
wrote more than 100K lines of code across all Github repos
@mannoeu
2 0 4 . 8 8 4
@mannoeu are u ok?
wrote more than 100K lines of code across all Github repos
@AkiaCode
2 . 8 9 5 . 9 1 2
@AkiaCode u aren't ok
wrote more than 1M lines of code across all Github repos
@ThatOneCalculator
1 2 7 . 5 2 6
@ThatOneCalculator are u ok?
wrote more than 100K lines of code across all Github repos
@BerkSpar
1 4 4 . 9 4 6
@BerkSpar are u ok?
wrote more than 100K lines of code across all Github repos
@ibx34
2 0 1 . 1 4 4
@ibx34 are u ok?
wrote more than 100K lines of code across all Github repos
@Domterion
9 3 . 2 5 7
@Domterion what's grass?
wrote more than 10K lines of code across all Github repos
@luanbatistadev
5 . 8 8 7
@luanbatistadev why so dark?
wrote more than 1K lines of code across all Github repos
@TorchedSammy
2 3 . 8 8 5
@TorchedSammy what's grass?
wrote more than 10K lines of code across all Github repos
@ArnabXD
4 4 . 6 6 0
@ArnabXD what's grass?
wrote more than 10K lines of code across all Github repos
@lakscastro
2 . 6 5 9 . 1 4 2
@lakscastro u aren't ok
wrote more than 1M lines of code across all Github repos
Why Kotlin/Ts/Js?
- NodeJS is easy to deploy as serverless functions, so I wrote the server using vanilla JS.
- Typescript is helpful to write libraries, so I did.
- And Kotlin... well, I'm learning Kotlin.
Open Source
Copyright © 2021-present, Laks Castro.
How Many Lines is MIT licensed