# GreptimeTeam/greptimedb SLOC report

> As of 2026-07-16 (commit c969fb0a5ea1), GreptimeTeam/greptimedb contains 760,103 total lines: 637,097 code, 45,101 comments, 77,905 blank, across 2,085 files in 13 languages (top: Rust 92.2%). Counted with tokei via OctoCounts.

OctoCounts produced this report by resolving GreptimeTeam/greptimedb to commit c969fb0a5ea1, 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 83.8% of all lines, comments represent 5.9%, and the repository averages 306 code lines per file. Rust accounts for 92.2% of counted code.

| Language | Files | Lines | Code | Comments | Blanks |
| --- | ---: | ---: | ---: | ---: | ---: |
| Rust | 1,933 | 704,328 | 587,678 | 40,555 | 76,095 |
| JSON | 5 | 37,814 | 37,814 | 0 | 0 |
| YAML | 5 | 5,716 | 5,625 | 1 | 90 |
| TOML | 86 | 6,737 | 4,310 | 1,640 | 787 |
| Shell | 8 | 586 | 450 | 43 | 93 |
| TypeScript | 6 | 554 | 382 | 112 | 60 |
| Python | 3 | 416 | 300 | 45 | 71 |
| Dockerfile | 9 | 423 | 256 | 67 | 100 |
| Makefile | 1 | 275 | 211 | 17 | 47 |
| Nix | 1 | 61 | 58 | 0 | 3 |
| Protocol Buffers | 1 | 17 | 13 | 0 | 4 |
| Markdown | 25 | 3,152 | 0 | 2,599 | 553 |

Top language (Rust 92.2%). Generated at 2026-07-16T17:18:16.210927649+00:00. Canonical report: https://octocounts.com/github/GreptimeTeam/greptimedb

## Report FAQ

### How many lines of code does GreptimeTeam/greptimedb have?

GreptimeTeam/greptimedb has 760,103 total lines, including 637,097 code lines, 45,101 comment lines, and 77,905 blank lines.

### How was the GreptimeTeam/greptimedb line count measured?

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

### What commit was counted for GreptimeTeam/greptimedb?

This OctoCounts report was generated from main at commit c969fb0a5ea1 on 2026-07-16T17:18:16.210927649+00:00.

## Similar repository reports

- [databendlabs/databend](https://octocounts.com/github/databendlabs/databend) — Rust, 637,220 code lines
- [bifrost-proxy/bifrost](https://octocounts.com/github/bifrost-proxy/bifrost) — Rust, 623,283 code lines
- [tikv/tikv](https://octocounts.com/github/tikv/tikv) — Rust, 623,206 code lines
- [1jehuang/jcode](https://octocounts.com/github/1jehuang/jcode) — Rust, 617,746 code lines
- [brightwave-inc/tidebreak](https://octocounts.com/github/brightwave-inc/tidebreak) — Rust, 601,204 code lines
- [astral-sh/ruff](https://octocounts.com/github/astral-sh/ruff) — Rust, 600,198 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)
- [Electron vs Tauri](https://octocounts.com/compare/electron-vs-tauri)
- [Deno vs Node.js](https://octocounts.com/compare/deno-vs-node)
- [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)
