sockii

HTTP and WebSocket aggregation thin layer

Usage no npm install needed!

<script type="module">
  import sockii from 'https://cdn.skypack.dev/sockii';
</script>

README

sockii

Build Status

HTTP and WebSocket aggregation thinlayer, which acts as a proxy between a frontend UI and multiple backend HTTP services.

See this blog post for more info.

Installing

Install it via npm:

npm install -g sockii

Or by downloading the repository and building it with npm:

git checkout https://github.com/serverdensity/sockii.git
cd sockii
npm install

Usage

The documentation is a work in progress, but for now you can look at the example config for pointers on how to configure the app.

Basic usage, if system installed:

cd $MYAPPDIR
sockii --help
sockii -c ./myapp.json

If using a local build:

cd sockii
./bin/sockii --help
./bin/sockii -c $MYAPPDIR/myapp.json