Announcement

Free to view yesterday and today
Customer Service: cat_manager

Tokei - Fast Code Counter

A fast and accurate code counter for developers, supporting multiple languages and formats.

Rust
Added on 2025年5月12日
View on GitHub
Tokei - Fast Code Counter preview
12,367
Stars
576
Forks
Rust
Language

Project Introduction

Summary

Tokei is a modern command-line program designed for quickly counting lines of code in your projects. Written in Rust, it emphasizes speed and accuracy across a wide range of file formats and languages.

Problem Solved

Developers and project managers often need to quickly assess the size and complexity of codebases. Manual counting is tedious and inaccurate. Existing tools can be slow or limited in language support.

Core Features

High-Speed Code Counting

Rapidly counts lines of code, including code, comments, and blanks, across various file types.

Detailed Language Statistics

Provides detailed statistics per language, directory, and file.

Extensive Language Support

Supports a vast number of programming and markup languages out-of-the-box.

Tech Stack

Rust

Use Cases

Tokei can be used in various scenarios where understanding codebase size and structure is important:

Quick Project Overview

Details

Run Tokei on a new repository to get an immediate overview of its size and the languages used.

User Value

Saves time in initial project assessment and onboarding.

CI/CD Integration for Metrics

Details

Integrate Tokei into CI/CD pipelines to track codebase growth over time or enforce size limits.

User Value

Provides automated metrics for monitoring project health and managing technical debt.

Codebase Analysis for Planning

Details

Analyze existing large codebases to understand their composition and plan refactoring or maintenance efforts.

User Value

Helps in making informed decisions about project strategy and resource allocation.

Recommended Projects

You might be interested in these projects

immortalwrtimmortalwrt

ImmortalWrt is an open-source embedded operating system based on OpenWrt, specifically tailored and optimized for users in mainland China, offering enhanced features, stability, and compatibility.

C
79832304
View Details

overleafoverleaf

A web-based, collaborative LaTeX editor designed to simplify document creation and teamwork for academic writing, reports, presentations, and more.

JavaScript
152801575
View Details

coturncoturn

coturn is a free open source implementation of TURN and STUN servers. It is used to facilitate NAT traversal for real-time communications applications like WebRTC, VoIP, and online gaming.

C
123012107
View Details