An open API service indexing awesome lists of open source software.

https://github.com/meething/ws-multisocket

WS/S Multisocket with mesh partitioning over single HTTP/S server
https://github.com/meething/ws-multisocket

meething mesh websocket wss

Last synced: 2 months ago
JSON representation

WS/S Multisocket with mesh partitioning over single HTTP/S server

Awesome Lists containing this project

README

          

mozilla-builders

#### WSS MultiSocket
Single `HTTP/S` server providing multiple ephemeral `WebSocket` instances with path based routing and mesh isolation.

### Configuration
* requires a valid set of SSL/TLS certificates _(letsencrypt)_

### Installation
```
npm install
```

### Usage
#### npm
Explode your ENV variables manually and launch using npm:
```
PORT=443 SSLKEY=/path/to/privkey.pem SSLCERT=/path/to/fullchain.pem npm start
```
#### pm2
Configure the options in `multisocket.config.js` and launch using pm2:
```
pm2 start multisocket.config.js
```

###### Credits
This project is a component of [Gun Meething](https://github.com/meething/webrtc-gun) powered by [GunDB](https://gun.eco)