NodeJS-based server software, which I made due to need of dynamic port mapping.
Find a file
2024-12-06 23:20:19 +03:00
config Upload sources for V1 2024-12-06 23:20:19 +03:00
src Upload sources for V1 2024-12-06 23:20:19 +03:00
.gitignore Upload sources for V1 2024-12-06 23:20:19 +03:00
LICENSE Initial commit 2024-12-06 20:52:05 +03:00
package.json Upload sources for V1 2024-12-06 23:20:19 +03:00
pnpm-lock.yaml Upload sources for V1 2024-12-06 23:20:19 +03:00
README.md Upload sources for V1 2024-12-06 23:20:19 +03:00
ws-client.js Upload sources for V1 2024-12-06 23:20:19 +03:00

World Wide Node

NodeJS-based server software, which I made due to need of dynamic port mapping.

Installation with PNPM

  1. pnpm i
  2. node src/server.js

Configuring

For WWN we have two files: config.json and hostconfig.json.

I've set _ objects after each value, that is the description. You can leave them as-is, or delete, it doesnt matter.

Using Config WebSocket

CWS supports two JSONs as of right now:

  1. {"command":""} - Execute a command. (currconf, prevconf, reload)
  2. {"config":""} - Update current config (also saves a backup, will get voided on full relaunch.)