Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/kas-elvirov/gloc
Browser extension: counts lines of code on GitHub
https://github.com/kas-elvirov/gloc
chrome code-counter counter github-extension gloc metrics sloc
Last synced: 3 days ago
JSON representation
Browser extension: counts lines of code on GitHub
- Host: GitHub
- URL: https://github.com/kas-elvirov/gloc
- Owner: kas-elvirov
- License: gpl-2.0
- Created: 2017-02-06T11:52:30.000Z (about 8 years ago)
- Default Branch: master
- Last Pushed: 2025-01-08T13:17:24.000Z (about 1 month ago)
- Last Synced: 2025-02-08T16:03:19.839Z (10 days ago)
- Topics: chrome, code-counter, counter, github-extension, gloc, metrics, sloc
- Language: TypeScript
- Homepage: https://chrome.google.com/webstore/detail/gloc/kaodcnpebhdbpaeeemkiobcokcnegdki
- Size: 10.8 MB
- Stars: 618
- Watchers: 10
- Forks: 43
- Open Issues: 4
-
Metadata Files:
- Readme: README.md
- Changelog: CHANGELOG.md
- Contributing: CONTRIBUTING.md
- Funding: .github/FUNDING.yml
- License: LICENSE
- Code of conduct: CODE_OF_CONDUCT.md
- Security: SECURITY.md
Awesome Lists containing this project
README



___# Browser extension GLOC ( [Chrome](https://chrome.google.com/webstore/detail/gloc-github-counter-lines/kaodcnpebhdbpaeeemkiobcokcnegdki?utm_source=chrome-ntp-icon), [Opera](https://addons.opera.com/en/extensions/details/github-gloc/), [Firefox](https://addons.mozilla.org/en-US/firefox/addon/gloc/), [Edge](https://microsoftedge.microsoft.com/addons/detail/github-gloc/kajgeahhljoinicmpkogimkcpecnnihh?hl=en-GB) )



## DISCLAIMER
Github does not have a function to view the total number of lines of code in the project but we can to compute an approximation of that data (LOC: Lines of Code) through the GitHub Statistics API. Some glitches may occur, such as negative loc or unavailable data for many reasons## History and origins
- **Gloc** means - 'Github lines of code counter'
- Initial version: 2.0.1 ( 2017, 12 february )
- I made this extension in the **Russian Army** while was on duty. My fastest open-source ever )## Description
Works for **public** and **private** reposCounts lines of code in:
- project detail page ([check it out](https://github.com/torvalds/linux))Previosly was counting there but i decided to stop it because it's huge load on the services of GutHub (ethics etc.)
- user's pinned repos ([check it out](https://github.com/torvalds))
- user's repositories ([check it out](https://github.com/torvalds?tab=repositories))
- user's liked repositories ([check it out](https://github.com/torvalds?tab=stars))
- organization page ([check it out](https://github.com/facebook))
- search results page ([check it out](https://github.com/search?q=react))
- trending page ([check it out](https://github.com/trending))
- explore page ([check it out](https://github.com/explore))## Screens


## Installation
1. Go to `More tools` --> `Extensions`
2. Scroll below and click `Get more extensions`
3. Search `gloc` --> and click `Add to Chrome`## **Quick links**
* **[Issues, bugs](https://github.com/kas-elvirov/gloc/issues)**
* **[Privacy policy](PRIVACY.md)**___
##  **Credits**
### Assets
* App [icon](https://www.flaticon.com/free-icon/github_23586#term=github&page=1&position=15) made by [Icomoon](https://www.flaticon.com/authors/icomoon) from [www.flaticon.com](https://www.flaticon.com/) is lecensed by [CC 3.0 BY](http://creativecommons.org/licenses/by/3.0)
* Ads icon made by [SimpleIcon](https://www.flaticon.com/authors/simpleicon) from [www.flaticon.com](https://www.flaticon.com/) is lecensed by [CC 3.0 BY](http://creativecommons.org/licenses/by/3.0)
* Browser's [icons](https://www.flaticon.com/packs/logo-502) made by [Pixel perfect](https://www.flaticon.com/authors/pixel-perfect) from [www.flaticon.com](https://www.flaticon.com/) is lecensed by [CC 3.0 BY](http://creativecommons.org/licenses/by/3.0)### Sponsors
- [Curtis Conard](https://github.com/cconard96)