Press "Enter" to skip to content

Lightweight and Modern Terminal Window Animations Using ASYNC | termynal.js

termynal.js is a lightweight and modern animated terminal window JavaScript library that adds an animated, configurable terminal to your web application.

javascript terminal emulator, making web terminal using javascript, terminal js example, create a terminal in javascript, javascript terminal online

Create Custom HTML Terminals With Pure JavaScript | shell.js

How to make use of it:

1. Include Termynal patterns to style the terminal.

<link rel="stylesheet" href="termynal.css">

2. Create a peripheral container with the feature of the data term and the Termynal ID.

<div id="termynal" data-termynal data-ty-typeDelay="40" data-ty-lineDelay="700">
  <span data-ty="input" data-ty-prompt="▲">npm uninstall react</span>
  <span data-ty>Are you sure you want to uninstall 'react'?</span>
  <span data-ty="input" data-ty-typeDelay="1000" data-ty-prompt="(y/n)">y</span>
  <span data-ty="progress" data-ty-progressChar="·"></span>
  <span data-ty>Uninstalled 'react'</span>
  <span data-ty="input" data-ty-prompt="▲">node</span>
  <span data-ty="input" data-ty-prompt=">">Array(5).fill('? ')</span>
  <span data-ty>['?', '?', '?', '?', '?']</span>
  <span data-ty="input" data-ty-prompt="▲">cd ~/repos</span>
  <span data-ty="input" data-ty-prompt="▲ ~/repos"> git checkout branch master</span>
  <span data-ty="input" data-ty-prompt="▲ ~/repos (master)">git commit -m "Fix things"</span>

3. Include the main JavaScript at the bottom of the web page.

<script src="termynal.js" data-termynal-container="#termynal"></script>

Tiny Terminal Emulator, termynal.js Plugin/Github

See Demo And Download

Official Website(ines): Click Here

This superior jQuery/javascript plugin is developed by ines. For extra advanced usage, please go to the official website.

Be First to Comment

    Leave a Reply

    Your email address will not be published.