# go-gitea/gitea SLOC report

> As of 2026-10-22 (commit aaeb502b3045), go-gitea/gitea contains 691,584 total lines: 575,479 code, 53,332 comments, 62,773 blank, across 4,038 files in 22 languages (top: Go 58.4%). Custom configuration (tests excluded, docs excluded, generated excluded). Counted with tokei via OctoCounts.

go-gitea/gitea has 575,479 source lines of code out of 691,584 total lines across 4,038 files, counted from the main ref at commit aaeb502b3045 by the OctoCounts tokei engine on 2026-10-22. 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 go-gitea/gitea to commit aaeb502b3045, 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 83.2% of all lines, comments represent 7.7%, and the repository averages 143 code lines per file. Go accounts for 58.4% of counted code.

| Language | Files | Lines | Code | Comments | Blanks |
| --- | ---: | ---: | ---: | ---: | ---: |
| Go | 2,875 | 437,374 | 336,016 | 46,536 | 54,822 |
| JSON | 51 | 169,304 | 169,295 | 0 | 9 |
| Templ | 589 | 29,018 | 27,596 | 573 | 849 |
| TypeScript | 235 | 23,124 | 19,418 | 1,438 | 2,268 |
| CSS | 92 | 14,429 | 12,070 | 403 | 1,956 |
| YAML | 39 | 9,619 | 7,820 | 3 | 1,796 |
| SVG | 69 | 597 | 593 | 2 | 2 |
| Jsonnet | 7 | 577 | 549 | 8 | 20 |
| Shell | 16 | 759 | 523 | 110 | 126 |
| Makefile | 2 | 676 | 515 | 19 | 142 |
| Vue | 23 | 479 | 428 | 14 | 37 |
| BASH | 12 | 342 | 228 | 64 | 50 |

Top language (Go 58.4%). Generated at 2026-10-22T05:02:43.184321749+00:00. Canonical report: https://octocounts.com/github/go-gitea/gitea

## Reproduce this report

[Reproduce this exact report and configuration](https://octocounts.com/github/go-gitea/gitea/commit/aaeb502b304587a36ef35f4686ec99b5fc9d99e6?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=0d713153f2d0a467381d8dff724aca03764ff20f934ffe1d089400ae9cadf5d3).

## Report FAQ

### How many lines of code does go-gitea/gitea have?

go-gitea/gitea has 691,584 total lines, including 575,479 code lines, 53,332 comment lines, and 62,773 blank lines.

### How was the go-gitea/gitea line count measured?

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

### What commit was counted for go-gitea/gitea?

This OctoCounts report was generated from main at commit aaeb502b3045 on 2026-10-22T05:02:43.184321749+00:00.

## Similar repository reports

- [tx7do/go-wind-admin](https://octocounts.com/github/tx7do/go-wind-admin) — Go, 591,140 code lines
- [AgentsMesh/AgentsMesh](https://octocounts.com/github/AgentsMesh/AgentsMesh) — Go, 592,385 code lines
- [strelov1/freehire](https://octocounts.com/github/strelov1/freehire) — Go, 598,085 code lines
- [hashicorp/terraform](https://octocounts.com/github/hashicorp/terraform) — Go, 600,461 code lines
- [dydxprotocol/v4-chain](https://octocounts.com/github/dydxprotocol/v4-chain) — Go, 615,669 code lines
- [openbao/openbao](https://octocounts.com/github/openbao/openbao) — Go, 537,839 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)
- [Deno vs Node.js](https://octocounts.com/compare/deno-vs-node)
- [Kubernetes vs Terraform](https://octocounts.com/compare/kubernetes-vs-terraform)
- [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)
