[{"data":1,"prerenderedAt":-1},["ShallowReactive",2],{"project-5447":3},{"id":4,"name":5,"fullName":6,"owner":7,"repo":5,"description":8,"homepage":9,"htmlUrl":10,"language":11,"languages":10,"totalLinesOfCode":10,"stars":12,"forks":13,"watchers":14,"openIssues":15,"contributorsCount":16,"subscribersCount":16,"size":16,"stars1d":17,"stars7d":18,"stars30d":19,"stars90d":16,"forks30d":16,"starsTrendScore":20,"compositeScore":21,"rankGlobal":10,"rankLanguage":10,"license":22,"archived":23,"fork":23,"defaultBranch":24,"hasWiki":23,"hasPages":23,"topics":25,"createdAt":10,"pushedAt":10,"updatedAt":37,"readmeContent":38,"aiSummary":39,"trendingCount":16,"starSnapshotCount":16,"syncStatus":40,"lastSyncTime":41,"discoverSource":42},5447,"tokei","XAMPPRocky\u002Ftokei","XAMPPRocky","Count your code, quickly.","",null,"Rust",14559,682,45,235,0,10,42,171,46,118.5,"Other",false,"master",[26,27,28,29,30,31,32,33,34,35,5,36],"badge","cli","cloc","code","command-line-tool","linux","macos","rust","sloc","statistics","windows","2026-06-12 04:00:25","# Tokei ([時計](https:\u002F\u002Fen.wiktionary.org\u002Fwiki\u002F%E6%99%82%E8%A8%88))\n[![Mean Bean CI](https:\u002F\u002Fgithub.com\u002FXAMPPRocky\u002Ftokei\u002Fworkflows\u002FMean%20Bean%20CI\u002Fbadge.svg)](https:\u002F\u002Fgithub.com\u002FXAMPPRocky\u002Ftokei\u002Factions?query=workflow%3A%22Mean+Bean+CI%22)\n[![Help Wanted](https:\u002F\u002Fimg.shields.io\u002Fgithub\u002Fissues\u002FXAMPPRocky\u002Ftokei\u002Fhelp%20wanted?color=green)](https:\u002F\u002Fgithub.com\u002FXAMPPRocky\u002Ftokei\u002Fissues?q=is%3Aissue+is%3Aopen+label%3A%22help+wanted%22)\n[![Documentation](https:\u002F\u002Fdocs.rs\u002Ftokei\u002Fbadge.svg)](https:\u002F\u002Fdocs.rs\u002Ftokei\u002F)\n![](https:\u002F\u002Fimg.shields.io\u002Fcrates\u002Fd\u002Ftokei?label=downloads%20%28crates.io%29)\n![](https:\u002F\u002Fimg.shields.io\u002Fgithub\u002Fdownloads\u002Fxampprocky\u002Ftokei\u002Ftotal?label=downloads%20%28GH%29)\n![](https:\u002F\u002Fimg.shields.io\u002Fhomebrew\u002Finstalls\u002Fdy\u002Ftokei?color=brightgreen&label=downloads%20%28brew%29)\n![Chocolatey Downloads](https:\u002F\u002Fimg.shields.io\u002Fchocolatey\u002Fdt\u002Ftokei?label=Downloads%20(Chocolately))\n[![dependency status](https:\u002F\u002Fdeps.rs\u002Frepo\u002Fgithub\u002FXAMPPRocky\u002Ftokei\u002Fstatus.svg)](https:\u002F\u002Fdeps.rs\u002Frepo\u002Fgithub\u002FXAMPPRocky\u002Ftokei)\n[![Packaging status](https:\u002F\u002Frepology.org\u002Fbadge\u002Ftiny-repos\u002Ftokei.svg)](https:\u002F\u002Frepology.org\u002Fproject\u002Ftokei\u002Fversions)\n\n\nTokei is a program that displays statistics about your code. Tokei will show the number of files, total lines within those files and code, comments, and blanks grouped by language.\n\n## Example\n```console\n━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━\n Language            Files        Lines         Code     Comments       Blanks\n━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━\n BASH                    4           49           30           10            9\n JSON                    1         1332         1332            0            0\n Shell                   1           49           38            1           10\n TOML                    2           77           64            4            9\n───────────────────────────────────────────────────────────────────────────────\n Markdown                5         1355            0         1074          281\n |- JSON                 1           41           41            0            0\n |- Rust                 2           53           42            6            5\n |- Shell                1           22           18            0            4\n (Total)                           1471          101         1080          290\n───────────────────────────────────────────────────────────────────────────────\n Rust                   19         3416         2840          116          460\n |- Markdown            12          351            5          295           51\n (Total)                           3767         2845          411          511\n━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━\n Total                  32         6745         4410         1506          829\n━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━\n```\n\n## [API Documentation](https:\u002F\u002Fdocs.rs\u002Ftokei)\n\n## Table of Contents\n\n- [Features](#features)\n- [Installation](#installation)\n    - [Package Managers](#package-managers)\n    - [Manual](#manual)\n- [Configuration](#configuration)\n- [How to use Tokei](#how-to-use-tokei)\n- [Options](#options)\n- [Supported Languages](#supported-languages)\n- [Changelog](CHANGELOG.md)\n- [Common Issues](#common-issues)\n- [Canonical Source](#canonical-source)\n- [Copyright and License](#copyright-and-license)\n\n## Features\n\n- Tokei is **very fast**, and is able to count millions of lines of code in seconds.\n  Check out the [11.0.0 release](https:\u002F\u002Fgithub.com\u002FXAMPPRocky\u002Ftokei\u002Freleases\u002Fv11.0.0)\n  to see how Tokei's speed compares to others.\n\n- Tokei is **accurate**, Tokei correctly handles multi line comments,\n  nested comments, and not counting comments that are in strings. Providing an\n  accurate code statistics.\n\n- Tokei has huge range of languages, supporting over **150** languages, and\n  their various extensions.\n\n- Tokei can output in multiple formats (**CBOR**, **JSON**, **YAML**)\n  allowing Tokei's output to be easily stored, and reused. These can also be\n  reused in tokei combining a previous run's statistics with another set.\n\n- Tokei is available on **Mac**, **Linux**, and **Windows**. See [installation\n  instructions](#installation) for how to get Tokei on your platform.\n\n- Tokei is also a **library** allowing you to easily integrate it with other\n  projects.\n\n- Tokei comes with and without color. Set the env variable NO_COLOR to 1, and\n  it'll be black and white.\n\n## Installation\n\n### Package Managers\n\n#### Unix\n```console\n# Alpine Linux (since 3.13)\napk add tokei\n# Arch Linux\npacman -S tokei\n# Cargo\ncargo install tokei\n# Conda\nconda install -c conda-forge tokei\n# Fedora\nsudo dnf install tokei\n# FreeBSD\npkg install tokei\n# NetBSD\npkgin install tokei\n# Nix\u002FNixOS\nnix-env -i tokei\n# OpenSUSE\nsudo zypper install tokei\n# Void Linux\nsudo xbps-install tokei\n```\n\n#### macOS\n```console\n# Homebrew\nbrew install tokei\n# MacPorts\nsudo port selfupdate\nsudo port install tokei\n```\n\n#### Windows\n```console\n# Winget\nwinget install XAMPPRocky.tokei\n# Scoop\nscoop install tokei\n```\n\n### Manual\n\n#### Downloading\nYou can download prebuilt binaries in the\n[releases section](https:\u002F\u002Fgithub.com\u002FXAMPPRocky\u002Ftokei\u002Freleases).\n\n#### Building\nYou can also build and install from source (requires the latest stable [Rust] compiler.)\n```console\ncargo install --git https:\u002F\u002Fgithub.com\u002FXAMPPRocky\u002Ftokei.git tokei\n```\n\n[rust]: https:\u002F\u002Fwww.rust-lang.org\n\n\n## Configuration\n\nTokei has a [configuration] file that allows you to change default behaviour.\nThe file can be named `tokei.toml` or `.tokeirc`. Currently tokei looks for\nthis file in three different places. The current directory, your home directory,\nand your configuration directory.\n\n## How to use Tokei\n\n#### Basic usage\n\nThis is the basic way to use tokei. Which will report on the code in `.\u002Ffoo`\nand all subfolders.\n\n```shell\n$ tokei .\u002Ffoo\n```\n\n[configuration]: .\u002Ftokei.example.toml\n\n#### Multiple folders\nTo have tokei report on multiple folders in the same call, simply add all the\nfolders you'd like tokei to examine.\n\n```shell\n$ tokei .\u002Ffoo .\u002Fbar .\u002Fbaz\n```\n\n#### Excluding folders\nTokei will respect all `.gitignore` and `.ignore` files, and you can use\nthe `--exclude` option to exclude any additional files. The `--exclude` flag has\nthe same semantics as `.gitignore`.\n\n```shell\n$ tokei .\u002Ffoo --exclude *.rs\n```\n\nPaths to exclude can also be listed in a `.tokeignore` file, using the same\n[syntax](https:\u002F\u002Fgit-scm.com\u002Fdocs\u002Fgitignore) as .gitignore files.\n\n#### Sorting output\nBy default tokei sorts alphabetically by language name, however using `--sort`\ntokei can also sort by any of the columns.\n\n`blanks, code, comments, lines`\n\n```shell\n$ tokei .\u002Ffoo --sort code\n```\n\n#### Outputting file statistics\nBy default tokei only outputs the total of the languages, and using `--files`\nflag tokei can also output individual file statistics.\n\n```shell\n$ tokei .\u002Ffoo --files\n```\n\n#### Outputting into different formats\nTokei normally outputs into a nice human readable format designed for terminals.\nThere is also using the `--output` option various other formats that are more\nuseful for bringing the data into another program.\n\n**Note:** This version of tokei was compiled without any serialization formats, to enable serialization, reinstall\ntokei with the features flag.\n\n```shell\n  ALL:\n  cargo install tokei --features all\n\n  CBOR:\n  cargo install tokei --features cbor\n\n  YAML:\n  cargo install tokei --features yaml\n```\n\n**Currently supported formats**\n- JSON `--output json`\n- YAML `--output yaml`\n- CBOR `--output cbor`\n\n```shell\n$ tokei .\u002Ffoo --output json\n```\n\n#### Reading in stored formats\nTokei can also take in the outputted formats added in the previous results to its\ncurrent run. Tokei can take either a path to a file, the format passed in as a\nvalue to the option, or from stdin.\n\n```shell\n$ tokei .\u002Ffoo --input .\u002Fstats.json\n```\n\n## Options\n\n```\nUSAGE:\n    tokei [FLAGS] [OPTIONS] [--] [input]...\n\nFLAGS:\n    -f, --files               Will print out statistics on individual files.\n    -h, --help                Prints help information\n        --hidden              Count hidden files.\n    -l, --languages           Prints out supported languages and their extensions.\n        --no-ignore           Don't respect ignore files (.gitignore, .ignore, etc.). This implies --no-ignore-parent,\n                              --no-ignore-dot, and --no-ignore-vcs.\n        --no-ignore-dot       Don't respect .ignore and .tokeignore files, including those in parent directories.\n        --no-ignore-parent    Don't respect ignore files (.gitignore, .ignore, etc.) in parent directories.\n        --no-ignore-vcs       Don't respect VCS ignore files (.gitignore, .hgignore, etc.), including those in parent\n                              directories.\n    -V, --version             Prints version information\n    -v, --verbose             Set log output level:\n                                          1: to show unknown file extensions,\n                                          2: reserved for future debugging,\n                                          3: enable file level trace. Not recommended on multiple files\n\nOPTIONS:\n    -c, --columns \u003Ccolumns>       Sets a strict column width of the output, only available for terminal output.\n    -e, --exclude \u003Cexclude>...    Ignore all files & directories matching the pattern.\n    -i, --input \u003Cfile_input>      Gives statistics from a previous tokei run. Can be given a file path, or \"stdin\" to\n                                  read from stdin.\n    -o, --output \u003Coutput>         Outputs Tokei in a specific format. Compile with additional features for more format\n                                  support. [possible values: cbor, json, yaml]\n    -s, --sort \u003Csort>             Sort languages based on column [possible values: files, lines, blanks, code, comments]\n    -t, --type \u003Ctypes>            Filters output by language type, separated by a comma. i.e. -t=Rust,Markdown\n\nARGS:\n    \u003Cinput>...    The path(s) to the file or directory to be counted.\n```\n\n## Dockerized version\nTokei is available in a small `alpine`-based docker image, buildable through [earthly](https:\u002F\u002Fgithub.com\u002Fearthly\u002Fearthly):\n```bash\nearthly +docker\n```\n\nOnce built, one can run the image with:\n```bash\ndocker run --rm -v \u002Fpath\u002Fto\u002Fanalyze:\u002Fsrc tokei .\n```\n\nOr, to simply analyze the current folder (linux):\n```bash\ndocker run --rm -v $(pwd):\u002Fsrc tokei .\n```\n\n## Supported Languages\n\nIf there is a language that you would to add to tokei feel free to make a pull\nrequest. Languages are defined in [`languages.json`](.\u002Flanguages.json), and you can\nread how to add and test your language in our [CONTRIBUTING.md](.\u002FCONTRIBUTING.md).\n\n```\nAbap\nActionScript\nAda\nAgda\nAlex\nAlloy\nAPL\nAsn1\nAsp\nAspNet\nAssembly\nAssemblyGAS\nATS\nAutoconf\nAutoHotKey\nAutomake\nAWK\nBash\nBatch\nBazel\nBean\nBicep\nBitbake\nBQN\nBrightScript\nC\nC3\nCabal\nCassius\nCeylon\nCHeader\nCil\nClojure\nClojureC\nClojureScript\nCMake\nCobol\nCoffeeScript\nCogent\nColdFusion\nColdFusionScript\nCoq\nCpp\nCppHeader\nCrystal\nCSharp\nCShell\nCss\nCuda\nCUE\nCython\nD\nD2\nDAML\nDart\nDeviceTree\nDhall\nDockerfile\nDotNetResource\nDreamMaker\nDust\nEbuild\nEdgeDB\nEdn\nElisp\nElixir\nElm\nElvish\nEmacsDevEnv\nEmojicode\nErlang\nFactor\nFEN\nFish\nFlatBuffers\nForgeConfig\nForth\nFortranLegacy\nFortranModern\nFreeMarker\nFSharp\nFstar\nGDB\nGdScript\nGdShader\nGherkin\nGleam\nGlsl\nGo\nGraphql\nGroovy\nGwion\nHamlet\nHandlebars\nHappy\nHare\nHaskell\nHaxe\nHcl\nHex\nHex0\nHex1\nHex2\nHiCAD\nhledger\nHlsl\nHolyC\nHtml\nHy\nIdris\nIni\nIntelHex\nIsabelle\nJai\nJanet\nJava\nJavaScript\nJq\nJson\nJsx\nJulia\nJulius\nJust\nKakouneScript\nKaemFile\nKoka\nKotlin\nLean\nLess\nLingua Franca\nLinkerScript\nLiquid\nLisp\nLLVM\nLogtalk\nLua\nLucius\nM1Assembly\nMadlang\nMax\nMakefile\nMarkdown\nMdx\nMeson\nMint\nMlatu\nModuleDef\nMonkeyC\nMoonScript\nMsBuild\nMustache\nNim\nNix\nNotQuitePerl\nNuGetConfig\nNushell\nObjectiveC\nObjectiveCpp\nOCaml\nOdin\nOpenSCAD\nOpenQASM\nOrg\nOz\nPascal\nPerl\nPerl6\nPest\nPhix\nPhp\nPo\nPoke\nPolly\nPony\nPostCss\nPowerShell\nProcessing\nProlog\nProtobuf\nPRQL\nPSL\nPureScript\nPyret\nPython\nQcl\nQml\nR\nRacket\nRakefile\nRazor\nRenpy\nReStructuredText\nRON\nRPMSpecfile\nRuby\nRubyHtml\nRust\nSass\nScala\nScheme\nScons\nSh\nShaderLab\nSlang\nSml\nSolidity\nSpecmanE\nSpice\nSql\nSRecode\nStata\nStratego\nSvelte\nSvg\nSwift\nSwig\nSystemVerilog\nSlint\nTact\nTcl\nTempl\nTex\nText\nThrift\nToml\nTsx\nTwig\nTypeScript\nUMPL\nUnrealDeveloperMarkdown\nUnrealPlugin\nUnrealProject\nUnrealScript\nUnrealShader\nUnrealShaderHeader\nUrWeb\nUrWebProject\nVala\nVB6\nVBScript\nVelocity\nVerilog\nVerilogArgsFile\nVhdl\nVimScript\nVisualBasic\nVisualStudioProject\nVisualStudioSolution\nVue\nWebAssembly\nWolfram\nXaml\nXcodeConfig\nXml\nXSL\nXtend\nYaml\nZenCode\nZig\nZoKrates\nZsh\n```\n\n## Common issues\n\n### Tokei says I have a lot of D code, but I know there is no D code!\nThis is likely due to `gcc` generating `.d` files. Until the D people decide on\na different file extension, you can always exclude `.d` files using the\n`-e --exclude` flag like so\n\n```\n$ tokei . -e *.d\n```\n\n## Canonical Source\nThe canonical source of this repo is hosted on\n[GitHub](https:\u002F\u002Fgithub.com\u002FXAMPPRocky\u002Ftokei). If you have a GitHub account,\nplease make your issues, and pull requests there.\n\n## Related Tools\n\n- [tokei-pie](https:\u002F\u002Fgithub.com\u002Flaixintao\u002Ftokei-pie): Render tokei's output to\n  interactive sunburst chart.\n\n## Copyright and License\n(C) Copyright 2015 by XAMPPRocky and contributors\n\nSee [the graph](https:\u002F\u002Fgithub.com\u002FXAMPPRocky\u002Ftokei\u002Fgraphs\u002Fcontributors) for a full list of contributors.\n\nTokei is distributed under the terms of both the MIT license and the Apache License (Version 2.0).\n\nSee [LICENCE-APACHE](.\u002FLICENCE-APACHE), [LICENCE-MIT](.\u002FLICENCE-MIT) for more information.\n","Tokei 是一个用于快速统计代码的工具。它能够显示项目中文件数量、总行数以及按语言分类的代码行、注释行和空白行的数量。采用 Rust 语言开发，保证了高性能与跨平台支持（包括 Linux、macOS 和 Windows）。其命令行界面友好，易于集成到 CI\u002FCD 流程或其他自动化脚本中，适用于需要对代码库进行量化分析或监控代码质量变化的各种场景。",2,"2026-06-11 03:03:22","top_language"]