karpathy/nanochat SLOC report

As of 2026-09-03 (commit 92d63d4e8bb4), karpathy/nanochat contains 9,428 total lines: 5,935 code, 2,128 comments, 1,365 blank, across 40 files in 5 languages (top: Python 87.8%). Counted with tokei via OctoCounts.

As of 2026-09-03 (commit 92d63d4e8bb4), karpathy/nanochat contains 9,428 total lines: 5,935 code, 2,128 comments, 1,365 blank, across 40 files in 5 languages (top: Python 87.8%). Counted with tokei via OctoCounts.

OctoCounts produced this report by resolving karpathy/nanochat to commit 92d63d4e8bb4, downloading the repository source archive, and counting every source file with tokei, the open-source line counter written in Rust. The table below breaks the count down by programming language into files, total lines, code lines, comment lines, and blank lines, so the figures can be compared across languages and projects. Results are cached by commit, tokei version, and analysis options, so counting the same revision again reproduces exactly these numbers.

Repository size insights

This is a small codebase by counted code lines. Code represents 63.0% of all lines, comments represent 22.6%, and the repository averages 148 code lines per file. Python accounts for 87.8% of counted code.

LanguageFilesLinesCodeCommentsBlanks
Python3067155213805697
Jupyter Notebooks2785445216124
Shell438421610365
TOML1696117
Markdown3147501003472

Top language (Python 87.8%). Generated at 2026-09-03T11:50:00.084816401+00:00.

Report FAQ

How many lines of code does karpathy/nanochat have?

karpathy/nanochat has 9,428 total lines, including 5,935 code lines, 2,128 comment lines, and 1,365 blank lines.

How was the karpathy/nanochat line count measured?

OctoCounts resolved the public GitHub repository to commit 92d63d4e8bb4, downloaded the source archive, counted it with tokei, and cached the report by commit, tokei version, and analysis options.

What commit was counted for karpathy/nanochat?

This OctoCounts report was generated from master at commit 92d63d4e8bb4 on 2026-09-03T11:50:00.084816401+00:00.

Similar repository reports

Other public repositories with an OctoCounts report, ranked by top language and code size similarity: