Live data from Hacker News

Xterm.js

xtermjs.org

21–30 of 67 posts

Re: Xterm.js

#21

TIL chrome has an ssh client extension which can be used in a browser tab. Anyone care to share their experience with it? https://chrome.google.com/webstore/detail/secure-shell-app/p...

I used to use it some years back when I was still on Windows and using Chrome. It was pretty good for a Windows environment. For a Linux/Mac environment, it doesn't come close to a proper terminal emulator. It'll do the job, but I recall there were a few things that were annoying.

Re: Xterm.js

#22
post #5

The demo on the homepage seems to be broken in Safari on macOS. I'm not seeing any text.

This is related to some issue with Safari's new WebGL 2 implementation they shipped recently[1]. Currently we disable the webgl renderer on Safari inside github.dev/codespaces to work around this.

[1]: https://github.com/xtermjs/xterm.js/issues/3357

Re: Xterm.js

#23
Hi all, I'm one of the maintainers of xterm.js, open to answer any questions!

Here's a little history on the project, some of which is already called out in other comments:

- Fabrice Bellard created jslinux[1].

- Christopher Jeffrey (@chjj) forked the terminal component into term.js[2], this eventually became unmaintained.

- Paris Kasidiaris (@parisk) forked it into xterm.js for use in SourceLair[3].

- I showed up around 2016 when investigating options for VS Code's integrated terminal and eventually joined as a maintainer, spending a good deal of my time at work on the project since then.

We currently have 5 active maintainers in the xterm.js team as well which I'd like to call out because the project has only come this far as a result of everyone's efforts.

[1]: https://bellard.org/jslinux/

[2]: https://github.com/chjj/term.js

[3]: https://www.sourcelair.com/

EDITS: Formatting

Re: Xterm.js

#24
post #12

I wonder how well it fares on the VT100 torture test curl -q http://cdn.preterhuman.net/texts/art/torturet.vt

It should fare fairly well, at least for the most common sequences. We have detailed what VT features we support on the website[1]. Some things that stand out that I know won't work are blinking and double height/width text.

[1]: https://xtermjs.org/docs/api/vtfeatures/

Re: Xterm.js

#26

just throwing a related idea in here in the hopes someone finds it interesting enough to develop. 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.

Is this different than opening the executable from the file manager?

Re: Xterm.js

#27
I've used this to create recorded terminals to Kubernetes for an internal app I built. We'd basically proxy the kube exec socket endpoint with a write log so we can playback what folks did.

Worked wonderfully. Thanks maintainers!

Re: Xterm.js

#28
post #23

Hi all, I'm one of the maintainers of xterm.js, open to answer any questions! Here's a little history on the project, some of which is already called out in other comments: - Fabrice Bellard created jslinux[1]. - Christopher Jeffrey (@chjj) forked the terminal component into term.js[2], this eventually became unmaintained. - Paris Kasidiaris (@parisk) forked it into xterm.js for use in SourceLair[3]. - I showed up ar…

I'm an educator and I to teach things like symmetric cryptography. I just used full virtual machines in class to demonstrate ccrypt to encrypt and decrypt files. Would xterm.js be a valid way to implement that kind of exercise to avoid relying on virtual machines? Do you know of any resources that would point me in the right direction for building educational exercises?

Re: Xterm.js

#29
post #23

Hi all, I'm one of the maintainers of xterm.js, open to answer any questions! Here's a little history on the project, some of which is already called out in other comments: - Fabrice Bellard created jslinux[1]. - Christopher Jeffrey (@chjj) forked the terminal component into term.js[2], this eventually became unmaintained. - Paris Kasidiaris (@parisk) forked it into xterm.js for use in SourceLair[3]. - I showed up ar…

TIL another project started by Fabrice Bellard (well for him it's just a side project for the real project JSLinux).

Re: Xterm.js

#30
post #28
post #23

Hi all, I'm one of the maintainers of xterm.js, open to answer any questions! Here's a little history on the project, some of which is already called out in other comments: - Fabrice Bellard created jslinux[1]. - Christopher Jeffrey (@chjj) forked the terminal component into term.js[2], this eventually became unmaintained. - Paris Kasidiaris (@parisk) forked it into xterm.js for use in SourceLair[3]. - I showed up ar…

I'm an educator and I to teach things like symmetric cryptography. I just used full virtual machines in class to demonstrate ccrypt to encrypt and decrypt files. Would xterm.js be a valid way to implement that kind of exercise to avoid relying on virtual machines? Do you know of any resources that would point me in the right direction for building educational exercises?

xterm.js is only a frontend, you still need to plug it into a backend or write you own. A VM would probably be the way to go.
Post reply on HN