• Stars
    star
    570
  • Rank 78,245 (Top 2 %)
  • Language
    JavaScript
  • License
    MIT License
  • Created almost 2 years ago
  • Updated 5 months ago

Reviews

There are no reviews yet. Be the first to send feedback to the community and the maintainers!

Repository Details

Create a web based terminal on any website - great for games, animations and real world apps!

Termino.js ยท GitHub license Current version PRs Welcome

User Showcase | Live Demo | Getting Started | Documentation | GitHub

Termino.js is a highly customizable front-end component written in pure JavaScript that is great for making web based terminal animations, games & apps on any website including support for curses-based apps, custom functions on user commands, key-code & mouse events & much more!

ie: You can use this JavaScript library to create web based terminals on any website.

Learn how to use Termino.js in your project.

Features

  • Fast: Termino.js is lightweight - being built in pure JavaScript
  • Self-contained: Requires zero dependencies to work.
  • Great for animations: You can make terminal animations with ease & bring your favourite typewriter library in or etc!
  • Customizable: Bring your own HTML, CSS & customize / create a terminal to your liking!
  • Inputs: Supports inputs for questions returned via a promised / await based value
  • Multiple instances: Create more than one custom terminal in a page!
  • HTML support: Add HTML elements such as links and more to your terminal!
  • Custom functions: Create your own custom functions with ease (including user-command functions, key-code functions & your own mouse event functions)
  • And much more: the options are endless!

Termino.js is not Emoji hand pointing left

  • Termino.js is not a executable application that you can download and use on your computer. It is a JavaScript library you use in the browser.
  • Termino.js is not a bash emulator etc. Termino.js can be connected to processes like bash or a SSH instance via API etc or any process that lets you interact with them by providing input & receiving output.

Documentation

You can find the Termino.js documentation here.

Check out the Getting Started for a quick overview.

You can improve it by sending pull requests to this repository.

Example and usage

You can view a demo of Termino.js in use here.

How to use Termino.js:

<!doctype html>
  <html>
    <head>
    <title>Termino.js Basic Example</title>
    </head>
    <body>
      <div id="terminal">
      <pre><code class="termino-console"></code></pre>
      <textarea class="termino-input" rows="1" wrap="hard"></textarea>
      </div>
      <script type="module">
        import {Termino} from 'https://cdn.jsdelivr.net/gh/MarketingPipeline/[email protected]/dist/termino.min.js';
        let term= Termino(document.getElementById("terminal"))
        term.echo("Hello world from https://github.com/MarketingPipeline")
      </script>
    </body>
  </html>

For more advanced usage such as adding your own commands, creating animations & etc. See the live examples here or you can find the Termino.js documentation here.

Contributing GitHub contributors

The main purpose of this repository is to continue evolving Termino.js, making it faster and easier to use. Development of Termino.js happens in the open on GitHub, and we are grateful to the community for contributing bugfixes and improvements.

Want to improve this? Create a pull request with detailed changes / improvements! If approved you will be added to the list of contributors of this awesome project!

Looking for a task to work on? Check the tasks that need improved in the to-do list.

See also the list of contributors who participate in this project.

License GitHub license

This project is licensed under the MIT License - see the LICENSE file for details.

More Repositories

1

Markdown-Tag

Render Markdown to HTML on any website using a md tag
CSS
414
star
2

Python-Selenium-Action

Run Selenium with Python via Github Actions using Headless or Non-Headless browsers!
Python
116
star
3

Simply-Docs

A simple, fast, free & easy to use static based plain HTML template. That allows you to make a beautiful personal / blog or technical documentation website really quickly.
HTML
82
star
4

Awesome-Repo-Template

An awesome repo template packed with tons of tools & more to kick-start your next project / repo!
HTML
81
star
5

Awesome-CSS-Resources

An awesome list of CSS / SCSS frameworks & resources.
66
star
6

Code-Runner-Web-Component

A web component that allows you to run high level programming languages on your websites (static websites included!)
JavaScript
50
star
7

