Lui: a simple `ls -lah`-like terminal file manager

lui:


lui is a simple terminal file manager. Its main idea was building an interactive version of one of my most used Linux commands: ls -lah --group-directories-first.

https://codeberg.org/lukeflo/lui

While there are many fancy TUI file manager out there, I’ve tried most but found them bloated with features unnecessary to me. Thus, I just built my own one. Originally written in Rust called jafff I wanted to rewrite in in Zig, since I almost fully abandoned Rust, plus the Rust version is much slower.

And here it is! For now, only with very limited features. But it already serves as file picker for my Helix editor and as fast cd’ing tool. I will implement some more core features in the near future. However, if you’re looking for the next yazi, keep looking somewhere else :grin:

Supported Zig versions

0.16

AI / LLM usage disclosure

I did not use any LLM for writing my code. Neither as agents, nor for prompting questions, ideas, reviews to a chat bot.

However, the only external dep I used for this program, libvaxis, is using some LLM support.

Quick impression

niri-screenshot-2026-05-18-16-18-32.png

11 Likes

Great, exactly what I’m using when I run yazi. But there is an error with build.zig.zon, I opened an issue.

2 Likes

Yeah, thanks. I worked with local copies of the deps repos and forgot to replace them with the correct URLs. Will update this asap.

Updated the build.zig.zon file with the correct deps URLs and hashes. Should build now without problems. :smiley:

https://codeberg.org/lukeflo/lui/commit/11e9d6f5f0bbf1a6305339ad5afcd3d9e796e574

However, if you or anyone else find more errors, please report via issues. As said, its still very early and I for sure didn’t catch every error.

1 Like