Skip to content

Create a web socket interface for any number of language servers running in subprocesses

Notifications You must be signed in to change notification settings

wylieconlon/jsonrpc-ws-proxy

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

10 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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

About

Create a web socket interface for any number of language servers running in subprocesses

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published