OctoCounts

•
30
•

Calculate and display detailed source lines of code (SLOC) metrics for public GitHub repositories without requiring a local git clone.

OctoCounts bridges the gap in GitHub's native interface by replacing standard language percentage bars with comprehensive source lines of code (SLOC) metrics. Powered by the high-performance Tokei engine, it downloads repository archive tarballs instead of performing full git clones, rapidly parsing files, code lines, comments, and blank lines across branches, tags, and commits. Available across multiple surfaces—including browser extensions, a web interface, dynamic README badges, a CLI, a GitHub Action, and an MCP server—OctoCounts provides instant, cached codebase size intelligence for developers, reviewers, and AI agents.

Características Principales

0117 GitHub stars
02Breaks down codebases into precise counts for files, code lines, comments, blanks, and languages via Tokei
03Analyzes repositories quickly using tarball downloads rather than slow git clones
04Provides an MCP server interface to expose SLOC reports and metrics directly to AI agents
05Offers dynamic, embeddable README badges for overall repositories or specific languages
06Integrates directly into GitHub sidebars across Chrome, Firefox, and Edge browsers

Casos de Uso

01Evaluating repository size, complexity, and language breakdown before contributing or adopting dependencies
02Giving AI agents context on repository scale and composition via the Model Context Protocol
03Tracking SLOC changes directly in pull requests using GitHub Actions