NY_WebServerPlugIn

RemoteSkin for web uses a lightweight web server that serves static HTML pages and files such as images and videos.

When the browser connects to a nyssr.net node, a static HTML page is delivered, forming the framework of the application. Typically, this includes a header, footer, and other static elements.

A key component is a JavaScript kernel that establishes a WebSocket connection to the node. This connection is critical for nyssr.net single-page web applications. Through this interface, the node network communicates directly with the DOM of the webpage in the browser.

Configuration

Add a new configuration file:

# nyssr.net
preference.node.name = webserver
preference.node.clear.first = true
preference.key.overwrite.existing = true

# payload
port = 8086
# a relative path in the nodes storage folder, see downloaded configuration of the node "moon":
webroot = webroot