XTLS/Xray-core has 164,664 source lines of code out of 195,169 total lines across 1,160 files, counted from the main ref at commit 1b1647cd9ddf 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.
As of 2026-10-22 (commit 1b1647cd9ddf), XTLS/Xray-core contains 195,169 total lines: 164,664 code, 8,346 comments, 22,159 blank, across 1,160 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 1b1647cd9ddf, 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.4% of all lines, comments represent 4.3%, and the repository averages 142 code lines per file. Go accounts for 98.7% of counted code.
| Language | Files | Lines | Code | Comments | Blanks |
|---|---|---|---|---|---|
| Go | 1068 | 191494 | 162474 | 7596 | 21424 |
| Protocol Buffers | 83 | 2801 | 2063 | 200 | 538 |
| 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 195,169 total lines, including 164,664 code lines, 8,346 comment lines, and 22,159 blank lines.
OctoCounts resolved the public GitHub repository to commit 1b1647cd9ddf, 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 1b1647cd9ddf on 2026-10-22T04:51:31.304869934+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 — 164,664 code lines across 6 languages, counted by tokei.