TE
TechEcho
Home24h TopNewestBestAskShowJobs
GitHubTwitter
Home

TechEcho

A tech news platform built with Next.js, providing global tech news and discussions.

GitHubTwitter

Home

HomeNewestBestAskShowJobs

Resources

HackerNews APIOriginal HackerNewsNext.js

© 2025 TechEcho. All rights reserved.

Text-based terminal screencasts

293 pointsby daw___almost 12 years ago

25 comments

chjjalmost 12 years ago
Author of term.js&#x2F;tty.js[1] here. Nice work. You guys should keep an eye on term.js. The version you&#x27;re using is slightly old and actually contains a bug (now fixed) wherein all events will become unbound if the reset control sequence is received. I&#x27;m also adding fixes for a few other things currently, such as double-width character support, which has been a problem in the past.<p>[1] <a href="https://github.com/chjj/term.js" rel="nofollow">https:&#x2F;&#x2F;github.com&#x2F;chjj&#x2F;term.js</a>
评论 #6191496 未加载
tibbonalmost 12 years ago
One thing that I think could help out a bit would be to show key commands as they are pressed as well. I&#x27;d love to use this to show my students software development things (using vim or emacs for editor), but showing them the keypresses I make as well is critical for some text editors newbies.
评论 #6191989 未加载
grkalmost 12 years ago
<a href="http://ascii.io/" rel="nofollow">http:&#x2F;&#x2F;ascii.io&#x2F;</a> does the same and was around for a while, but showterm&#x27;s text selection works better.
评论 #6190751 未加载
评论 #6194251 未加载
评论 #6197230 未加载
bilalqalmost 12 years ago
This is such an incredible idea. I can already see tons of use cases for it. CLI apps can easily demo themselves through this. It even recognizes backspaces!<p>I&#x27;m using a patched font with a git branch symbol in my prompt[0]. As expected, it only displays on devices that have that font installed. Colors don&#x27;t match my actual terminal either, but that&#x27;s just a minor problem.<p>[0] <a href="http://showterm.io/e49d0900602104ae4850f" rel="nofollow">http:&#x2F;&#x2F;showterm.io&#x2F;e49d0900602104ae4850f</a>
telemachosalmost 12 years ago
I agreed with the people saying that a confirmation before uploading would be helpful, so I went to file an issue.<p>It turns out there is one there already. You can weigh in here: <a href="https://github.com/ConradIrwin/showterm/issues/12" rel="nofollow">https:&#x2F;&#x2F;github.com&#x2F;ConradIrwin&#x2F;showterm&#x2F;issues&#x2F;12</a>.<p><i></i>EDIT<i></i>: A follow up: It turns out that there is a slightly hidden and indirect way to abort uploads. Start the program as `showterm -e`, and it will offer you a chance to edit timings before uploading. (This is intended to give you a chance to trim out long pauses.) At that point, if you can cause your editor to abort with a non-zero status, the upload aborts. For Vim users, the gem&#x27;s author points to exiting with `:cq`.<p>See here: <a href="https://github.com/ConradIrwin/showterm/blob/master/bin/showterm#L84-L99" rel="nofollow">https:&#x2F;&#x2F;github.com&#x2F;ConradIrwin&#x2F;showterm&#x2F;blob&#x2F;master&#x2F;bin&#x2F;show...</a>
pdkl95almost 12 years ago
Nice - it automagically translates &quot;CSI 38:5:FG m CSI 48:5:BG m&quot; properly. ( <a href="http://showterm.io/6ed840f381fd81a881176" rel="nofollow">http:&#x2F;&#x2F;showterm.io&#x2F;6ed840f381fd81a881176</a> )<p>This will be very useful! That said, I have to second the concern above that it should ask for confirmation before uploading; just auto-uploading could be an in issue if somebody accidentally pastes sensitive information into the terminal.
评论 #6191888 未加载
plgalmost 12 years ago
Q1: is there a way to download the resulting screencast so that it can be viewed off the network?<p>Q2: is there a way to do this without having to upload anything? e.g. pipe to a file locally?
评论 #6190948 未加载
daw___almost 12 years ago
Source code of showterm: client[1], server[2]<p>[1] <a href="https://github.com/ConradIrwin/showterm" rel="nofollow">https:&#x2F;&#x2F;github.com&#x2F;ConradIrwin&#x2F;showterm</a> [2] <a href="https://github.com/ConradIrwin/showterm.io" rel="nofollow">https:&#x2F;&#x2F;github.com&#x2F;ConradIrwin&#x2F;showterm.io</a>
评论 #6195260 未加载
beshrkayalialmost 12 years ago
Wow! This is quite awesome!<p>Would love to have live streaming capability for this (though I can&#x27;t think about a reason to use it yet, but I&#x27;m sure it&#x27;ll be handy.)
评论 #6191137 未加载
riskablealmost 12 years ago
Gate One has had this feature for ages. You can export your terminal logs to HTML payback files <i>or</i> as traditional flat logs. You can then share them however you like... Web, email, whatever.<p>It works with full screen apps like tmux, vim, htop, etc. It even plays back images (if the user output them to the terminal).
prezjordanalmost 12 years ago
Pretty cool, but unfortunately it does not work with my PS1 [0]. Looks like any PS1 with a shell call in it won&#x27;t work.<p>[0]: <a href="http://github.com/impromptu/impromptu" rel="nofollow">http:&#x2F;&#x2F;github.com&#x2F;impromptu&#x2F;impromptu</a>
hngiszmoalmost 12 years ago
I wonder about credentials leaking to the service. When I show off connecting to a server that uses login&#x2F;password, will this also be recorded and uploaded or only keys that actually change the ui?<p>How about ncurses apps?
评论 #6193118 未加载
评论 #6193816 未加载
daw___almost 12 years ago
I&#x27;m doing some tests [1] with showterm&#x27;s screencasts embedded in a web page and, argh, apparently you can&#x27;t control the autorun feature, pretty annoying.<p>I think that if it had a set of &quot;play&quot;&#x2F;&quot;pause&quot;&#x2F;&quot;rewind&quot;&#x2F;&quot;forward&quot; buttons, tons of websites would benefit (for docs, examples, tutorials, etc).<p>[1] <a href="https://googledrive.com/host/0B9lMEsFXwv0ZLVh5dkRfdmw1UnM/" rel="nofollow">https:&#x2F;&#x2F;googledrive.com&#x2F;host&#x2F;0B9lMEsFXwv0ZLVh5dkRfdmw1UnM&#x2F;</a>
q_revertalmost 12 years ago
the ability to copy&#x2F;paste is particularly useful in this case, given that that&#x27;s what most people end up doing anyway.. particularly for more complicated commands
评论 #6190672 未加载
nkuttleralmost 12 years ago
I think the script should ask for a confirmation before uploading stuff. Somebody could get distracted and forget that script runs.
评论 #6191041 未加载
vysakh0almost 12 years ago
I just tried to play around with showterm. Why does it have a different theme? When I use Vim with solarized theme, showterm shows it in a different ugly way. <a href="http://showterm.io/15104fd85863532b74150" rel="nofollow">http:&#x2F;&#x2F;showterm.io&#x2F;15104fd85863532b74150</a> Am i doing something wrong?
basicallydanalmost 12 years ago
This is really sweet! As well as some of the other features requested, real-time might be nice, too.<p>Plus, the option to cut out backspaces and only go with the finished command might be cool, in case the screencaster has made some mistakes along the way.
kolevalmost 12 years ago
Here&#x27;s another interesting library by floobits: <a href="https://floobits.com/help/floomatic/" rel="nofollow">https:&#x2F;&#x2F;floobits.com&#x2F;help&#x2F;floomatic&#x2F;</a>
reustlealmost 12 years ago
I&#x27;ve been thinking of better ways to do programming tutorials and something like this is roughly what I had in mind. Thanks for open sourcing it!
评论 #6191285 未加载
kaichanvongalmost 12 years ago
Would love to see most viewed showterm videos! :)
voltagex_almost 12 years ago
So if you can work out how to add a red ● to your prompt, this&#x27;d be a really good way to indicate recording.
评论 #6191266 未加载
shykesalmost 12 years ago
I&#x27;ve been using ascii.io for a while - I would be interested in a comparison between the two.
paddy_malmost 12 years ago
awesome. I tried a while ago with terminalcast.com. hopefully this gets more traction. integration with native terminal emulators would be great, so you can start recording at any point in time.
xSwagalmost 12 years ago
What happens if I run something like htop?
评论 #6190838 未加载
rfnslyralmost 12 years ago
If I want to go back on your site, it keeps me on your site. Absolutely infuriating, remove this.