A Open Source CLI/Server/Workflow/Library to get line count of all GitHub repositories of a specific account
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.
- 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
- 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
Software always can be improved, so fill a issue to point where we can do it! Thanks.
To add your GitHub stats here, just auth your account using the application OAuth screen link:
@Dishit79 are u ok?
@mathiaslima what's grass?
@linuxmobile what's grass?
@MCotocel what's grass?
@arimariojesus are u ok?
@SolomonRosemite are u ok?
@mannoeu are u ok?
@AkiaCode u aren't ok
@ThatOneCalculator are u ok?
@BerkSpar are u ok?
@ibx34 are u ok?
@Domterion what's grass?
@luanbatistadev why so dark?
@TorchedSammy what's grass?
@ArnabXD what's grass?
@lakscastro u aren't ok
- 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.
Copyright ยฉ 2021-present, Laks Castro.
How Many Lines is MIT licensed ๐