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.

Xterm.js

251 pointsby humilityover 3 years ago

18 comments

Tyriarover 3 years ago
Hi all, I&#x27;m one of the maintainers of xterm.js, open to answer any questions!<p>Here&#x27;s a little history on the project, some of which is already called out in other comments:<p>- Fabrice Bellard created jslinux[1].<p>- Christopher Jeffrey (@chjj) forked the terminal component into term.js[2], this eventually became unmaintained.<p>- Paris Kasidiaris (@parisk) forked it into xterm.js for use in SourceLair[3].<p>- I showed up around 2016 when investigating options for VS Code&#x27;s integrated terminal and eventually joined as a maintainer, spending a good deal of my time at work on the project since then.<p>We currently have 5 active maintainers in the xterm.js team as well which I&#x27;d like to call out because the project has only come this far as a result of everyone&#x27;s efforts.<p>[1]: <a href="https:&#x2F;&#x2F;bellard.org&#x2F;jslinux&#x2F;" rel="nofollow">https:&#x2F;&#x2F;bellard.org&#x2F;jslinux&#x2F;</a><p>[2]: <a href="https:&#x2F;&#x2F;github.com&#x2F;chjj&#x2F;term.js" rel="nofollow">https:&#x2F;&#x2F;github.com&#x2F;chjj&#x2F;term.js</a><p>[3]: <a href="https:&#x2F;&#x2F;www.sourcelair.com&#x2F;" rel="nofollow">https:&#x2F;&#x2F;www.sourcelair.com&#x2F;</a><p>EDITS: Formatting
评论 #28800977 未加载
评论 #28799893 未加载
评论 #28800954 未加载
评论 #28802602 未加载
评论 #28799880 未加载
评论 #28802984 未加载
rbanffyover 3 years ago
I wonder how well it fares on the VT100 torture test<p>curl -q <a href="http:&#x2F;&#x2F;cdn.preterhuman.net&#x2F;texts&#x2F;art&#x2F;torturet.vt" rel="nofollow">http:&#x2F;&#x2F;cdn.preterhuman.net&#x2F;texts&#x2F;art&#x2F;torturet.vt</a>
评论 #28801308 未加载
评论 #28799574 未加载
评论 #28809774 未加载
humilityover 3 years ago
TIL chrome has an ssh client extension which can be used in a browser tab. Anyone care to share their experience with it?<p><a href="https:&#x2F;&#x2F;chrome.google.com&#x2F;webstore&#x2F;detail&#x2F;secure-shell-app&#x2F;pnhechapfaindjhompbnflcldabbghjo" rel="nofollow">https:&#x2F;&#x2F;chrome.google.com&#x2F;webstore&#x2F;detail&#x2F;secure-shell-app&#x2F;p...</a>
评论 #28799399 未加载
评论 #28802568 未加载
评论 #28800870 未加载
tyingqover 3 years ago
Related is <a href="https:&#x2F;&#x2F;hterm.org&#x2F;" rel="nofollow">https:&#x2F;&#x2F;hterm.org&#x2F;</a> , used with the built in ssh terminal in chromebooks.
评论 #28803113 未加载
biginkoreaover 3 years ago
We&#x27;re using xterm.js to teach programming to kids in a block-based (like MIT scratch) editor: <a href="https:&#x2F;&#x2F;app.code-it-studio.de&#x2F;makerspace&#x2F;57" rel="nofollow">https:&#x2F;&#x2F;app.code-it-studio.de&#x2F;makerspace&#x2F;57</a>
parhamnover 3 years ago
I&#x27;ve used this to create recorded terminals to Kubernetes for an internal app I built. We&#x27;d basically proxy the kube exec socket endpoint with a write log so we can playback what folks did.<p>Worked wonderfully. Thanks maintainers!
saimiamover 3 years ago
That’s quite a roster of clients using xtermjs.
DonHopkinsover 3 years ago
I wrote a VT100 emulator in PostScript for NeWS in 1987! I worked for a company called Wedge Computer (ha ha!), who ported NeWS to the Mac II running A&#x2F;UX, which needed a way to connect to Unix servers from NeWS without running a terminal emulator client remotely. It could passed vttest!<p><a href="https:&#x2F;&#x2F;donhopkins.com&#x2F;home&#x2F;archive&#x2F;NeWS&#x2F;tnterm.ps" rel="nofollow">https:&#x2F;&#x2F;donhopkins.com&#x2F;home&#x2F;archive&#x2F;NeWS&#x2F;tnterm.ps</a><p><a href="https:&#x2F;&#x2F;en.wikipedia.org&#x2F;wiki&#x2F;NeWS" rel="nofollow">https:&#x2F;&#x2F;en.wikipedia.org&#x2F;wiki&#x2F;NeWS</a><p>Two versions of NeWS on Mac II Make Debut<p><a href="https:&#x2F;&#x2F;books.google.nl&#x2F;books?id=Cj8EAAAAMBAJ&amp;pg=PA31&amp;lpg=PA31&amp;dq=%22wedge+computer%22+%22news%22+%22mac%22&amp;source=bl&amp;ots=OGlB_t3fXQ&amp;sig=ACfU3U1AJciLsfbqkbKQjMX02zNq9z1hpA&amp;hl=en&amp;sa=X&amp;ved=2ahUKEwiooee50bvzAhWQ2aQKHWvFCiMQ6AF6BAgCEAM#v=onepage&amp;q=%22wedge%20computer%22%20%22news%22%20%22mac%22&amp;f=false" rel="nofollow">https:&#x2F;&#x2F;books.google.nl&#x2F;books?id=Cj8EAAAAMBAJ&amp;pg=PA31&amp;lpg=PA...</a><p>Yep, Unix ran on Macs in 1988!<p><a href="https:&#x2F;&#x2F;en.wikipedia.org&#x2F;wiki&#x2F;A&#x2F;UX" rel="nofollow">https:&#x2F;&#x2F;en.wikipedia.org&#x2F;wiki&#x2F;A&#x2F;UX</a>
fimdomeioover 3 years ago
just throwing a related idea in here in the hopes someone finds it interesting enough to develop.<p>Having a very simple cli app generator that allows one to have independent terminal applications that run just like normal app. Independent in the sense that you can open them as any other app, run on their own window, and and you can reach them through the app switcher.
评论 #28799079 未加载
评论 #28799691 未加载
messeover 3 years ago
The demo on the homepage seems to be broken in Safari on macOS. I&#x27;m not seeing any text.
评论 #28799423 未加载
评论 #28801210 未加载
thinkafterbefover 3 years ago
Love xterm.js! We use it to stream logs and as an in-browser terminal for our upcoming CI[1]. It&#x27;s blazing fast especially with the WebGL renderer turned on.<p>[1]<a href="https:&#x2F;&#x2F;buildjet.com" rel="nofollow">https:&#x2F;&#x2F;buildjet.com</a>
apignottiover 3 years ago
A well made library, we use it as part of the REPL demos for CheerpX, our WebAssembly-powered X86 virtual machine.<p><a href="https:&#x2F;&#x2F;nextrepl.leaningtech.com&#x2F;?python3" rel="nofollow">https:&#x2F;&#x2F;nextrepl.leaningtech.com&#x2F;?python3</a>
rasenganover 3 years ago
Fun fact - xterm.js was originally created by chjj who also wrote the code for Handshake DNS among other things.<p>My favorite is blessed [1].<p>He’s definitely a super programmer. Thank you for all your contributions to this world @chjj!<p>[1] <a href="https:&#x2F;&#x2F;github.com&#x2F;chjj&#x2F;blessed" rel="nofollow">https:&#x2F;&#x2F;github.com&#x2F;chjj&#x2F;blessed</a>
评论 #28799070 未加载
dugmartinover 3 years ago
This is a great project. I played with it a few years ago to create a tiled ssh client in Electron as a proof of concept for an idea I had and it was very easy to integrate. It has only gotten better since then with all the love from the Microsoft sponsored commits (it is used in VSCode).
webwanderingsover 3 years ago
Would somebody (if reading this) want to be generous and help me out? I&#x27;m not a programmer. I&#x27;d wish to use xterm.js in either a md or the mdx file (looking to incorporate a terminal in docusaurus site). My google-fu fails me for this.
oso2kover 3 years ago
Another older terminal JS library that might interest people is <a href="https:&#x2F;&#x2F;www.masswerk.at&#x2F;termlib&#x2F;" rel="nofollow">https:&#x2F;&#x2F;www.masswerk.at&#x2F;termlib&#x2F;</a>
kevincoxover 3 years ago
I like that the default renderer allow copy-paste.
hulituover 3 years ago
&quot;Build terminals in the browser&quot; ... and give your passwords there, and type commands. What can go wrong.
评论 #28802230 未加载
评论 #28798489 未加载
评论 #28798323 未加载