jolav / codetabs

Free Online Services. Github/GitLab star history. Count Lines of Code. CORS proxy server. IP GeoLocation. HTTP Headers. Random Data. Api weather temp. Alexa ranking.
https://codetabs.com
BSD 3-Clause "New" or "Revised" License
238 stars 32 forks source link

Ability to pass repository from url to count lines of code #9

Closed khoren93 closed 4 years ago

khoren93 commented 4 years ago

It would be nice if we could pass the repository via url, something like this https://codetabs.com/count-loc/count-loc-online.html/#khoren93/swifthub

and also I would like to know if the license allows integrating the module 'count lines of code' into my project?

Thanks!

jolav commented 4 years ago

It would be nice if we could pass the repository via url, something like this https://codetabs.com/count-loc/count-loc-online.html/#khoren93/swifthub

You can GET Request -> https://api.codetabs.com/v1/loc?github=username/reponame example : https://api.codetabs.com/v1/loc?github=jolav/betazone

and also I would like to know if the license allows integrating the module 'count lines of code' into my project?

Sure

khoren93 commented 4 years ago

Thanks