CLOCTUI is a terminal user interface (TUI) for the CLOC code analysis tool, built using the Textual framework.
CLOCTUI runs CLOC under the hood and then displays the results in an interactive table. It makes the results of CLOC much more pleasant to view, especially for large code bases.
This is free and open source software.
Key Features
- Group by language, directory, or show all individual files. This works the same as CLOC’s different modes, but interactive.
- Sort any column in the table by clicking the header or using keyboard shortcuts.
- You can run in Inline mode (default), or run in fullscreen mode with the -f flag.
Website: github.com/edward-jazzhands/cloctui
Support:
Developer: Edward Jazzhands
License: MIT License

Related Software
| Alternatives to cloc | |
|---|---|
| Tokei | Displays statistics about your code |
| scc | Fast accurate code counter with complexity calculations and COCOMO estimates |
| SLOCCount | Set of tools for counting physical Source Lines of Code |
| gocloc | A compact fast cloc tool seeking inspiration from Tokei |
| loccount | Re-implementation of David A. Wheeler’s sloccount tool in Go |
| loc | Rust implementation of cloc, but it’s more than 100x faster |
| tcount | Count your code by tokens and patterns in the syntax tree |
| sloc | Simple tool to count source lines of code written in CoffeeScript |
| polyglot | Command-line tool that determines project contents |
| enry | Programming language detector based on go-enry |
| Linguist | Assess a repository’s languages stats with github-linguist executable |
| CLOCTUI | TUI for CLOC |
| pygount | Count source lines of code |
| ocloc | Rust command-line utility that counts lines of code |
| Ohcount | Source code line counter and analysis library |
Explore our carefully curated directory of recommended free and open source software, covering every major software category.The directory forms part of our extensive collection of articles for Linux enthusiasts. It includes hundreds of detailed reviews, together with free and open source alternatives to proprietary software from companies such as Google, Microsoft, Apple, Adobe, IBM, Cisco, Oracle, and Autodesk. LinuxLinks also covers interesting projects worth exploring, Linux-compatible hardware, free programming books and tutorials, and much more. Know a useful free and open source Linux application that we haven’t covered? Tell us about it using our submission form. |


Please read our Comment Policy before commenting.