Re:Rich Command Shells
by lallysingh on Friday October 10, 2014 @11:09AM
(#8438096)
> HTML+JS seem like the obvious way to do it
> I think the hardest part would be figuring out how to reconcile browser-like UI events and file streams.
How about Chrome Apps? They've got a mix of file I/O capability and HTML/JS.
HTML+JS seem like the obvious way to do it - even though the web is an awful platform, its standard, cross-platform and fully featured. Its the perfect worse-is-better solution for this.
I think the hardest part would be figuring out how to reconcile browser-like UI events and file streams. Maybe you'd need to make a standardized event serialization format so your process could receive serialized events via stdin or something like that. I think it'll be a really hard sell if we have to abandon our unix pipes entirely.
[1] https://github.com/unconed/TermKit
Previous hackernews discussion around termkit: https://news.ycombinator.com/item?id=2559734