{"data":{"slug":"tokei","name":"tokei","tagline":"MIT/Apache-2.0 fast LOC and code stats by language","category":"rust","categoryName":"Rust","url":"https://tokei.rs","github":"https://github.com/XAMPPRocky/tokei","pricing":"open-source","hook":"tokei is the fast LOC counter when you want files/code/comments/blanks grouped by language without a spreadsheet ritual.","whatsGood":"MIT OR Apache-2.0. XAMPPRocky/tokei. Accurate language detection with nested-comment and string-literal awareness, library + CLI, and blazing directory walks. Homepage tokei.rs; source github.com/XAMPPRocky/tokei.","theCatch":"Vs cloc/scc and vs GitHub language bars: tokei is the *local CLI/library* for code stats, not a hosted insights product and not a complexity/churn analyzer. Counts are still heuristics — generated code and vendor trees need excludes. Not a dependency auditor.","verdict":"MIT/Apache-2.0 LOC CLI. Free forever; count the tree before the status meeting invents numbers.","addedAt":"2026-09-11","featured":false,"domain":"Rust","subSpecialty":"Terminal","subcategory":"Terminal","tags":["cli","self-host","permissive","license-unclear","active"],"capabilities":["loc","cli","stats"],"surfaces":["CLI","Self-host"],"ecosystem":["Rust","Multi-platform"],"licenseModel":"Apache-2.0","githubStars":15002,"starsPerWeek":25,"access":"free","archived":false,"repo":{"createdAt":"2015-05-26","pushedAt":"2026-09-06","license":"NOASSERTION","archived":false,"checkedAt":"2026-10-19"}},"related":[{"slug":"rust-lang","name":"Rust","tagline":"Systems programming without the footguns"},{"slug":"tokio","name":"Tokio","tagline":"Async runtime for Rust"},{"slug":"axum","name":"Axum","tagline":"Web framework from the Tokio team"},{"slug":"actix-web","name":"Actix Web","tagline":"Fast Rust web framework"},{"slug":"serde","name":"Serde","tagline":"Serialization framework for Rust"}],"links":{"self":"/api/gems/tokei","html":"/gems/tokei","markdown":"/gems/tokei.md","category":"/api/gems?category=rust","categoryPage":"/stacks/rust"}}