Color [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)
It's a tmux window displaying the log file for the share.esdf.io domain. It refreshes every second, so the message above about animated examples applies.
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!
I've been using vim for a long time now, although I am still a neophyte.
And I have tried tmux some time ago, but couldn't get used to the keybindings that conflicted with those of vim (I'm against doing too much customization -- specially of keybindings --, because that will make me useless when using other people's computers). Is this a real problem or was it just something I did wrong?
[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.
[1] https://github.com/asciinema/asciinema/blob/master/doc/ascii...
It is displaying the log file for my share.esdf.io domain (with IPs masked). I may take that link down in an hour or two if my puny server gets hammered.
I 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!
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.
If there was a utility that converted that json file to a single HTML file, that'd be a different story. If you feel up to doing that, tmux2html uses an MIT license, so feel free to use the parts that parses the escape sequences.
Anyway I didn't mean to discourage you from working on your project.
I just would like to use a decent terminal recording solution to showcase some of my own projects (e.g. abduco+dvtm, vis[1]). Ideally it would support:
* copy pasting from the screen cast
* pausing / adjusting playback speed
* simple self hosting mechanism
* conversion to gif as preview for inclusion in Markdown files or for environments where Javascript is disabled
* overlay to show pressed keys
AFAIK all but the last point is possible with asciinema. In the past I've used mkcast[2] which uses a fork of screenkey and is a pain to use. Apparently its developer now recommends xscast.
Anyway it is a mess to use and as a result the featured screen casts for my projects are rarely updated and by now completely out of date.
I want to be able to produce GIFs since that's relatively easy enough, but it got me thinking that there just needs to be support for embedding an iframe in (Github's) markdown. Just strip scripts out of it and let authors worry about making it look right in the markdown in terms of size and using CSS for animations. GIFs are just huge and look bad when making their size reasonable.
In regard to key overlays, I feel the same way. I'm having that issue right now with my other project[1]. There was a little bit of effort put into making the animations with key overlays, and I really don't want to update them so that the images are correct with the current fixes.
In the scope of tmux, is it even possible to capture what keys were pressed? I'd be interested in adding such a feature to tmux2html since having an overlay with CSS and HTML would be trivial.
BTW, vis is pretty cool.
Now I use vim for everything, but I still use the same prefix because I've gotten used to it.
If you're stuck using someone else's computer, you can always pass through the prefix by hitting it twice...For example, if I ever need a backtick, I can just tap it two times.
https://github.com/Tombert/dotfiles/blob/master/tmux/.tmux.c...
Looks like HN is slowing down the post speeds here. If you want to talk about Vim more, send me a message @cloudsiphon on Twitter.