17 lines
602 B
Markdown
17 lines
602 B
Markdown
# 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.)
|