Discussion for a file browser, file text editor and tty command shell for LuCI OpenWRT/LEDE

Hi,


To anyone ending up here and these features are still not in LuCI, go in the software tab and install openssh-sftp-server and then install application winscp on your computer, this is the current easiest method.

I would like to discuss the addition of these basic components to LuCI. Many of the more exotic use cases in OpenWRT require manually editing files. This cannot be currently done via the web interface and one must resort to using ssh access to perform these basic tasks.

I know for many of you this is easy as pie but for beginners this represent a medium sized roadblock. Many users will need to learn using the terminal before they can figure the ins and outs of command line file browsing, file editing and the like on top of learning to use shell terminal software like ssh and putty.

There has been a few attemps in the past to bring these features to LuCI with various degrees of success and they are

Inspirations and alternatives from other management web interfaces

https://tsl0922.github.io/ttyd/

Home assistant web ui file browser

Home assistant web ui text editor

Home assistant web ui terminal

Home assistant programming ide in web ui

(just found there's a command line package in the repository ? not tried yet)

I think this could be a good way to bridge the ease of use gap between functionalities that are not supported in LuCI and require intervention in the terminal and completed LuCI apps.

Not to mention the general convenience of being able to do these tasks right from the web ui. In particular I would have links to the most important config files as bookmarks in my browser to fast editing.

I admit it could be useful for newcomers but we have to weight in the dependencies - if the firmware becomes too big - for example going past 8MB for small flash targets it's a NOGO from my perspective

1 Like

For many pupils, division is a medium sized roadblock. We don't throw pocket calculators at them, but teach them the basics in primary school.

If users want to fully unleash the increased functionality that OpenWrt offers, a basic skillset is beneficial.

2 Likes