# Zettlr/Zettlr SLOC report

> As of 2026-11-22 (commit c6ca54a9cc7a), Zettlr/Zettlr contains 323,570 total lines: 173,013 code, 97,879 comments, 52,678 blank, across 800 files in 17 languages (top programming language: TypeScript 21.5%). Canonical public options (tests, docs and generated files excluded). Counted with tokei via OctoCounts.

Source: [Zettlr/Zettlr on GitHub](https://github.com/Zettlr/Zettlr) · counted commit [c6ca54a9cc7a](https://github.com/Zettlr/Zettlr/tree/c6ca54a9cc7a729d7af291af4f0bcb3411b36798)

Zettlr/Zettlr has 173,013 source lines of code out of 323,570 total lines across 800 files, counted with tokei from the develop ref at commit c6ca54a9cc7a on November 22, 2026. Tests, docs and generated files are excluded under OctoCounts' canonical public options.

OctoCounts produced this report by resolving Zettlr/Zettlr to commit c6ca54a9cc7a, downloading the repository source archive, and counting files selected by the effective rules 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; an exact reproduction needs the same commit, engine version, and effective counting rules.

## Counting rules and retention

Zettlr/Zettlr: tokei-15.0.0, policy directories-v1; docs excluded, tests excluded, generated excluded. Excluded directory names: .cache, .generated, .git, .next, __tests__, build, dist, doc, docs, documentation, fixtures, gen, generated, node_modules, target, test, tests, vendor. Ignored languages: none. Repository declarations: off. Exclusions are rule-based; they do not prove that every test, document or generated file was removed.

Saved reports remain subject to cache cleanup and replacement. Export the JSON or text for durable citation; live repository URLs can change.

## Repository size insights

This is a large codebase by counted code lines. Code represents 53.5% of all lines, comments represent 30.2%, and the repository averages 216 code lines per file. TypeScript is the largest programming language at 21.5% of counted code; data and prose formats such as JSON or YAML hold a larger share.

| Language | Files | Lines | Code | Comments | Blanks |
| --- | ---: | ---: | ---: | ---: | ---: |
| PO File | 34 | 193,679 | 86,427 | 65,084 | 42,168 |
| XML | 64 | 45,087 | 42,036 | 1,826 | 1,225 |
| TypeScript | 408 | 62,702 | 37,140 | 19,650 | 5,912 |
| SVG | 25 | 1,783 | 1,746 | 13 | 24 |
| JSON | 14 | 1,431 | 1,429 | 0 | 2 |
| Vue | 108 | 1,634 | 1,375 | 29 | 230 |
| JavaScript | 15 | 1,409 | 926 | 356 | 127 |
| CSS | 8 | 901 | 585 | 184 | 132 |
| YAML | 21 | 492 | 359 | 132 | 1 |
| Shell | 8 | 485 | 270 | 140 | 75 |
| PHP | 1 | 299 | 234 | 28 | 37 |
| GLSL | 2 | 269 | 159 | 71 | 39 |

Top programming language: TypeScript 21.5%. Generated on November 22, 2026. Canonical report: https://octocounts.com/github/Zettlr/Zettlr

## Reproduce this report

[Reproduce this exact report and configuration](https://octocounts.com/github/Zettlr/Zettlr/commit/c6ca54a9cc7a729d7af291af4f0bcb3411b36798?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&reportId=13a5f036fdbc517896ad936d0d34ee330d6447e609a807fb64e794d31f6d80ef).

## Report FAQ

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

Zettlr/Zettlr has 173,013 lines of code, plus 97,879 comment lines and 52,678 blank lines, for 323,570 total lines at commit c6ca54a9cc7a on November 22, 2026. Tests, docs and generated files are excluded under OctoCounts' canonical public options.

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

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

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

This OctoCounts report was generated from develop at commit c6ca54a9cc7a on November 22, 2026.

## 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)
- [Largest codebases by programming language](https://octocounts.com/languages)
- [Next.js vs Vite](https://octocounts.com/compare/nextjs-vs-vite)
- [Angular vs Vue](https://octocounts.com/compare/angular-vs-vue)
- [Svelte vs Vue](https://octocounts.com/compare/svelte-vs-vue)
- [How to count lines of code in a GitHub repository](https://octocounts.com/docs/count-lines-of-code-github)
- [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)
- [All OctoCounts guides](https://octocounts.com/docs)
