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?
  • Larger Scale Web Project Planning
  • How secure is my application source code on heroku?
  • Unable to recover a file in Git
  • Why did git push so much data?
  • How to to disable Git end-of-line (CRLF to LF) across all clones/machines?
  • push an 'unchecked out' branch
  • Update a development team with rewritten Git repo history, removing big files
  • How do I get a “git log” patch for a specific commit
  • 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.