XTLS/Xray-core

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.

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.

Repository size insights

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.

LanguageFilesLinesCodeCommentsBlanks
Go1068191494162474759621424
Protocol Buffers8328012063200538
BASH28865518
GNU Style Assembly26551311
HTML1111100
Markdown47100542168

Top language (Go 98.7%). Generated at .

Reproduce this report

Reproduce this exact report and configuration.

Report FAQ

How many lines of code does XTLS/Xray-core have?

XTLS/Xray-core has 195,169 total lines, including 164,664 code lines, 8,346 comment lines, and 22,159 blank lines.

How was the XTLS/Xray-core line count measured?

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.

What commit was counted for XTLS/Xray-core?

This OctoCounts report was generated from main at commit 1b1647cd9ddf on 2026-10-22T04:51:31.304869934+00:00.

Similar repository reports

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.