# tradingview/lightweight-charts SLOC report

> As of 2026-09-07 (commit 1cc1a2ae69b1), tradingview/lightweight-charts contains 110,237 total lines: 76,353 code, 20,778 comments, 13,106 blank, across 884 files in 13 languages (top: TypeScript 44.1%). Counted with tokei via OctoCounts.

OctoCounts produced this report by resolving tradingview/lightweight-charts to commit 1cc1a2ae69b1, 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 69.3% of all lines, comments represent 18.8%, and the repository averages 86 code lines per file. TypeScript accounts for 44.1% of counted code.

| Language | Files | Lines | Code | Comments | Blanks |
| --- | ---: | ---: | ---: | ---: | ---: |
| TypeScript | 456 | 45,785 | 33,702 | 5,987 | 6,096 |
| JSON | 51 | 26,097 | 26,096 | 0 | 1 |
| JavaScript | 64 | 12,987 | 11,747 | 501 | 739 |
| HTML | 73 | 1,753 | 1,722 | 15 | 16 |
| CSS | 18 | 1,758 | 1,454 | 71 | 233 |
| TSX | 15 | 1,131 | 985 | 33 | 113 |
| JSX | 3 | 388 | 320 | 17 | 51 |
| Shell | 7 | 199 | 146 | 12 | 41 |
| SVG | 15 | 135 | 130 | 4 | 1 |
| YAML | 19 | 33 | 33 | 0 | 0 |
| Vue | 3 | 23 | 18 | 0 | 5 |
| MDX | 57 | 6,784 | 0 | 5,193 | 1,591 |

Top language (TypeScript 44.1%). Generated at 2026-09-07T16:20:50.216842973+00:00. Canonical report: https://octocounts.com/github/tradingview/lightweight-charts

## Report FAQ

### How many lines of code does tradingview/lightweight-charts have?

tradingview/lightweight-charts has 110,237 total lines, including 76,353 code lines, 20,778 comment lines, and 13,106 blank lines.

### How was the tradingview/lightweight-charts line count measured?

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

### What commit was counted for tradingview/lightweight-charts?

This OctoCounts report was generated from 1cc1a2ae69b1f8b46b64b65ed2d5f765ce2a7c21 at commit 1cc1a2ae69b1 on 2026-09-07T16:20:50.216842973+00:00.

## Similar repository reports

- [garrytan/gstack](https://octocounts.com/github/garrytan/gstack) — TypeScript, 76,919 code lines
- [alvinunreal/oh-my-opencode-slim](https://octocounts.com/github/alvinunreal/oh-my-opencode-slim) — TypeScript, 76,974 code lines
- [openai/codex-security](https://octocounts.com/github/openai/codex-security) — TypeScript, 77,053 code lines
- [vikiboss/60s](https://octocounts.com/github/vikiboss/60s) — TypeScript, 74,923 code lines
- [anywhere-labs/dsh-desktop](https://octocounts.com/github/anywhere-labs/dsh-desktop) — TypeScript, 77,811 code lines
- [rohitg00/agentmemory](https://octocounts.com/github/rohitg00/agentmemory) — TypeScript, 74,698 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)
- [Next.js vs Vite](https://octocounts.com/compare/nextjs-vs-vite)
- [Angular vs Vue](https://octocounts.com/compare/angular-vs-vue)
- [Svelte vs Vue](https://octocounts.com/compare/svelte-vs-vue)
- [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)
