Count number of lines in a GitHub repository without cloning

There are similar questions but all of them need you to clone repository and then run some utility on it.
I need a web-service which can give me those stats (something like using an URL e.g. to get SLOC stats for project1 from GitHub)

  • Using Git and Dropbox together effectively?
  • How to use gitignore on for adding .c9revisions/ folder
  • How to access git remote repo since IP address changed
  • Setting NODE_ENV variable in elasticbeanstalk
  • Can Git and iCloud Drive be effectively used together?
  • How secure is my application source code on heroku?
  • Why does git push give me “Anonymous access to repo#### denied” error?
  • git rm -r --cached not removing submodule folder and contents
  • Is branch level read/write access permission available in Bonobo Git Server?
  • To have extra info at a prompt for Git by Zsh
  • How to revert a specific file in a old commit on git
  • What is the default behaviour of “Resolve using theirs” in git
  • One Solution collect form web for “Count number of lines in a GitHub repository without cloning”

    For GitHub specifically, you have a possibility to compute an approximation of that data (LOC: Lines of Code) through the GitHub Statistics API.

    You can see an example in “Can you get the number of lines of code from a Github repository?”, which does not involve cloning the repo.

    Git Baby is a git and github fan, let's start git clone.