Custom HTML Terminals is A JavaScript library to create HTML terminals on web pages. The shell js JavaScript library offers a straightforward method to create Ubuntu, OS X, Windows, and Custom type terminal on the web software.
Must Read: [Reactive] A JQuery Terminal Style Shell-Like Form | Contact rform
How to make use of it:
Installation:
# Yarn $ yarn add shell.js # NPM $ npm install shell.js --save
Import the shell.js
.
<script src="/path/to/shell.js"></script>
Create a placeholder component for the terminal.
<div id="default"></div>
Generate a default terminal contained in the aspect.
new Shell('#default', { // options here });
Set the types of the terminal.
new Shell('#default', { style: 'osx' });
Set the theme (dark or light) of the terminal.
new Shell('#default', { theme: 'light' });
Set the person/host/path/instructions displayed within the terminal.
new Shell('#default', { user: 'guest', host: 'HOSTNAME', path: '/etc/', commands: ['sudo -i', 'rm -rf /', 'exit'] });
Make the terminal fully responsive.
new Shell('#default', { responsive: true });
You also can use the typed.js
library to create a typing impact within the terminal.
<script src="https://cdnjs.cloudflare.com/ajax/libs/typed.js/2.0.6/typed.min.js"></script>
new Shell('#default', { typed: Typed });
See Demo And Download

Official Website(davidecaruso): Click Here
This superior jQuery/javascript plugin is developed by davidecaruso. For extra Advanced Usage, please go to the official website.