Skip to content

luanbatistadev/how-many-lines

Folders and files

NameName
Last commit message
Last commit date

Latest commit

ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 

Repository files navigation

#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.

Add your GitHub stats

To add your GitHub stats here, just auth your account using the application OAuth screen link:





Profile Picture

@Dishit79

5 0 9 . 0 2 2

@Dishit79 are u ok?

wrote more than 100K lines of code across all Github repos


Profile Picture

@mathiaslima

9 6 . 9 6 8

@mathiaslima what's grass?

wrote more than 10K lines of code across all Github repos


Profile Picture

@linuxmobile

1 1 . 5 1 6

@linuxmobile what's grass?

wrote more than 10K lines of code across all Github repos


Profile Picture

@MCotocel

8 6 . 9 3 0

@MCotocel what's grass?

wrote more than 10K lines of code across all Github repos


Profile Picture

@arimariojesus

1 6 6 . 5 5 4

@arimariojesus are u ok?

wrote more than 100K lines of code across all Github repos


Profile Picture

@SolomonRosemite

5 2 3 . 2 6 1

@SolomonRosemite are u ok?

wrote more than 100K lines of code across all Github repos


Profile Picture

@mannoeu

2 0 4 . 8 8 4

@mannoeu are u ok?

wrote more than 100K lines of code across all Github repos


Profile Picture

@AkiaCode

2 . 8 9 5 . 9 1 2

@AkiaCode u aren't ok

wrote more than 1M lines of code across all Github repos


Profile Picture

@ThatOneCalculator

1 2 7 . 5 2 6

@ThatOneCalculator are u ok?

wrote more than 100K lines of code across all Github repos


Profile Picture

@BerkSpar

1 4 4 . 9 4 6

@BerkSpar are u ok?

wrote more than 100K lines of code across all Github repos


Profile Picture

@ibx34

2 0 1 . 1 4 4

@ibx34 are u ok?

wrote more than 100K lines of code across all Github repos


Profile Picture

@Domterion

9 3 . 2 5 7

@Domterion what's grass?

wrote more than 10K lines of code across all Github repos


Profile Picture

@luanbatistadev

5 . 8 8 7

@luanbatistadev why so dark?

wrote more than 1K lines of code across all Github repos


Profile Picture

@TorchedSammy

2 3 . 8 8 5

@TorchedSammy what's grass?

wrote more than 10K lines of code across all Github repos


Profile Picture

@ArnabXD

4 4 . 6 6 0

@ArnabXD what's grass?

wrote more than 10K lines of code across all Github repos


Profile Picture

@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 ๐Ÿ’–

About

๐ŸŽฎ How many lines of code have you written throughout your journey on GitHub?

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Contributors 2

  •  
  •