Press "Enter" to skip to content

Easy-To-Use Library that Makes an Interactive Terminal Emulator for Your Programs | Jaxit

Jaxit is an easy-to-use library that makes an interactive station for your programs. The simulator is very light and easy to extend Pash is written in Javascript Pure Vanilla Javascript.

termynal, jquery terminal, create a terminal in javascript, xterm js tutorial, terminal emulator, javascript terminal, terminal html

Jaxit’s Color Scheme

Jaxit has a color scheme that is usuable.

It supports these following colors. (More will be added in future updates.)

  • red
  • lightgreen
  • blue
  • white
  • gray
  • green
  • purple
  • pink
  • yellow
  • lightblue
  • yellowgreen
  • cyan
  • teal
  • hotpink

How to make use of it:

1. Import the Jaxit library.

<link rel="stylesheet" href="jaxit.css" />
<script src="jaxit.min.js"></script>
// or
import {createJaxit} from './jaxit.module.min.js';
@import url('./jaxit.css');

2. Initialize the Jaxit.

var jax = createJaxit();
jax.init();

3. Apply default styles to the terminal.

jax.defaultStyle();

4. Print one thing on the terminal.

// jax.print(string, color);
jax.print('CSSScript.com', '#ffffff');

5. Monitor and react to user input.

// jax.scan(question, text1Color, text2Color, ParseInputIntoInteger, callback)
jax.scan('Your Question', "red", "white", false, function(userInput) {
  jax.print(userInput);
});

6. Clear the terminal.

jax.clear();

7. Change the situation of the terminal:

jax.changeLocation('fullscreen');

8. Style the terminal utilizing your individual CSS.

.jaxit-console {
  ...
}

9. Or by way of JavaScript.

jax.jaxconsole.style.styleName = VALUE;

10. More API strategies.

// set the font family
// google fonts are supported 
jax.changeConsoleFont(newfont);

// set the background color
jax.changeConsoleColor(newcolor);

// set the gradient
jax.changeConsoleColorGradient(arr, type, direction);

// change the size
jax.changeConsoleSize(wantedwidth, wantedHeight, width_measurement_type, height_measure_type);

Lightweight Terminal Emulator, Jaxit Plugin/Github


See Demo And Download

Official Website(CoderUltraSonic): Click Here

This superior jQuery/javascript plugin is developed by CoderUltraSonic. For extra Advanced Usages, please go to the official website.

Be First to Comment

    Leave a Reply

    Your email address will not be published.