5.3.10 • Published 4 years ago

syncloungesocket v5.3.10

Weekly downloads
3
License
MIT
Repository
github
Last release
4 years ago

SyncLounge

npm Docker Version Docker Size Docker Pulls Release Dependencies Dev Dependencies Optional Dependencies License

SyncLounge Socket Server

This is the socket server that goes along with the SyncLounge webapp. You probably want to check that out unless you just want to run this socket server, since the webapp also includes this.

This socket server can be used as just a binary or can be included as a library, like it is with the webapp

Installation

npm install -g syncloungesocket

Usage

syncloungesocket

If you want to also serve the webapp:

syncloungesocket --static_path /path/to/syncloungewebapp/dist
# OR
STATIC_PATH='/path/to/syncloungewebapp/dist' syncloungesocket

Options

All options can be provided as either environmental variables or arguments.

Port

Default is 8088

syncloungesocket --port 1234
# OR
PORT=1234 syncloungesocket

Static Path

No default. If the option isn't provided the server will not serve static files from anywhere. If it is provided, it will serve assets from the specified directory. This option is useful for users who want to run both the SyncLounge socket server and the webapp. Since the webapp is static, you can just point the static path to the dist directory of the webapp and have both apps served by this.

syncloungesocket --static_path /apps/synclounge/dist
# OR
STATIC_PATH='/apps/synclounge/dist' syncloungesocket

Base URL

Default is '/'

syncloungesocket --base_url '/somebase'
# OR
BASE_URL='/somebase' syncloungesocket

Ping Interval

Default is 10000 ms

syncloungesocket --ping_interval 10000
# OR
PING_INTERVAL=10000 syncloungesocket

Manual Building

You can also clone the repository to build it yourself or

git clone https://github.com/ttshivers/syncloungesocket.git
cd syncloungesocket
npm install
npm run build

Then you can run it

npm run start
5.3.10

4 years ago

5.3.9

4 years ago

5.3.8

4 years ago

5.3.7

4 years ago

5.3.6

4 years ago

5.3.5

4 years ago

5.3.4

4 years ago

5.3.3

4 years ago

5.3.2

4 years ago

5.3.1

4 years ago

5.3.0

4 years ago

5.2.14

4 years ago

5.2.13

4 years ago

5.2.12

4 years ago

5.2.11

4 years ago

5.2.10

4 years ago

5.2.9

4 years ago

5.2.8

4 years ago

5.2.7

4 years ago

5.2.6

4 years ago

5.2.5

4 years ago

5.2.4

4 years ago

5.2.3

4 years ago

5.2.2

4 years ago

5.2.1

4 years ago

5.2.0

4 years ago

5.1.8

4 years ago

5.1.7

4 years ago

5.1.6

4 years ago

5.1.5

4 years ago

5.1.4

4 years ago

5.1.3

4 years ago

5.1.2

4 years ago

5.1.1

4 years ago

5.1.0

4 years ago

5.0.12

4 years ago

5.0.11

4 years ago

5.0.10

4 years ago

5.0.9

4 years ago

5.0.7

4 years ago

5.0.6

4 years ago

5.0.5

4 years ago

5.0.4

4 years ago

5.0.3

4 years ago

5.0.0

4 years ago

4.2.3

4 years ago

4.2.2

4 years ago

4.2.1

4 years ago

4.2.0

4 years ago

4.0.5

4 years ago

4.0.4

4 years ago

4.1.0

4 years ago

4.0.3

4 years ago

4.0.2

4 years ago

4.0.1

4 years ago

4.0.0

4 years ago

3.2.0

4 years ago

3.1.4

4 years ago

3.1.3

4 years ago

3.1.2

4 years ago

3.1.1

4 years ago

3.0.0

4 years ago

2.0.8

4 years ago

2.0.7

4 years ago

2.0.6

4 years ago

2.0.5

4 years ago

2.0.4

4 years ago

2.0.3

4 years ago

2.0.0

4 years ago

1.0.1

4 years ago