3 ms·
Had exactly the same idea a few months ago, which resulted in 'Schirm': https://bitbucket.org/hoeck/schirm https://bitbucket.org/hoeck/schirm, screenshots: http
by timmy-turner 15y ago
Had exactly the same idea a few months ago, which resulted in 'Schirm': https://bitbucket.org/hoeck/schirm https://bitbucket.org/hoeck/schirm, screenshots: http://imgur.com/a/N84aw http://imgur.com/a/N84aw.
Its a VT100 (+colors) compatible terminal emulator (pyte) hacked to render into an HTML document, displayed using Webkit (pywebkitgtk). Currently requires python2.7, gtk, webkitgtk (only tested on Ubuntu 11.04 so far). Html output is done by using escape sequences to mark beginning and end of html strings or base64 encoded resources (js, images ...). You can even use js frameworks (used jQuery + d3.js to generate the circular tree in the 2nd screenshot). Communication between the terminal emulator and the client can be achieved by using console.log messages or some kind of HTTP (over stdin/stdout). Would love to get some feedback.