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

codercoder

Coder is an open-source platform that provisions remote development environments using Infrastructure-as-Code tools like Terraform, simplifying developer onboarding and standardizing development setups.

Go
10167928
View Details

apachecamel

Apache Camel是一个开源的集成框架,旨在通过简洁的API和丰富的组件库,帮助开发者轻松快速地集成各种系统和应用,处理数据消费与生产。

Java
58745041
View Details

PipedreamHQpipedream

Pipedream is a serverless platform for developers to rapidly connect APIs, build powerful workflows, and automate tasks without managing infrastructure. It's free for developers and scales automatically.

JavaScript
101115384
View Details