NeosWebServers
A NeosModLoader mod for Neos VR that adds an HTTP and Websocket server to the client
Install / Use
/learn @Zetaphor/NeosWebServersREADME
Neos Web Servers
A NeosModLoader mod for Neos VR
This mod implements an HTTP web server and a Websockets server into the Neos client. This can be used to serve local copy of web apps rather than relying on a third party host and removes the need for a hosted websocket server.
This mod is largely targeted at developers who are interested in ensuring the backends for their web-enabled objects in-world can stand the test of time. Eventually domains go offline and free web hosts go down.
The web server serves content from a Webserver folder in the NeosVR installation root. This folder will need to be created manually. There are also four websocket endpoints to enable a variety of different application needs.
Installation
- Install NeosModLoader.
- Install NeosModSettings.
- Place Webservers.dll into your
nml_modsfolder. This folder should be atC:\Program Files (x86)\Steam\steamapps\common\NeosVR\nml_modsfor a default install. You can create it if it's missing, or if you launch the game once with NeosModLoader installed it will create the folder for you. - Place EmbedIO.dll, and Swan.Lite.dll into your
nml_libsfolder. This folder should be atC:\Program Files (x86)\Steam\steamapps\common\NeosVR\nml_modsfor a default install. It should have been created as part of the NeosModLoader installation. - Start the game. If you want to verify that the mod is working you can check your Neos logs.
Web Server
When the Neos client is started the web server will begin hosting any content in the Webserver folder in the NeosVR root folder.
This folder should be at C:\Program Files (x86)\Steam\steamapps\common\NeosVR\Webserver for a default install. You will need to create the folder and add any content you want served.
The server can be accessed by navigating to http://localhost:8080/
Websocket Server
There are four websocket endpoints, each behaving slightly differently to enable a wide range of applications.
Echo Server
This is a simple echo server that will repeat back any messages it receives to the sender.
This endpoint can be accessed by connecting your websocket client to ws://localhost:8080/echo
Chat Server
This endpoint is intended to act as a shared messaging bus. Any message sent to it will broadcast to all other connected clients. The sender does not receive a copy of the sent message.
This endpoint can be accessed by connecting your websocket client to ws://localhost:8080/chat
Chat Echo Server
This endpoint is identical to the Chat Server endpoint, except it sends the input back to the receiver in addition to broadcasting to all connected clients.
This endpoint can be accessed by connecting your websocket client to ws://localhost:8080/chat-echo
Chat ID Server
This endpoint is similar to the Chat Server, except each client is assigned a unique identifier which is valid for the duration of the websocket connection.
This allows you to distinguish between different connected clients to enable more of a direct messaging system.
All clients will receive a connected and disconnected message whenever a client opens or closes a connection. The connected message is sent to the connecting client as well.
Each message is prefixed with the connection ID separated by a pipe operator ( | ) for easy parsing.
Example:
3CqoZKBIWUyjmSITygRFZw|connected (Received on connection and broadcast to all other clients)
3CqoZKBIWUyjmSITygRFZw|Some example data (Received in reply to sending data and broadcast to all other clients)
o5MkHrV34k+5LfY6Q4zHag|I saw your data! (Received in reply to sending data and broadcast to all other clients)
This endpoint can be accessed by connecting your websocket client to ws://localhost:8080/chat-id
Related Skills
node-connect
339.5kDiagnose OpenClaw node connection and pairing failures for Android, iOS, and macOS companion apps
frontend-design
83.9kCreate distinctive, production-grade frontend interfaces with high design quality. Use this skill when the user asks to build web components, pages, or applications. Generates creative, polished code that avoids generic AI aesthetics.
openai-whisper-api
339.5kTranscribe audio via OpenAI Audio Transcriptions API (Whisper).
commit-push-pr
83.9kCommit, push, and open a PR
