a simple source code line counting program https://divio.city/projects/zcloc
Find a file
2026-07-02 00:56:41 +03:00
media initial commit >:3 2026-07-02 00:16:19 +03:00
src initial commit >:3 2026-07-02 00:16:19 +03:00
build.zig initial commit >:3 2026-07-02 00:16:19 +03:00
build.zig.zon initial commit >:3 2026-07-02 00:16:19 +03:00
LICENSE initial commit >:3 2026-07-02 00:16:19 +03:00
README.md update README.md 2026-07-02 00:56:41 +03:00

[ zcloc ]

a simple source code line counting program

demo

>> WHAT? >>

zcloc is a simple source code line counting program.

>> WHY? >>

i got fed up with both cloc due to it being slow and tokei due to it formatting the output in annoying way, so wrote a simple code line counter of my own.

>> INSTALLATION >>

# clone the repo
git clone https://git.divio.city/me/zcloc
cd zcloc

# build the source code
zig build -Doptimize=ReleaseSafe

# install it to your desired location
doas zig build install --prefix /usr/local

Mirrors: diviocity disroot codeberg git.gay gitea rocketgit salsa framagit gitlab github