A simple jQuery based terminal emulator that makes it easy to create command line interpreter for your website or web application.

Command Line Interpreter is a blanket term for a certain class of programs designed to read lines of text entered by a user, thus implementing a command-line interface.(More info about Command Line Interpreter on WIKI).

Licensed under GNU LGPL Version 3 license.

You might also like:

Main Features:

  • Automatically call JSON-RPC service.
  • You can provide your own function in which you can parse user command.
  • Command Tree supported
  • Command line history supported
  • Tab completion supported
  • Keyboard shortcut like CTRL+A, CTRL+D, CTRL+E etc, supported
  • Authentication supported
  • Multiple Command Line Interpreters on one page supported

Installation:

# NPM
$ npm install jquery.terminal

# Bower
$ bower install jquery.terminal

Basic Usage:

1. Include jQuery JavaScript library and the terminal emulator plugin’s files on your page.

<link href="css/jquery.terminal.min.css" rel="stylesheet" />
<script src="/path/to/cdn/jquery.min.js"></script>
<script src="js/jquery.terminal.min.js"></script>

Or from a CDN.

<link href="https://unpkg.com/jquery.terminal/css/jquery.terminal.min.css" rel="stylesheet" />
<script src="https://unpkg.com/jquery.terminal/js/jquery.terminal.min.js"></script>

Include the Mouse Wheel plugin for the mousewheel support (for legacy browsers).

<script src="/path/to/jquery.mousewheel-min.js"></script>

Include the optional polyfills for legacy browsers.

<script src="https://unpkg.com/js-polyfills@latest/keyboard.js"></script>

5. Include optional extensions as per your needs.

  • ascii_table.js: renders simple ascii table, like the one from mysql cli tool
  • autocomplete_menu.js: create autocomplete menu in Terminal
  • dterm.js: jQuery UI dialog extension for Terminal
  • echo_newline.js: add newlinew option for echo method inside Terminal
  • emoji.js: add support for emoji
  • less.js: create less like command in Terminal
  • pipe.js: add pipe operator and redirects to commands
  • prism.js: formatter to be used with PrismJS
  • unix_formatting.js: convert UNIX ANSI escapes to terminal and display them as html
  • xml_formatting.js: allow to use xml like syntax with colors as tags
  • <script src="js/ascii_table.js"></script>
    <script src="js/autocomplete_menu.js"></script>
    <script src="js/dterm.js"></script>
    <script src="js/echo_newline.js"></script>
    <script src="js/emoji.js"></script>
    <script src="js/less.js"></script>
    <script src="js/pipe.js"></script>
    <script src="js/prism.js"></script>
    <script src="js/unix_formatting.js"></script>
    <script src="js/xml_formatting.js"></script>

    Copyright{}

    Website:https:www.jqueryscript

    URL: DEMO

    https://www.jqueryscript.net/demo/jQuery-Command-Line-Interpreter-Plugin-Terminal-Emulator/examples/rpc-demo.html

    View Demo

  • DOWNLOAD

 

LEAVE A REPLY

Please enter your comment!
Please enter your name here