Ace-Editor-Web-Component

A web-component to add code editors to your web page powered via Ace Editor
JavaScript
48
star
8

CSS-Image-Loader

Add a image loader & image load error (without adding an HTML element or using JS).
CSS
20
star
9

Scriptor.js

A JavaScript Library for building custom text editors with ease ๐Ÿ“
JavaScript
19
star
10

Website-Launch-Checklist

โ˜‘๏ธ A checklist for launching a website
17
star
11

OnThisDay.js

A JavaScript library to find out what events happened today or any provided day in history.
JavaScript
14
star
12

Emoji-Parser.js

Replace keywords with emoji's on your website ๐Ÿ˜‹
JavaScript
14
star
13

Serverless-Guestbook

A serverless guestbook hosted on Github Pages. Powered for free by Google.
JavaScript
11
star
14

Serverless-Forms

Serverless forms templates with NO REDIRECTS powered for FREE by Google.
CSS
11
star
15

API-Security-Checklist

โ˜‘๏ธ A security checklist for anyone who's developing and deploying APIs
10
star
16

Media-Card-Web-Component

A web component to display books, movies, TV shows & song details on any website
JavaScript
9
star
17

OCR-PDF-Action

A GitHub action for turning scanned PDF's into searchable documents
Shell
7
star
18

Estuary

A HTML, CSS, and JavaScript framework that looks like the default Kodi theme.
HTML
7
star
19

Python-In-The-Browser

Examples & resources on how to use Python in the web browser.
6
star
20

Quote-Placeholders

Automatically updated quote images for your GitHub Profile or website.
6
star
21

JSON-Tag

Render JSON data in HTML & LOTS more using a json tag
JavaScript
6
star
22

Emoji-Fallback.js

Provide support for emojis on ALL web browsers!
JavaScript
4
star
23

Pokedex-Web-Component

A web component to show off your favorite Pokemon inside of a Pokedex
4
star
24

TOC-Generator-Action

A Github Action to generate a table of contents in your README
Dockerfile
4
star
25

Image-Optimizer-Action

A Github Action to optimize / compress images in your repository
Shell
4
star
26

Estuary-Redux

A revived, modern looking version of the Estuary CSS design framework.
HTML
4
star
27

TheMovieDB-API-Wrapper.js

A JavaScript library for EASILY fetching info from TheMovieDB API with support for torrent file names.
JavaScript
4
star
28

GitHub-Action-Runner

Trigger / run GitHub Actions from a self-hosted web page with pure JavaScript.
JavaScript
4
star
29

Extractor

A command line based tool for downloading & extracting ZIP and TAR.GZ files. Or simply just extract them!
Python
4
star
30

Bodi

A media-center like app heavily inspired by Kodi currently built in HTML, CSS & JS (WIP)
HTML
3
star
31

Image-Fallback.js

Handle ALL images not found on your website automatically with ease!
JavaScript
3
star
32

IPTV-Parser.js

A JavaScript library to easily parse M3U / IPTV
JavaScript
3
star
33

File-Loader.js

Easily dynamically load scripts and style-sheets to HTML pages in parallel order
JavaScript
2
star
34

Conversations

A chat-bot that is community-driven and open source โ€“ powered by you! (WIP)
HTML
2
star
35

TryCatch.js

A JavaScript library to handle errors in a more structured way.
JavaScript
2
star
36

iOS-Shortcuts-Storage

Assets for iOS shortcuts will be stored here
HTML
1
star
37

GitHub-Buttons-Web-Component

GitHub Buttons as a web component - show off your stars, followers & more! โญ
JavaScript
1
star
38

GitHub-Ribbon-Web-Component

A custom web element to easily add a GitHub Fork Me ribbon to your web pages!
JavaScript
1
star
39

CBC-News-Streams.js

A JavaScript library to fetch free live TV stream URLs from CBC.ca / CBC News
JavaScript
1
star
40

Pluto-TV.js

A JavaScript library to fetch Pluto TV streams! Works in the browser!
JavaScript
1
star