Show HN: tmux2html - Render full tmux windows or individual panes as HTML
1–10 of 30 posts
Re: Show HN: tmux2html - Render full tmux windows or individual panes as HTML
#2Re: Show HN: tmux2html - Render full tmux windows or individual panes as HTML
#3Do you have an example?
I posted this on /r/coolgithubprojects and one of the comments was someone thought that the linked examples were screenshots until they selected the text.
In any case I'll post a separate comment with the linked examples.
Re: Show HN: tmux2html - Render full tmux windows or individual panes as HTML
#4Color [disk: 135KB, gzip: 17KB]: https://share.esdf.io/FGlV4sufpt/color.html
Single Pane [disk: 65KB, gzip: 6KB]: https://share.esdf.io/saRkuNriJt/single.html
Full Window (Big) [disk: 134KB, gzip: 11KB]: https://share.esdf.io/h5lGMPdcZF/full.html
Animated [disk: 638KB, gzip: 262KB]: https://share.esdf.io/3qdZm2szkN/animated.html
Partially Animated (Big) [disk: 192KB, gzip: 79KB]: https://share.esdf.io/EJHQXoIQDT/partial-animated.html (Only some panes are animating)
Re: Show HN: tmux2html - Render full tmux windows or individual panes as HTML
#5I don't use tmux, but I'm considering it just because of this super fancy tool here.
I would like to hear about interesting use cases. Is that when you want to show what you're doing to your boss? Or when you want to impress a novice programmer?
Re: Show HN: tmux2html - Render full tmux windows or individual panes as HTML
#6Whoa, that's amazing. I don't use tmux, but I'm considering it just because of this super fancy tool here. I would like to hear about interesting use cases. Is that when you want to show what you're doing to your boss? Or when you want to impress a novice programmer?
tmux is simply fantastic for keeping a session active. Not to mention you won't need to use multiple disjointed emulator windows to do something like keep tabs on a log file while you're working. You can even "full screen" a pane by pressing `Ctrl+b z`! I love being able to ssh into a server (or even my home computer) and simply resume where I left off, from any computer! My friend, let me also take a moment to tell you about Vim.... ;)
Back on topic: I think it would be good for anything where you want things to look almost exactly what's on your screen with high fidelity. Someone submitted an issue to have tmux2html continuously write to the same file that reloads itself. That could be used to have a not-so-realtime snapshot of a pane that's accessible from a browser. Perhaps, some weirdly draconian workplace that requires all employees to use tmux can routinely take a snapshot of all workstation sessions to make sure they aren't goofing off watching ASCII youtube[1]. Who knows!
Re: Show HN: tmux2html - Render full tmux windows or individual panes as HTML
#7Re: Show HN: tmux2html - Render full tmux windows or individual panes as HTML
#8I use tmux all the time. Even went as far as setting up a dedicated "tmux server" when I was more focused on systems.
This tool will definitely come in handy. Thanks for the great work!
Re: Show HN: tmux2html - Render full tmux windows or individual panes as HTML
#9[1] https://asciinema.org/ [2] https://github.com/asciinema/asciinema/issues/105
Re: Show HN: tmux2html - Render full tmux windows or individual panes as HTML
#10asciinema[1] does a similar thing but captures a whole terminal session. If somebody would add key input overlay support[2], it would actually be tremendously useful for demonstration purposes of interactive, mainly keyboard driven, terminal applications. [1] https://asciinema.org/ [2] https://github.com/asciinema/asciinema/issues/105
The example links are actually hosted on my server and were uploaded using Dropshare. Pretty easy peasy if I need to share something that I don't want public.