GithubHelp home page GithubHelp logo

luanbatistadev / how-many-lines Goto Github PK

View Code? Open in Web Editor NEW
2.0 0.0 0.0 253 KB

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

Home Page: https://github.com/login/oauth/authorize?scope=repo&client_id=aadfebb55f7e10f9f191

License: MIT License

TypeScript 17.91% Shell 0.72% JavaScript 8.70% Kotlin 72.67%

how-many-lines's Introduction

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

how-many-lines's People

Contributors

alexrintt avatar github-actions[bot] avatar luanbatistadev avatar

Stargazers

 avatar  avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.