Sephera – 一款快速的、可通过YAML配置的LOC分析工具,支持任何编程语言。

2作者: reimdev7 个月前原帖
Sephera 是一款原生速度的跨平台行计数器,旨在高度可定制。与 cloc 或 tokei 不同,它支持: - 完整的基于 YAML 的配置,包括使用正则表达式定义新语言 - 独立的全局/用户覆盖设置,类似于 .gitconfig 风格 - 支持 JSON 和 Markdown 格式的输出 - 内置更新命令 - 使用 Nuitka 编译为可移植的二进制文件(Python → 原生) 我开发它的原因是其他工具要么速度快但灵活性差,要么可定制性强但速度太慢。Sephera 可以在大约 30 秒内分析 ~570MB 的混合语言源代码(40 种语言)。该工具以 GPLv3 许可证发布。
查看原文
Sephera is a native-speed, cross-platform line counter designed to be highly customizable. Unlike cloc or tokei, it supports:<p>Full YAML-based config, including defining new languages with regex<p>Separate global&#x2F;user overrides, like .gitconfig style<p>Output in JSON, Markdown<p>Built-in updater command<p>Compiled to a portable binary with Nuitka (Python → native)<p>I built it because other tools were either fast but inflexible, or customizable but too slow. Sephera can analyze ~570MB of mixed-language source (40 langs) in ~30 seconds.<p>Released under GPLv3.