Open ulno opened 6 months ago
estimate [ulno]: 160h
https://github.com/Textualize/textual looks promising!
Feels almost like a full docs page running in the CLI - in fact Textual references Frogmouth for visualising markdown from terminal in addition with directly mentioning SBC friendliness.
So, it might replace/mirror web_starter?
Two things to ensure are in sync + man pages using the same .rst docs.
Guess it might be something like: punch in iot
then this textual/frogmouth page pops up in terminal, simultaneously starting mqtt
& web_starter
, but also showing both indicated started (like a dashboard)?
The iot menu is quite popular, so we should think if we could do everything command line based with it (maybe offer simple shell escape right on front page). I also don't like that it is written in java script. There exists a prototype in python using prompt_toolkit in bin - after adding prompt_toolkit with
pip install prompt_toolkit
(inside of the it environment), you can test it with:However it was once very slow on the pi, should be tested on pi and pi zero.
Maybe also consider switch to textual (https://github.com/Textualize/textual) or something golang (https://github.com/rivo/tview) based?
This should probably lead to a new general TUI (text UI) affecting all commands.