2018-11-15 17:16:50 -05:00
2018-11-07 14:14:33 -05:00
2018-11-15 17:16:50 -05:00
2018-11-15 17:16:50 -05:00
2018-11-15 15:33:34 -05:00

Sets up a websocket proxy for any number of language servers.

Each server is run as a subprocess which is connected to by sending the client to the URL / based on a configuration file defined locally. For example, with the following defined as servers.yml:

langservers:
  python:
    - python
    - python-langserver.py
    - --stdio
  go:
    - /usr/local/bin/go
    - langserver.go

The client would connect to ws://localhost/python to get a python language server

Usage:

npm install
npm run prepare
node dist/server.js --port 3000 --languageServers servers.yml
S
Description
mirror for jsonrpc-ws-proxy
Readme
62 KiB
Languages
JavaScript 100%