# typst/typst SLOC report

> As of 2026-09-16 (commit 586e1bd43fae), typst/typst contains 124,753 total lines: 101,931 code, 8,011 comments, 14,811 blank, across 513 files in 7 languages (top: Rust 97.9%). Custom configuration (tests excluded, docs excluded, generated excluded). Counted with tokei via OctoCounts.

typst/typst has 101,931 source lines of code out of 124,753 total lines across 513 files, counted from the 586e1bd43fae6c9a973218163d3165c53ab8d16d ref at commit 586e1bd43fae by the OctoCounts tokei engine on 2026-09-16. The report is cached by commit, tokei version, and analysis options, so recounting the same revision returns exactly these numbers.

OctoCounts produced this report by resolving typst/typst to commit 586e1bd43fae, 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 large codebase by counted code lines. Code represents 81.7% of all lines, comments represent 6.4%, and the repository averages 199 code lines per file. Rust accounts for 97.9% of counted code.

| Language | Files | Lines | Code | Comments | Blanks |
| --- | ---: | ---: | ---: | ---: | ---: |
| Rust | 381 | 120,847 | 99,802 | 6,463 | 14,582 |
| TOML | 20 | 1,051 | 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 | 1,084 | 0 | 1,084 | 0 |

Top language (Rust 97.9%). Generated at 2026-09-16T09:58:19.819326235+00:00. Canonical report: https://octocounts.com/github/typst/typst

## Reproduce this report

[Reproduce this exact report and configuration](https://octocounts.com/github/typst/typst/commit/586e1bd43fae6c9a973218163d3165c53ab8d16d?analysis=%7B%22ignoredDirs%22%3A%5B%5D%2C%22ignoredLanguages%22%3A%5B%5D%2C%22profile%22%3A%22default%22%2C%22includeDocs%22%3Afalse%2C%22includeTests%22%3Afalse%2C%22includeGenerated%22%3Afalse%7D).

## Report FAQ

### How many lines of code does typst/typst have?

typst/typst has 124,753 total lines, including 101,931 code lines, 8,011 comment lines, and 14,811 blank lines.

### How was the typst/typst line count measured?

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

### What commit was counted for typst/typst?

This OctoCounts report was generated from 586e1bd43fae6c9a973218163d3165c53ab8d16d at commit 586e1bd43fae on 2026-09-16T09:58:19.819326235+00:00.

## Similar repository reports

- [rtk-ai/rtk](https://octocounts.com/github/rtk-ai/rtk) — Rust, 104,806 code lines
- [ultraworkers/claw-code](https://octocounts.com/github/ultraworkers/claw-code) — Rust, 99,011 code lines
- [AprilNEA/OpenLogi](https://octocounts.com/github/AprilNEA/OpenLogi) — Rust, 105,549 code lines
- [kylejckson/PaintFE](https://octocounts.com/github/kylejckson/PaintFE) — Rust, 97,092 code lines
- [vicanso/zedis](https://octocounts.com/github/vicanso/zedis) — Rust, 97,016 code lines
- [ataraxy-labs/sem](https://octocounts.com/github/ataraxy-labs/sem) — Rust, 107,404 code lines

## Related OctoCounts pages

- [Recently analyzed repositories](https://octocounts.com/recent)
- [Popular SLOC reports](https://octocounts.com/popular)
- [Trending GitHub repositories](https://octocounts.com/trending)
- [Hall of Monoliths](https://octocounts.com/hall-of-monoliths)
- [Rust vs Go](https://octocounts.com/compare/rust-vs-go)
- [Electron vs Tauri](https://octocounts.com/compare/electron-vs-tauri)
- [Deno vs Node.js](https://octocounts.com/compare/deno-vs-node)
- [GitHub SLOC counter guide](https://octocounts.com/docs/github-sloc-counter)
- [Counting methodology](https://octocounts.com/docs/methodology)
- [SLOC and code metrics glossary](https://octocounts.com/docs/glossary)
- [Original research: how filtering changes SLOC counts](https://octocounts.com/research)
- [OctoCounts API docs](https://octocounts.com/docs/api)
