Xsmael
Xsmael

Reputation: 3932

linux or windows terminal over the web

I'm planing to make a web app which will allow you to have a Linux Terminal on a web page so that you can execute any command an get the response as if you were in front of your linux terminal. I planed to use NodeJS as it is server side JavaScript, asynchronous and fast.

Also I saw this wich does exactly what i'm trying to do, I peeked in the source code, but didn't found something useful, I also analysed it with google chrome developer tools on the network tab, but there is absolutely nothing even while executing some commands and getting responses. How is this possible ? what technology do you think they used ?

So I wanted to get your advice, your experience in order to start it the right way. I firstly decided to use NodeJS, but if there is another programming language or Framework more appropriate for this kind of application please let me know.

Upvotes: 2

Views: 2847

Answers (1)

mscdex
mscdex

Reputation: 106698

If you want a real terminal in the browser using node.js on the backend, you might give tty.js a try.

Alternatively you can use the pty.js module manually which is used by tty.js. Along with that, you could also use xterm for doing the browser-side terminal emulation.

Upvotes: 1

Related Questions