menu
techminis

A naukri.com initiative

google-web-stories
Home

>

Programming News

>

Built a cl...
source image

Dev

4w

read

262

img
dot

Image Credit: Dev

Built a cli for browser

  • Termo is a simple terminal emulator that can be used to create a terminal-like interface on your website. It is inspired by the terminal emulator in stripe.dev. It is a wrapper on top of xterm.js.
  • Features include customizable terminal title, prompt, font, and theme. You can set a welcome message for the terminal and add and execute any javascript as commands. It also provides control over sound effects and full access to the terminal (xterm.js). The terminal can be set to dock/floating mode.
  • To install, include the provided script tag in your HTML file.
  • To get started, create a new instance of Termo by passing an object. You can customize the title, welcome message, and commands. Call the create() and show() methods to display the terminal.

Read Full Article

like

15 Likes

For uninterrupted reading, download the app