Create Custom HTML Terminals With Pure JavaScript | shell.js

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

Create-HTML-Terminals

Official Website(davidecaruso): Click Here

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

Related Posts

drag-drop-file-5x5-jq-uploader

Responsive Drag and Drop File Uploader/Download Plugin | 5x5_jq_uploader

5x5_jq_uploader plugin can be used to instantly create a drop file area and file queue with a little bit of preparation. Bootstrap is used for responsive planning…

Bootstrap-Dark-Mode

Stylesheet For Implementing Dark Mode with Bootstrap

Bootstrap Dark Mode provides a style sheet and two texts that allow you to implement Dark Mode on your website. Initially loaded based on user preferences, can…

responsive-navigation-menu

Multi-purpose Navigation Menu for Javascript Library | jQuery Corenav

coreNavigation is a multipurpose navigation menu for a jquery based javascript library, comes with more style, and is easy to integrate. 11 Default Menu 2 Responsive Navigation…

Simple-Multi-Select-Dropdown-Pure-Vanilla-Javascript

Simple Multi-Select Dropdown Pure Vanilla Javascript | multiSelect.js

MultiSelect.js is a simple, clean, and progressive JavaScript library designed for easy integration with any type of project or system. The design was heavily influenced by the…

Confetti-Falling-Animation-Effect-party

Confetti Falling Animation Effect In JavaScript | party.js

Party.js is a JavaScript library to brighten user site experience with visual effects! Celebrate success with dom confetti! The library is written in TypeScript and compiled into…

how-to-create-popup-in-html-with-css

How To Create A Popup in HTML with CSS

How to create popup in html with css – Popup without JavaScript is an elegant pop-up panel component with an animated scale, written in CSS. Have you…