talira

xterm.js

Terminal component for the web, used by VS Code

open sourceMITfree

xterm.js is a frontend component that brings a fully featured terminal to web applications: terminal apps such as bash, vim and tmux work in it, including curses apps and mouse events, with an optional GPU-accelerated renderer, rich Unicode (CJK, emoji, IMEs), zero dependencies in its core, a screen reader mode and minimum contrast, links, theming, custom glyphs and addons. It isn't a terminal app or a shell itself: you connect it to a process through a library such as node-pty. Visual Studio Code and many other projects use it.

Problems it solves

  • embed a terminal in a web app
  • a browser-based SSH terminal UI
  • show a shell in an Electron app

Features

  • runs bash, vim and tmux in the browser
  • GPU-accelerated renderer
  • CJK, emoji and IME support
  • zero-dependency core
  • screen reader mode
  • addons and theming

Alternatives

The same job

These do what xterm.js does.

  1. blessed-contrib Build terminal dashboards with ASCII and ANSI art in JavaScript

Compare xterm.js with the top 3