Skip to content
프로젝트

소개

어떤 웹사이트에든 웹 기반 터미널을 만들 수 있습니다. 게임, 애니메이션 및 실제 애플리케이션에 적합합니다!

게임 및 에뮬레이션

이 수치를 측정하는 방법

What you can do

  • 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!

측정된 스타 증가

in 24h
0
in 7 days
0
in 15 days
-2
in 1 month
-3

서로 겹치는 기간의 순증가량이며 일별 합계가 아닙니다. 측정값이 없으면 비워 둡니다. 스타는 관심도를 나타내며 품질을 보장하지 않습니다.

README.md

Original

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/Termino.js@latest/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.

관련 프로젝트 살펴보기

불러오는 중…