# YTwsy/OpenSurge-for-Mac SLOC report

> As of 2026-08-02 (commit c9e8ab6b6979), YTwsy/OpenSurge-for-Mac contains 46,632 total lines: 35,711 code, 6,162 comments, 4,759 blank, across 246 files in 15 languages (top: Go 60.8%). Counted with tokei via OctoCounts.

OctoCounts produced this report by resolving YTwsy/OpenSurge-for-Mac to commit c9e8ab6b6979, 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 medium-sized codebase by counted code lines. Code represents 76.6% of all lines, comments represent 13.2%, and the repository averages 145 code lines per file. Go accounts for 60.8% of counted code.

| Language | Files | Lines | Code | Comments | Blanks |
| --- | ---: | ---: | ---: | ---: | ---: |
| Go | 88 | 23,465 | 21,696 | 144 | 1,625 |
| Shell | 19 | 4,762 | 4,340 | 47 | 375 |
| TSX | 31 | 4,224 | 3,846 | 12 | 366 |
| Swift | 15 | 2,576 | 2,294 | 19 | 263 |
| YAML | 9 | 1,986 | 1,571 | 39 | 376 |
| TypeScript | 16 | 774 | 698 | 6 | 70 |
| CSS | 1 | 663 | 654 | 1 | 8 |
| SVG | 6 | 324 | 306 | 0 | 18 |
| Makefile | 1 | 170 | 117 | 0 | 53 |
| BASH | 2 | 91 | 67 | 13 | 11 |
| JSON | 5 | 67 | 67 | 0 | 0 |
| Templ | 1 | 47 | 40 | 0 | 7 |

Top language (Go 60.8%). Generated at 2026-08-02T00:23:08.388187545+00:00. Canonical report: https://octocounts.com/github/YTwsy/OpenSurge-for-Mac

## Report FAQ

### How many lines of code does YTwsy/OpenSurge-for-Mac have?

YTwsy/OpenSurge-for-Mac has 46,632 total lines, including 35,711 code lines, 6,162 comment lines, and 4,759 blank lines.

### How was the YTwsy/OpenSurge-for-Mac line count measured?

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

### What commit was counted for YTwsy/OpenSurge-for-Mac?

This OctoCounts report was generated from master at commit c9e8ab6b6979 on 2026-08-02T00:23:08.388187545+00:00.

## Similar repository reports

- [masterking32/MasterDnsVPN](https://octocounts.com/github/masterking32/MasterDnsVPN) — Go, 35,505 code lines
- [fluxcd/flux2](https://octocounts.com/github/fluxcd/flux2) — Go, 35,469 code lines
- [refraction-networking/utls](https://octocounts.com/github/refraction-networking/utls) — Go, 34,419 code lines
- [go-kratos/blades](https://octocounts.com/github/go-kratos/blades) — Go, 33,869 code lines
- [labstack/echo](https://octocounts.com/github/labstack/echo) — Go, 33,273 code lines
- [agentrq/agentrq](https://octocounts.com/github/agentrq/agentrq) — Go, 33,155 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)
- [OctoCounts API docs](https://octocounts.com/docs/api)
