XTLS/Xray-core has 162,357 source lines of code out of 192,500 total lines across 1,153 files, counted from the main ref at commit 92ccc939aaf4 by the OctoCounts tokei engine on 2026-10-17. The report is cached by commit, tokei version, and analysis options, so recounting the same revision returns exactly these numbers.
As of 2026-10-17 (commit 92ccc939aaf4), XTLS/Xray-core contains 192,500 total lines: 162,357 code, 8,179 comments, 21,964 blank, across 1,153 files in 6 languages (top: Go 98.7%). Custom configuration (tests excluded, docs excluded, generated excluded). Counted with tokei via OctoCounts.
OctoCounts produced this report by resolving XTLS/Xray-core to commit 92ccc939aaf4, 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 84.3% of all lines, comments represent 4.2%, and the repository averages 141 code lines per file. Go accounts for 98.7% of counted code.
| Language | Files | Lines | Code | Comments | Blanks |
|---|---|---|---|---|---|
| Go | 1062 | 188842 | 160180 | 7429 | 21233 |
| Protocol Buffers | 82 | 2784 | 2050 | 200 | 534 |
| BASH | 2 | 88 | 65 | 5 | 18 |
| GNU Style Assembly | 2 | 65 | 51 | 3 | 11 |
| HTML | 1 | 11 | 11 | 0 | 0 |
| Markdown | 4 | 710 | 0 | 542 | 168 |
Top language (Go 98.7%). Generated at .
XTLS/Xray-core has 192,500 total lines, including 162,357 code lines, 8,179 comment lines, and 21,964 blank lines.
OctoCounts resolved the public GitHub repository to commit 92ccc939aaf4, 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 92ccc939aaf4 on 2026-10-17T19:33:17.352389024+00:00.
Other public repositories with an OctoCounts report, ranked by top language and code size similarity:
Play the growth animation for XTLS/Xray-core on this page — 162,357 code lines across 6 languages, counted by tokei.