[英]Is it possible to write a web server running in a modern browser such as Chrome, Firefox, IE, Safari?
In the Substratum Initial Coin Offering (ICO), the White Paper talks about solving problems of the current Internet, by allowing hosts to become web hosts.在 Substratum 初始代币发行 (ICO) 中, 白皮书讨论了通过允许主机成为网络主机来解决当前互联网的问题。
Based on reading of the White Paper, the team looks like they're intending to write Javascript that runs on any modern browser (IE, Safari, Chrome, Firefox) on any platform (Windows, Linux, etc) to turn it into a web server.根据对白皮书的阅读,该团队似乎打算编写可在任何平台(Windows、Linux 等)上的任何现代浏览器(IE、Safari、Chrome、Firefox)上运行的 Javascript,以将其转变为 Web服务器。
As the White Paper is very general, I'm not sure if the team's Javascript is also having some form of access to uPnP technology that tells the nearest router to forward port 80 into the (supposed) web browser that's running on the web server.由于白皮书非常笼统,我不确定该团队的 Javascript 是否也可以某种形式访问 uPnP 技术,该技术告诉最近的路由器将端口 80 转发到在 Web 服务器上运行的(假设)Web 浏览器。
Does anyone familiar with current web browsers know if browsers are capable of:熟悉当前网络浏览器的人是否知道浏览器是否能够:
Thank you.谢谢。 (I'm familiar with general programming, just not capabilities of current web browsers. Please limit responses to capabilities of web browsers)
(我熟悉一般编程,只是不熟悉当前网络浏览器的功能。请限制对网络浏览器功能的响应)
There are a few JavaScript libraries that implement a web server in a browser, such as nohost .有一些 JavaScript 库可以在浏览器中实现 Web 服务器,例如nohost 。 It's based on the filer JavaScript library, so it can handle file requests.
它基于filer JavaScript 库,因此可以处理文件请求。
It might be possible to run a Linux server in a browser using an x86 emulator in JavaScript , though I have not yet seen a demonstration of this.使用JavaScript 中的x86 模拟器在浏览器中运行 Linux 服务器是可能的,尽管我还没有看到这方面的演示。
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.