Skip to content

A customizable unix terminal emulator for React on web, with customizable command that is

License

Notifications You must be signed in to change notification settings

jacobiajohnson/react-unix-terminal

 
 

Repository files navigation

react-unix-terminal

I want to build a web terminal, not a real one of course, but to simulate one with executable command

Therefore I built it, then I figure it can be published as NPM package

Hence, I published it

How do I use it?

import React from 'react';
import ReactDOM from 'react-dom';
import ReactUnixTerminal from 'react-unix-terminal';
import 'react-unix-terminal/build/style.css';

ReactDOM.render(
    <React.StrictMode>
        <ReactUnixTerminal
            user="guest"
            name="poolofdeath20"
            fontFamily="JetBrains+Mono"
            height="100vh"
            width="100%"
        />
    </React.StrictMode>,
    document.getElementById('root'),
);

Will show in web as

alt output

Can I raise an issue?

Why not? Feel free to raise an issue if you have a question, an enhancement, or a bug report.

Can I contribute

I need help for the following features 🙂

  • More usable default command

However, before contributing, I would prefer if you could

  • Use TypeScript
  • Write Test Code

Changes

Kindly refer to CHANGELOG

How to install

yarn add react-unix-terminal

OR

npm i react-unix-terminal

About

A customizable unix terminal emulator for React on web, with customizable command that is

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • TypeScript 86.8%
  • CSS 6.8%
  • JavaScript 5.0%
  • HTML 1.4%