Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

I wish there was an HTML shell, where applications can output not just text, but structured text, tables, even images. Where an application could have an 'easy mode' for uncommon tasks where it just prints a user interface with a few buttons.


This sounds pretty similar to what Powershell does. You can list the contents of the directory which outputs a structured table, then pipe that into Out-GridView for an interactive GUI window.


I had never heard of Out-GridView and it's awesome!


There previously was such a thing from Mozilla called XMLTerm [0].

You could be the one to revive it !

[0] https://www.xml.com/pub/2000/06/07/xmlterm/index.html


Another shell that tries to make use of the idea of structured data is Elvish.

https://elv.sh/

As it's aware of data-types you could likely build even the image feature (when combined with an adequate terminal).


I can see the benefits of structured output from CLI tools. It’s a bit rare to find but they do exist. I believe the closest I have found in the wild is a terminal instance connecting to some 1980s mainframe tech.

There are also some FOSS tools aimed at increasing the readability of CLI tools

https://github.com/charmbracelet/lipgloss

Doesn’t offer tables (yet) but is about as good as it’s going to get.

For “easy mode” apps, isn’t this what GUI apps were made for? The old Java applets and apps using Swing/JavaFX or Qt are the ones that immediately come to mind.


Something like this: https://domterm.org ?


Notebooks like Jupyter sound similar; although they are more persistent, whilst shells are more ephemeral (whether that's a good thing or not!)


Jupyter does that.


DomTerm is maybe the closest thing.




Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: