最新消息:雨落星辰是一个专注网站SEO优化、网站SEO诊断、搜索引擎研究、网络营销推广、网站策划运营及站长类的自媒体原创博客

Creating an online CMDTerminal using JavaScript - Stack Overflow

programmeradmin2浏览0评论

I would like to deploy a CMD/Terminal for a website using javascript. A CMD maybe just for running python and other basic mands. How should I go about doing so? Are there any examples? And is JavaScript the best way to go about doing this? Thanks!

I would like to deploy a CMD/Terminal for a website using javascript. A CMD maybe just for running python and other basic mands. How should I go about doing so? Are there any examples? And is JavaScript the best way to go about doing this? Thanks!

Share Improve this question asked Apr 28, 2012 at 1:49 user1349133user1349133 412 silver badges7 bronze badges 0
Add a ment  | 

2 Answers 2

Reset to default 5

Termlib is what you are looking for I guess. It provides a "Terminal" object and you can extend it according to your requirement.

Demos could be found here

Examples: Anyterm, Ajaxterm

You could also use ssh if your firewall / site setup will allow it.

Or you could use vnc to get gui access, if you run a gui on your servers.

I think the best way to get access is either ssh or vnc. If you use Windows servers then remote desktop.

The main reason I could see for using a javascript based in browser UI would be if a firewall between you and the server won't allow ssh and you don't want to or can't configure vnc on the machines involved.

Finally, a really nice looking example of this kind of access on a web site is at... koding. I saw these guys at the SFJS Meetup a few months back.

发布评论

评论列表(0)

  1. 暂无评论