extension ExtPose

GitHub Gloc

CRX id


Description from extension meta

Gives you approximate count of lines of code on GitHub

Image from store GitHub Gloc
Description from store Works for public and private repositories. Gives you approximate count of lines of code from: - project detail page, - user's repositories, - organization page, - search results page, - trending page.

Latest reviews

  • (2023-09-26) Praful Bandre: Cool
  • (2023-06-02) José Gabriel Espinoza Reyes: Cool project, but I doubt Qt5 is 10 times smaller than CURL
  • (2022-10-17) Dominik Roháček: Unfortunatelly it calculates something else than I expected. On my repo it has reported 440k lines. When I tried cloc on my local copy it said ~90000k. Also some way to calculate per directory would help (as vendor reposiotry acconuts about half of the repo.)
  • (2022-09-06) Isak Ederlöv: It does what it's supposed to but it's not really any help for web development puroposes since package.json and package-lock.json files are counted and can't be disabled
  • (2022-08-29) Asanka Siriwardena: Great, I had some sample projects that needs counting lines of code. This worked like a charm
  • (2022-06-11) magnus julius silanus: Usefull and easy to use tool.
  • (2022-06-06) Niklas Möller: Well done!
  • (2022-02-14) Zhi Feng Heng: Thanks for this! Very useful! Can i just confirm the LOC does not include codes from package.json (dependency libraries)?
  • (2022-01-20) Xavier Gonzalez: How do I actually use this?
  • (2021-07-18) Amin Ya: If it can show the lines of code for each file type that would be more useful. Similar to the `cloc` app itself.
  • (2021-04-12) G Lopez: Very useful, works in public repositories and your own.
  • (2021-02-15) Jakub: Good extension, very useful, still supported
  • (2020-10-04) Petrockspiracy: Sometimes it doesn't seem to update properly. For example it says I have 1 line on a repo that I clearly have over a hundred on.
  • (2020-03-05) gothic serpent: very interesting and useful plugin to count lines of code in a repository. just downloaded this to see how many lines were in some popular repos out of curiosity. can be used as a gauge! thanks!
  • (2020-01-24) Benjamin Gallusser: Great little aid for browsing Github with a very responsive dev, can absolutely recommend.
  • (2020-01-24) demir antay: Really useful extension when you want to get a broader idea of how big a repo is before you downloading it. As you can imagine downloading a 10k LoC repo is not going to a lot easier to download than Linux or Wine ... etc. Overall good extension and nice support from Artem.
  • (2019-12-06) Valeriy Ovechkin: Stat is unavailable.
  • (2019-06-26) Fudge “Fudge”: Does not work for private repositories even if I provide an access token. Will update if this is fixed.
  • (2019-03-24) garik duhno: Hm, at first sight, a had no idea, how does it app can help? BUT, use it once, can't stop...
  • (2018-04-04) Dmitry Kolesnikovich: I want to have option to hide this info Total lines in the current directory: 163 By extensions: gitignore - 38, md - 11, xml - 114 So at the end there is only "lines" label
  • (2018-03-17) Matthew Duffin: Very useful, but seems to require refreshing the page to see line counts in directories.
  • (2017-11-29) andrew berry: Doesn't seem to work on private repos.
  • (2017-11-14) Jonathan Barrow: Edit: I originally left a one star review due to it hanging. After refreshing the page, it worked as normal. I am leaving a 4 star since it was still fairly slow (took around 10 minutes) and it sometimes hangs.
  • (2017-10-26) Gustavo Fenilli: Pra uma extensão tão simples de usar é uma otima ferramenta pra manter noção do tamanho do projeto.
  • (2017-08-22) Tomáš Krasoň: Hi, could you maybe implment feature, to show, how many LoC is in different folders? It would be like "my source code folder (2500 lines)"
  • (2017-07-29) Double Orts: Would give it 5/5 if it could be used on branches as well.
  • (2017-06-14) Max von Hippel: Very fast and useful!
  • (2017-04-14) Hadrian Węgrzynowski: Wow, that was unexpected. A cool thing. I would only like to suggest to clearly show what the number would mean. Without any reading I am thinking that it's total lines of all files - including comments, empty lines and readme. It would be nice to write a single line of text telling what number represents.
  • (2017-03-31) 智威于: awesome!
  • (2017-03-08) E Maines: Great for public repo.
  • (2017-02-13) Artem Solovev: Good extension which really helps me.
  • (2017-02-13) Nastya Sergeeva: like +
  • (2017-02-13) Anastasia Sergeeva: mm..good! thanks

