awesome-repositories.com
Blog
MCP
awesome-repositories.com

Discover the best open-source repositories with AI-powered search.

ExploreCurated searchesOpen-source alternativesSelf-hosted softwareBlogSitemap
ProjectMCP serverAboutHow we rankPress
LegalPrivacyTerms
© 2026 Bringes Technology SRL·VAT RO45896025·hello@awesome-repositories.com
·
XAMPPRocky avatar

XAMPPRocky/tokei

0
View on GitHub↗
14,601 stars·687 forks·Rust·9 views

Tokei

Tokei is a command-line utility designed to analyze the composition of software projects by calculating the volume of source code, comments, and blank lines. It provides detailed metrics on codebase size and structure, allowing users to audit project distribution across multiple programming languages.

The tool distinguishes itself through high-performance analysis capabilities that handle complex syntax, including nested comments and string literals. It utilizes parallel directory traversal and memory-mapped file access to process large codebases efficiently, while employing a centralized configuration schema to map file extensions to specific parsing rules.

Users can refine their analysis through configurable search parameters that filter by language or file type. The utility also supports sorting and ranking of results based on specific metrics, such as file count or code density, to provide clear visibility into the growth and technical composition of a repository.

Features

  • Source Code Strippers - Calculates lines of code, comments, and blank spaces across multiple programming languages within a project directory.
  • Codebase Metrics - Provides high-performance analysis of codebase composition through detailed metrics on lines of code and language distribution.
  • Language Distribution Metrics - Measures and ranks project structure by file count, code density, and language distribution.
  • Codebase Analysis Tools - Measures the total volume of source code, comments, and blank lines to understand the scale and complexity of a project.
  • Codebase Size Analyzers - Calculates the total number of lines, comments, and blank spaces to determine the overall size and scale of a codebase.
  • Syntax-Aware Statistics - Calculates lines of code and comments while accurately parsing complex syntax like nested comments and string literals.
  • System Utilities - Code line counting tool.
  • cloc - Listed in the “cloc” section of the Awesome Alternatives In Rust awesome list.
  • Project Metadata Analyzers - Analyzes project directories to calculate metrics across various programming languages for a summary of project structure.
  • Codebase Composition Auditors - Summarizes the composition of a codebase by language to evaluate technical debt and project structure.
  • Memory-Mapped File Access - Reads file contents directly into memory buffers to minimize disk I/O overhead during high-speed analysis.
  • Repository Growth Metrics - Generates statistical reports on code distribution to track progress and maintain visibility into the growth of a repository.
  • Parallel Traversal Tools - Uses multi-threaded workers to scan file systems concurrently for high-performance directory traversal.
  • Analysis Filters - Configures search parameters to target specific programming languages or file types when calculating statistics.
  • Language Parsing Rules - Maps file extensions to specific parsing rules to handle syntax variations across different programming languages.
  • Regex-Based Parsers - Employs pre-compiled regular expressions to identify and categorize code, comments, and blank lines.

Star history

Star history chart for xampprocky/tokeiStar history chart for xampprocky/tokei

AI search

Explore more awesome repositories

Describe what you need in plain English — the AI ranks thousands of curated open-source projects by relevance.

Start searching with AI

Open-source alternatives to Tokei

Similar open-source projects, ranked by how many features they share with Tokei.
  • aldanial/clocAlDanial avatar

    AlDanial/cloc

    23,201View on GitHub↗

    cloc is a codebase metrics tool and multi-language code analyzer designed to count blank lines, comment lines, and physical lines of code. It serves as a source code line counter and report generator that identifies file types to calculate source volume across a wide variety of programming languages. The tool distinguishes itself by providing codebase version comparison to measure relative changes in source and comment lines between two versions of a directory or archive. It also supports the definition of custom languages and the extension of language recognition by loading custom comment fi

    Perl
    View on GitHub↗23,201
  • yamadashy/repomixyamadashy avatar

    yamadashy/repomix

    26,498View on GitHub↗

    Repomix is an AI-focused development utility designed to prepare local and remote codebases for analysis, review, and automated interaction. It functions as a codebase context bundler and a Model Context Protocol server, aggregating project files into structured documents that are optimized for ingestion by large language models. By serving as a bridge between local repositories and external intelligence agents, the tool facilitates real-time codebase inspection and automated development workflows. The system distinguishes itself through rigorous repository token management and security-consc

    TypeScriptaianthropicartificial-intelligence
    View on GitHub↗26,498
  • sharkdp/fdsharkdp avatar

    sharkdp/fd

    43,362View on GitHub↗

    This project is a high-performance command-line utility designed for rapid filesystem navigation and file discovery. It enables users to locate files and directories within large project structures using recursive search, pattern matching, and metadata-aware filtering. By employing multi-threaded parallel traversal, it provides an efficient way to explore complex directory trees. What distinguishes this tool is its ability to integrate directly into terminal workflows and automate file management tasks. It automatically respects version control ignore files and hidden file settings, ensuring

    Rustclicommand-linefilesystem
    View on GitHub↗43,362
  • aramk/crayon-syntax-highlighteraramk avatar

    aramk/crayon-syntax-highlighter

    1,093View on GitHub↗

    Crayon Syntax Highlighter is a web-based tool designed to render source code snippets with language-specific color formatting and styling. It functions as a content management plugin that enables the insertion, configuration, and visual customization of code blocks directly within web editors. The project distinguishes itself through its ability to fetch and display source code from external URLs, local files, or direct text input. It supports complex rendering requirements, such as mixed-language parsing and the isolation of specific code segments within a single document. Users can control

    PHP
    View on GitHub↗1,093
See all 30 alternatives to Tokei→

Frequently asked questions

What does xampprocky/tokei do?

Tokei is a command-line utility designed to analyze the composition of software projects by calculating the volume of source code, comments, and blank lines. It provides detailed metrics on codebase size and structure, allowing users to audit project distribution across multiple programming languages.

What are the main features of xampprocky/tokei?

The main features of xampprocky/tokei are: Source Code Strippers, Codebase Metrics, Language Distribution Metrics, Codebase Analysis Tools, Codebase Size Analyzers, Syntax-Aware Statistics, System Utilities, cloc.

What are some open-source alternatives to xampprocky/tokei?

Open-source alternatives to xampprocky/tokei include: aldanial/cloc — cloc is a codebase metrics tool and multi-language code analyzer designed to count blank lines, comment lines, and… yamadashy/repomix — Repomix is an AI-focused development utility designed to prepare local and remote codebases for analysis, review, and… sharkdp/fd — This project is a high-performance command-line utility designed for rapid filesystem navigation and file discovery.… aramk/crayon-syntax-highlighter — Crayon Syntax Highlighter is a web-based tool designed to render source code snippets with language-specific color… shobrook/adrenaline — Adrenaline is an AI-powered codebase analysis tool and knowledge base designed for analyzing local software projects.… asyncfuncai/deepwiki-open — This platform is an automated documentation and codebase analysis system designed to generate structured wikis,…