Updated October 29, 2026 · Maintained by huanglizhuo

OctoCounts guides: counting lines of code in GitHub repositories

OctoCounts is a free SLOC counter for public GitHub repositories. These guides explain how to count lines of code in a GitHub repository with or without cloning it, how tokei, cloc, scc, and GitHub's language bar differ, how OctoCounts counts and how to cite its numbers, and how to use its API, README badges, and browser extension.

Count lines of code

SLOC tools compared

Data and research

Reference

简体中文