Latest issues

  • (2021-02-12, v:8.2.20) ramprasad ramanna: Does this work on Gitlab also
    I am trying to use this on gitlab , does it work on gitlab ?
  • (2021-02-08, v:8.2.20) Birgit Hofer: Negative LOC
    The LOC for https://github.com/icsharpcode/ILSpy says '-114808'. It looks like an integer overflow. Installed CLOC version 8.2.20
  • (2020-10-20, v:8.2.20) Estagiarios UaiTec: MATÉRIA DE inglês
  • (2020-05-15, v:8.2.5) Kas Elvirov: nativeautomations.com (
    Attention for all Update your extension to latest stable version without this analytics 8.2.5 Thank to those who helped discover this issue: @Khutor, @ASalvail
  • (2020-03-05, v:8.2.2) gothic serpent: letter about Github Gloc
    Hi, I think your plugin is great for google chrome, thanks so much for developing it! :) Koshi
  • (2020-02-05, v:8.2.1) Robert Irelan: [GitHub API] Deprecation notice for authentication via URL query parameters
    Recently I've started getting emails from Github like this: """ On ${date} your personal access token (Github GLOC) using ${chrome_user_agent_string} was used as part of a query parameter to access an endpoint through the GitHub API: https://api.github.com/repositories/${repo_id}/stats/code_frequency Please use the Authorization HTTP header instead, as using the `access_token` query parameter is deprecated. Depending on your API usage, we'll be sending you this email reminder once every 3 days for each token and User-Agent used in API calls made on your behalf. Just one URL that was accessed with a token and User-Agent combination will be listed in the email reminder, not all. Visit https://developer.github.com/changes/2019-11-05-deprecated-passwords-and-authorizations-api/#authenticating-using-query-parameters for more information. Thanks, The GitHub Team """ I got this message after navigating to a public repo in a browser with this plugin. In addition, the token is for "Github GLOC", which is this plugin. It appears that the plugin needs an update.
  • (2020-01-23, v:8.2.0) Alex H.: Only count lines of files with known extensions
    I just tried it with this: https://github.com/deadcoder0904/expo-tinder And was surprised by the high count of 8.3k. Until I cloned the repo and ran `wc -l` and realized that it's probably because you also count the lines of `yarn.lock`. Which is why I was going to suggest ignoring that but then... you also have `package-lock.json`. Of course... you might count .json lines. Is that code though? Anyway, just some feedback which I hope will help improve the extension. :)
  • (2019-01-25, v:7.6.17) Сергей Корелин: Вылетает браузер при установке
    Вылетает браузер при установке, Chrome, Версия 71.0.3578.98 (Официальная сборка), (64 бит) Другие версии не проверял
  • (2019-01-23, v:7.6.17) Chad Krause: HERE'S HOW YOU UNINSTALL IT SO IT STOPS CRASHING CHROME
    1. Create a shortcut on your desktop 2. Right click on the shortcut and hit properties 3. Keep all the text in the "target" field, and put "--disable-sync-extensions" (no quotes) at the end of the target 4. Use that shortcut to open chrome 5. Go to chrome web store, click the gear icon in the upper right hand corner by your email, and go to "My Extensions and Apps" 6. Click the "Library" tab at the top of the page and scroll down to Gloc, and hit the x That should remove it and prevent it from trying to load Developers - Don't release an extension that just cycle-crashes Chrome. What's your problem?
  • (2019-01-17, v:7.6.17) CHAN HAENG Lee: Crash Crash Crash
    I used this solution to solve the crash problem. But You can't help deleting your own personal cookie data. https://superuser.com/questions/712346/chrome-crashes-on-extension-load I hope the developer of this program will solve this quickly.
  • (2018-12-21, v:7.6.17) Causes Crashes
    I installed the plugin and the second it loaded and opened its built in web-page, Chrome crashed. Took me 25+ attempts to get to the extensions page and turn it off so I could remove it.
  • (2018-12-09, v:7.6.17) Crashes can't use browser
    Only I open my browser the auth page for this extension opens and crashes it. How can I remove it?
  • (2018-12-01, v:7.6.17) Maximilian S.: Made chrome crash
    This made chrome (Version 71.0.3578.75 (Official Build) beta (64-bit)) crash. However I do not have any crash details, sorry
  • (2018-07-13, v:7.6.17) Harish Kumar Krishnan: Does it work for private repo ?
    I added a ssh key and it says key is valid where as it does not display the reults
  • (2018-04-04, v:7.3.0) Dmitry Kolesnikovich: Hide details
    I want to have option to hide this info Total lines in the current directory: 163 By extensions: gitignore - 38, md - 11, xml - 114 So at the end there is only "lines" label
  • (2018-03-20, v:6.0.0) Joe Julian: Add ignores
    It would be nice to be able to configure patterns that would be ignored in the line count. The "vendor" tree in golang projects for example.
  • (2018-03-01, v:6.0.0) adamarakelian: Can we use this with our own instance?
    We have our own instance of Git Hub...can we use it with that and configure it? Adam


18,119 history
4.3846 (52 votes)
Last update / version
2023-02-06 / 8.2.67
Listing languages