The reason is simple: the TUI is the fastest way to provide any form of UI over the file system.
Want to do that with web technologies? You’ll need a browser AND a server or build an app using electron or tauri.
Want to do that with web technologies? You’ll need a browser AND a server or build an app using electron or tauri.