tokui
Open this page on a computer to try tokui in the web terminal.
Share on:
Enter Your Mastodon Instance
Copy the link below to share to Mastodon
https://terminaltrove.com/tokui/
An interactive TUI for visualizing code statistics from tokei.
Script Preview
Review this script before executing in your terminal.

tokui is an interactive terminal viewer for exploring a codebase's size, language composition and complexity.
By default it runs tokei for line counts or uses an scc backend for complexity estimates from either code analysis tool. This tool comes with sortable tables and directory trees and treemaps of file attributes, such as line count, language and whitespace with a breakdown of how they are used or distributed in the code base.
tokui can be used as a command-line tool and integrates with Git to measure code churn, compare statistics between revisions and browse historical snapshots with side-by-side file diffs. Additionally, you can compose tokui to accept piped JSON as input and it can run an analysis on the codebase, which is useful for code reviews, CI automations and it gives helpful information of the total language use in a project.
For developers or software engineers who need to review and audit a project repositories code growth or learning a project's structure, tokui can be used for locating large directories and examining which folders have the most code distribution.




