As of 2026-09-12 (commit a73e705a5f30), typst/typst contains 124,618 total lines: 101,819 code, 8,007 comments, 14,792 blank, across 513 files in 7 languages (top: Rust 97.9%). Counted with tokei via OctoCounts.
OctoCounts produced this report by resolving typst/typst to commit a73e705a5f30, 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.
This is a large codebase by counted code lines. Code represents 81.7% of all lines, comments represent 6.4%, and the repository averages 198 code lines per file. Rust accounts for 97.9% of counted code.
| Language | Files | Lines | Code | Comments | Blanks |
|---|---|---|---|---|---|
| Rust | 381 | 120712 | 99690 | 6459 | 14563 |
| TOML | 20 | 1051 | 945 | 29 | 77 |
| TypeScript | 1 | 709 | 584 | 55 | 70 |
| JSON | 5 | 562 | 562 | 0 | 0 |
| Dockerfile | 1 | 47 | 38 | 1 | 8 |
| Markdown | 5 | 453 | 0 | 379 | 74 |
| Plain Text | 100 | 1084 | 0 | 1084 | 0 |
Top language (Rust 97.9%). Generated at .
typst/typst has 124,618 total lines, including 101,819 code lines, 8,007 comment lines, and 14,792 blank lines.
OctoCounts resolved the public GitHub repository to commit a73e705a5f30, downloaded the source archive, counted it with tokei, and cached the report by commit, tokei version, and analysis options.
This OctoCounts report was generated from main at commit a73e705a5f30 on 2026-09-12T04:38:52.053623369+00:00.
Other public repositories with an OctoCounts report, ranked by top language and code size similarity: