XTLS/Xray-core has 149,449 source lines of code out of 177,460 total lines across 1,104 files, counted from the main ref at commit 7da5dae6502b by the OctoCounts tokei engine on 2026-10-05. The report is cached by commit, tokei version, and analysis options, so recounting the same revision returns exactly these numbers.
As of 2026-10-05 (commit 7da5dae6502b), XTLS/Xray-core contains 177,460 total lines: 149,449 code, 6,902 comments, 21,109 blank, across 1,104 files in 6 languages (top: Go 98.6%). Custom configuration (tests excluded, docs excluded, generated excluded). Counted with tokei via OctoCounts.
OctoCounts produced this report by resolving XTLS/Xray-core to commit 7da5dae6502b, 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.2% of all lines, comments represent 3.9%, and the repository averages 135 code lines per file. Go accounts for 98.6% of counted code.
| Language | Files | Lines | Code | Comments | Blanks |
|---|---|---|---|---|---|
| Go | 1013 | 173848 | 147290 | 6167 | 20391 |
| Protocol Buffers | 82 | 2762 | 2032 | 200 | 530 |
| BASH | 2 | 88 | 65 | 5 | 18 |
| GNU Style Assembly | 2 | 65 | 51 | 3 | 11 |
| HTML | 1 | 11 | 11 | 0 | 0 |
| Markdown | 4 | 686 | 0 | 527 | 159 |
Top language (Go 98.6%). Generated at .
XTLS/Xray-core has 177,460 total lines, including 149,449 code lines, 6,902 comment lines, and 21,109 blank lines.
OctoCounts resolved the public GitHub repository to commit 7da5dae6502b, 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 7da5dae6502b on 2026-10-05T16:06:48.508692629+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 — 149,449 code lines across 6 languages, counted by tokei.