简体   繁体   English

使用node.js将交互式Linux终端集成到网页中

[英]Integrating a interactive linux terminal using node.js into a webpage

I need to develop an application using node js which will run an interactive shell script ( which gets some input from the user )and the execution logs must be displayed in the same web page. 我需要使用节点js开发一个应用程序,该应用程序将运行一个交互式shell脚本(该脚本从用户那里获取一些输入),并且执行日志必须显示在同一网页中。

Can anyone please let me know how to integrate a interactive/responsive linux terminal into a web page using node.js. 任何人都可以让我知道如何使用node.js将交互式/响应式Linux终端集成到网页中。

Thanks, Divya 谢谢,Divya

If you want it to integrate terminal like feature into your webpage you can try xtrem.js. 如果您希望它将类似终端的功能集成到您的网页中,则可以尝试xtrem.js。

link: https://xtermjs.org/ 链接: https//xtermjs.org/

It easy to use and well documented. 它易于使用并且有据可查。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM